Skip to content

Commit

Permalink
Merge pull request #103 from SoftwareAG/dev-msr-thr
Browse files Browse the repository at this point in the history
UM: make it backward compatible regarding storage class name
  • Loading branch information
thomas-2020 authored Jul 18, 2024
2 parents 110a58e + c67edce commit f0722ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion universalmessaging/helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,9 @@ spec:
resources:
requests:
storage: {{ .Values.storage.dataSize }}
{{- if .Values.storage.data.storageClassName }}
storageClassName: {{ .Values.storage.data.storageClassName | quote }}
{{- end }}
- metadata:
name: logs
{{- with .Values.storage.logs.annotations }}
Expand All @@ -206,7 +208,9 @@ spec:
resources:
requests:
storage: {{ .Values.storage.logsSize }}
{{- if .Values.storage.logs.storageClassName }}
storageClassName: {{ .Values.storage.logs.storageClassName | quote }}
{{- end }}
- metadata:
name: configuration
{{- with .Values.storage.configuration.annotations }}
Expand All @@ -219,4 +223,6 @@ spec:
resources:
requests:
storage: {{ .Values.storage.configurationSize }}
storageClassName: {{ .Values.storage.configuration.storageClassName | quote }}
{{- if .Values.storage.configuration.storageClassName }}
storageClassName: {{ .Values.storage.configuration.storageClassName | quote }}
{{- end }}

0 comments on commit f0722ef

Please sign in to comment.