Skip to content

Commit

Permalink
Fix serviceNames based on additionalHeadless
Browse files Browse the repository at this point in the history
  • Loading branch information
dmotte authored Sep 30, 2024
1 parent 4f43196 commit ab2756d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bitnami/thanos/templates/receive/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ spec:
{{- end }}
revisionHistoryLimit: {{ .Values.receive.revisionHistoryLimit }}
podManagementPolicy: {{ .Values.receive.podManagementPolicy }}
{{- if .Values.receive.service.additionalHeadless }}
serviceName: {{ include "thanos.receive.fullname" . }}-headless
{{- end }}
{{- if .Values.receive.updateStrategy }}
updateStrategy: {{- toYaml .Values.receive.updateStrategy | nindent 4 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions bitnami/thanos/templates/ruler/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ spec:
{{- end }}
revisionHistoryLimit: {{ .Values.ruler.revisionHistoryLimit }}
podManagementPolicy: {{ .Values.ruler.podManagementPolicy }}
{{- if .Values.ruler.service.additionalHeadless }}
serviceName: {{ include "thanos.ruler.fullname" . }}-headless
{{- end }}
{{- if .Values.ruler.updateStrategy }}
updateStrategy: {{- toYaml .Values.ruler.updateStrategy | nindent 4 }}
{{- end }}
Expand Down
2 changes: 2 additions & 0 deletions bitnami/thanos/templates/storegateway/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ spec:
{{- end }}
revisionHistoryLimit: {{ .Values.storegateway.revisionHistoryLimit }}
podManagementPolicy: {{ .Values.storegateway.podManagementPolicy }}
{{- if .Values.storegateway.service.additionalHeadless }}
serviceName: {{ include "thanos.storegateway.fullname" . }}-headless
{{- end }}
{{- if .Values.storegateway.updateStrategy }}
updateStrategy: {{- toYaml .Values.storegateway.updateStrategy | nindent 4 }}
{{- end }}
Expand Down

0 comments on commit ab2756d

Please sign in to comment.