apiVersion: apps/v1 kind: Deployment metadata: name: territory-autobattler-auth namespace: territory-autobattler labels: app: territory-autobattler-auth spec: replicas: 2 selector: matchLabels: app: territory-autobattler-auth template: metadata: labels: app: territory-autobattler-auth spec: containers: - name: territory-autobattler-auth image: territory-autobattler-auth:latest imagePullPolicy: IfNotPresent ports: - containerPort: 8080 envFrom: - configMapRef: name: territory-autobattler-auth-config - secretRef: name: territory-autobattler-auth-secrets readinessProbe: httpGet: path: /healthz port: 8080 initialDelaySeconds: 5 periodSeconds: 10