apiVersion: apps/v1 kind: Deployment metadata: name: httpd-deployment spec: replicas: 2 selector: matchLabels: app: httpd template: metadata: labels: app: httpd annotations: annotations_app: annotations_httpd spec: containers: - name: httpd image: {{.HttpdNewImage}} ports: - containerPort: 80