azure-ddns: migrate to envFrom with a per-container InfisicalSecret

Also moves the manifests into a component directory, matching the other migrated apps.
This commit is contained in:
2026-08-23 22:42:09 +02:00
parent c408522988
commit 0329546d87
4 changed files with 36 additions and 73 deletions
+31
View File
@@ -0,0 +1,31 @@
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: azure-ddns
namespace: azure-ddns
spec:
replicas: 1
selector:
matchLabels:
app: azure-ddns
serviceName: azure-ddns
template:
metadata:
labels:
app: azure-ddns
spec:
terminationGracePeriodSeconds: 60
containers:
- name: azure-ddns
image: gitea.jsme.be/jeffrey/azure-ddns-python:1.1
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 200m
memory: 256Mi
envFrom:
- secretRef:
name: azure-ddns-app-secrets
restartPolicy: Always