From a28c7e7fdee30f0acf343a86051f4f3acf139d70 Mon Sep 17 00:00:00 2001 From: chemavx Date: Thu, 26 Mar 2026 17:03:09 +0000 Subject: [PATCH] Add cloudflare-ddns/deployments.yaml --- cloudflare-ddns/deployments.yaml | 63 ++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 cloudflare-ddns/deployments.yaml diff --git a/cloudflare-ddns/deployments.yaml b/cloudflare-ddns/deployments.yaml new file mode 100644 index 0000000..08db841 --- /dev/null +++ b/cloudflare-ddns/deployments.yaml @@ -0,0 +1,63 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + annotations: + deployment.kubernetes.io/revision: '1' + name: cloudflare-ddns + namespace: cloudflare-ddns +spec: + progressDeadlineSeconds: 600 + replicas: 1 + revisionHistoryLimit: 10 + selector: + matchLabels: + app: cloudflare-ddns + strategy: + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% + type: RollingUpdate + template: + metadata: + labels: + app: cloudflare-ddns + spec: + containers: + - env: + - name: CF_API_TOKEN + valueFrom: + secretKeyRef: + key: CF_API_TOKEN + name: cloudflare-ddns-secret + - name: DOMAINS + value: chemavx.xyz,n8n.chemavx.xyz,openclaw.chemavx.xyz + - name: PROXIED + value: 'false' + - name: UPDATE_CRON + value: '@every 5m' + image: favonia/cloudflare-ddns:latest + imagePullPolicy: Always + name: cloudflare-ddns + resources: + limits: + cpu: 50m + memory: 64Mi + requests: + cpu: 10m + memory: 32Mi + securityContext: + allowPrivilegeEscalation: false + capabilities: + drop: + - ALL + readOnlyRootFilesystem: true + runAsNonRoot: true + runAsUser: 1000 + terminationMessagePath: /dev/termination-log + terminationMessagePolicy: File + dnsPolicy: ClusterFirst + restartPolicy: Always + schedulerName: default-scheduler + securityContext: {} + terminationGracePeriodSeconds: 30 +