2017-07-16 11:29:46 +02:00
|
|
|
apiVersion: batch/v1
|
|
|
|
kind: Job
|
|
|
|
metadata:
|
|
|
|
name: dnscrypt-init
|
|
|
|
spec:
|
|
|
|
template:
|
|
|
|
metadata:
|
|
|
|
name: dnscrypt-init
|
|
|
|
spec:
|
|
|
|
containers:
|
|
|
|
- name: dnscrypt-init
|
2019-10-29 13:39:46 +01:00
|
|
|
image: jedisct1/dnscrypt-server
|
2021-01-18 00:31:49 +01:00
|
|
|
command: ["/entrypoint.sh", "init", "-A", "-M", "0.0.0.0:9100", "-N", "example.com", "-E", "192.0.2.53:443"]
|
2017-07-16 11:29:46 +02:00
|
|
|
volumeMounts:
|
|
|
|
- name: dnscrypt-keys
|
2019-09-22 15:38:22 +02:00
|
|
|
mountPath: /opt/encrypted-dns/etc/keys
|
2017-07-16 11:29:46 +02:00
|
|
|
restartPolicy: Never
|
|
|
|
volumes:
|
|
|
|
- name: dnscrypt-keys
|
|
|
|
gcePersistentDisk:
|
|
|
|
pdName: dnscrypt-keys
|
|
|
|
fsType: ext4
|