apiVersion: apps/v1 kind: Deployment metadata: name: guard-service namespace: birbnetes labels: app: guard-service spec: replicas: 1 selector: matchLabels: app: guard-service strategy: type: Recreate template: metadata: labels: app: guard-service spec: containers: - name: guard-service image: registry.kmlabz.com/birbnetesgit/guard-service envFrom: - configMapRef: name: guard-service imagePullSecrets: - name: regcred