template/deployments/kustomize/overlays/production/deployment.yaml (17 lines of code) (raw):

apiVersion: apps/v1 kind: Deployment metadata: name: {{ .Config.GetVariableValue "APPNAME" }} labels: app.kubernetes.io/name: {{ .Config.GetVariableValue "APPNAME" }} kubernetes.azure.com/generator: {{ .Config.GetVariableValue "GENERATORLABEL"}} namespace: {{ .Config.GetVariableValue "NAMESPACE" }} spec: selector: matchLabels: app.kubernetes.io/name: {{ .Config.GetVariableValue "APPNAME" }} template: spec: containers: - name: {{ .Config.GetVariableValue "APPNAME" }} image: {{ .Config.GetVariableValue "IMAGENAME" }}:{{ .Config.GetVariableValue "IMAGETAG" }}