mirror of
https://github.com/dnscrypt/dnscrypt-server-docker
synced 2024-11-22 19:42:03 +01:00
34 lines
725 B
YAML
34 lines
725 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Deployment
|
|
metadata:
|
|
namespace: default
|
|
labels:
|
|
service: dnscrypt
|
|
name: dnscrypt
|
|
spec:
|
|
strategy:
|
|
type: Recreate
|
|
replicas: 1
|
|
template:
|
|
metadata:
|
|
labels:
|
|
service: dnscrypt
|
|
spec:
|
|
containers:
|
|
- env:
|
|
image: jedisct1/dnscrypt-server
|
|
name: dnscrypt
|
|
volumeMounts:
|
|
- name: dnscrypt-keys
|
|
mountPath: /opt/encrypted-dns/etc/keys
|
|
command: ["/entrypoint.sh", "start"]
|
|
resources:
|
|
requests:
|
|
memory: "1Gi"
|
|
restartPolicy: Always
|
|
volumes:
|
|
- name: dnscrypt-keys
|
|
gcePersistentDisk:
|
|
pdName: dnscrypt-keys
|
|
fsType: ext4
|