Skip to content

Commit

Permalink
support of PV storage annotation and class name. Set version to 1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
thr authored and thr committed Jul 17, 2024
1 parent 1d6ef11 commit f283464
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion universalmessaging/helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.4
version: 1.0.5

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
1 change: 1 addition & 0 deletions universalmessaging/helm/README.md.gotmpl
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,6 @@ helm install um webmethods/universalmessaging
| `1.0.3` | Make license file handling same as MSR |
| `1.0.4` | CRD `ServiceMonitor` added |
| `1.0.4` | `containerName` added in `values.yaml`. Default is the Chart name. (Use `helm repo update` to get latest Helm Chart version.) |
| `1.0.5` | support of PV storage annotation and class name |

{{ template "chart.valuesSection" . }}
17 changes: 16 additions & 1 deletion universalmessaging/helm/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,25 +183,40 @@ spec:
volumeClaimTemplates:
- metadata:
name: data
{{- with .Values.storage.data.annotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.storage.dataSize }}
storageClassName: {{ .Values.storage.data.storageClassName | quote }}
- metadata:
name: logs
{{- with .Values.storage.logs.annotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.storage.logsSize }}
storageClassName: {{ .Values.storage.logs.storageClassName | quote }}
- metadata:
name: configuration
{{- with .Values.storage.configuration.annotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: {{ .Values.storage.configurationSize }}
storage: {{ .Values.storage.configurationSize }}
storageClassName: {{ .Values.storage.configuration.storageClassName | quote }}
16 changes: 16 additions & 0 deletions universalmessaging/helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,22 @@ storage:
# -- Storage size of configuration files
configurationSize: 2Mi

logs:
# -- Annotation for logs
annotations: {}
# -- Storage class name for logs
storageClassName: ""
data:
# -- Annotation for data
annotations: {}
# -- Storage class name for data
storageClassName: ""
configuration:
# -- Annotation for data
annotations: {}
# -- Storage class name for data
storageClassName: ""

ingress:
# -- Enable or disable Ingress, default is disabled. On enabling Ingress, only the first `-0` replica is currently supported.
enabled: false
Expand Down

0 comments on commit f283464

Please sign in to comment.