mirror of
https://github.com/timothymiller/cloudflare-ddns.git
synced 2026-03-21 22:48:57 -03:00
ADDED env Variable CONFIG_PATH for Kubernetes secret
This commit is contained in:
33
examples/k8s/cloudflare-ddns-Deployment.yaml
Normal file
33
examples/k8s/cloudflare-ddns-Deployment.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: cloudflate-ddns
|
||||
spec:
|
||||
selector:
|
||||
matchLabels:
|
||||
app: cloudflate-ddns
|
||||
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: cloudflate-ddns
|
||||
|
||||
spec:
|
||||
containers:
|
||||
- name: cloudflate-ddns
|
||||
image: quay.io/arpagon/cloudflare-ddns:v1.0.0
|
||||
resources:
|
||||
limits:
|
||||
memory: "32Mi"
|
||||
cpu: "50m"
|
||||
env:
|
||||
- name: CONFIG_PATH
|
||||
value: "/etc/cloudflare-ddns/"
|
||||
volumeMounts:
|
||||
- mountPath: "/etc/cloudflare-ddns"
|
||||
name: config-cloudflare-ddns
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: config-cloudflare-ddns
|
||||
secret:
|
||||
secretName: config-cloudflare-ddns
|
||||
Reference in New Issue
Block a user