Skip to content

Commit af6b7c3

Browse files
authored
Merge pull request #20 from realkiessla/master
Fix pod anti affinity using wrong labels
2 parents 656a1ab + b78cd05 commit af6b7c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/statefullset.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,8 @@ spec:
133133
- topologyKey: kubernetes.io/hostname
134134
labelSelector:
135135
matchLabels:
136-
app.kubernetes.io/component: {{ .Release.Name }}
137-
app.kubernetes.io/instance: {{ .Release.Name }}
136+
app: {{ template "openldap.fullname" . }}
137+
release: {{ .Release.Name }}
138138
{{- with .Values.tolerations }}
139139
tolerations:
140140
{{ toYaml . | indent 8 }}

0 commit comments

Comments
 (0)