|
|
|
@ -258,18 +258,18 @@ metadata:
|
|
|
|
|
labels:
|
|
|
|
|
{{- include "<CHARTNAME>.labels" . | nindent 4 }}
|
|
|
|
|
spec:
|
|
|
|
|
{{- if not .Values.autoscaling.enabled }}
|
|
|
|
|
{{- if not .Values.autoscaling.enabled }}
|
|
|
|
|
replicas: {{ .Values.replicaCount }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
selector:
|
|
|
|
|
matchLabels:
|
|
|
|
|
{{- include "<CHARTNAME>.selectorLabels" . | nindent 6 }}
|
|
|
|
|
template:
|
|
|
|
|
metadata:
|
|
|
|
|
{{- with .Values.podAnnotations }}
|
|
|
|
|
{{- with .Values.podAnnotations }}
|
|
|
|
|
annotations:
|
|
|
|
|
{{- toYaml . | nindent 8 }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
labels:
|
|
|
|
|
{{- include "<CHARTNAME>.selectorLabels" . | nindent 8 }}
|
|
|
|
|
spec:
|
|
|
|
|