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:
@@ -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
|
||||
Reference in New Issue
Block a user