Skip to content

Commit f3360e9

Browse files
committed
CSPL-4022 Fix helm tests
1 parent 1533540 commit f3360e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

helm-chart/splunk-enterprise/templates/enterprise_v4_indexercluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ items:
147147
{{ toYaml . | indent 6 }}
148148
{{- end }}
149149
{{- end }}
150-
{{- if and ($.Values.sva.m4.enabled) (.name) }}
150+
{{- if and ($.Values.sva.m4.enabled) (.zone) }}
151151
affinity:
152152
nodeAffinity:
153153
requiredDuringSchedulingIgnoredDuringExecution:
@@ -156,7 +156,7 @@ items:
156156
- key: topology.kubernetes.io/zone
157157
operator: In
158158
values:
159-
- {{ .name }}
159+
- {{ .zone }}
160160
{{- else }}
161161
{{- with $.Values.indexerCluster.affinity }}
162162
affinity:

0 commit comments

Comments
 (0)