1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 23:51:59 +01:00
dnscrypt-server-docker/kube/dnscrypt-init-job.yml

24 lines
637 B
YAML
Raw Normal View History

apiVersion: batch/v1
kind: Job
metadata:
name: dnscrypt-init
spec:
template:
metadata:
name: dnscrypt-init
spec:
containers:
- name: dnscrypt-init
image: zquestz/dnscrypt-server:latest
imagePullPolicy: Always
command: ["/entrypoint.sh", "init", "-A", "-M", "0.0.0.0:9100", "-N", "example.com", "-E", "127.0.0.1:5443"]
volumeMounts:
- name: dnscrypt-keys
mountPath: /opt/encrypted-dns/etc/keys
restartPolicy: Never
volumes:
- name: dnscrypt-keys
gcePersistentDisk:
pdName: dnscrypt-keys
fsType: ext4