{{/* vim: set filetype=mustache: */}} {{- include "common.deployment" (list . .Values .Values.autoscaling .Values.serviceAccount ".deployment") }} {{- define ".deployment" -}} spec: template: spec: containers: - {{- include "common.container" (append . ".container") | nindent 8 }} {{- end }} {{- define ".container" -}} ports: - name: http containerPort: 80 protocol: TCP livenessProbe: httpGet: path: / port: http readinessProbe: httpGet: path: / port: http {{- end }}