|
@ -8,6 +8,9 @@ spec: |
|
|
{{- if not .Values.autoscaling.enabled }} |
|
|
{{- if not .Values.autoscaling.enabled }} |
|
|
replicas: {{ .Values.replicaCount }} |
|
|
replicas: {{ .Values.replicaCount }} |
|
|
{{- end }} |
|
|
{{- end }} |
|
|
|
|
|
{{- if (eq .Values.postfix.kind "StatefulSet") }} |
|
|
|
|
|
serviceName: {{ include "postfix.fullname" . }} |
|
|
|
|
|
{{- end }} |
|
|
selector: |
|
|
selector: |
|
|
matchLabels: |
|
|
matchLabels: |
|
|
{{- include "postfix.selectorLabels" . | nindent 6 }} |
|
|
{{- include "postfix.selectorLabels" . | nindent 6 }} |
|
|