Also moves the manifests into a component directory, matching the other migrated apps.
32 lines
691 B
YAML
Executable File
32 lines
691 B
YAML
Executable File
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
|