From cc475c2fcb07e4e95d9a8730f1210951b5e7cc01 Mon Sep 17 00:00:00 2001 From: Junwei Zhao Date: Mon, 18 Mar 2024 20:33:00 +1100 Subject: [PATCH] Start setting up junv.cc --- home-apps/ddns.yaml | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/home-apps/ddns.yaml b/home-apps/ddns.yaml index 83adf91..8b444b8 100644 --- a/home-apps/ddns.yaml +++ b/home-apps/ddns.yaml @@ -77,3 +77,44 @@ spec: limits: cpu: 40m memory: 128Mi + +---- + +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ddns-junv-cc + namespace: home-apps +spec: + revisionHistoryLimit: 2 + selector: + matchLabels: + app: ddns-junv-cc + replicas: 1 + template: + metadata: + labels: + app: ddns-junv-cc + spec: + containers: + - name: ddns-junv-cc + image: joshuamorris3/namecheap-ddns-update + env: + - name: NC_DDNS_PASS + valueFrom: + secretKeyRef: + name: namecheap-password + key: password + - name: DOMAIN + value: junv.cc + - name: SUBDOMAINS + value: "@,*" + - name: INTERVAL + value: "60s" + resources: + requests: + cpu: 20m + memory: 64Mi + limits: + cpu: 40m + memory: 128Mi