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