[helm] Allow setting notification.toml config (#6159)

* [helm] Allow setting notification.toml config

* [helm] Set notification config conditionally
This commit is contained in:
Davide Calabrese
2024-10-23 22:27:38 +02:00
committed by GitHub
parent 73921ce4f6
commit a3b97bfe03
3 changed files with 43 additions and 0 deletions

View File

@@ -234,6 +234,12 @@ spec:
- name: data-filer
mountPath: /data
{{- end }}
{{- if .Values.filer.notificationConfig }}
- name: notification-config
readOnly: true
mountPath: /etc/seaweedfs/notification.toml
subPath: notification.toml
{{- end }}
{{- if .Values.global.enableSecurity }}
- name: security-config
readOnly: true
@@ -349,6 +355,11 @@ spec:
secretName: seaweedfs-s3-secret
{{- end }}
{{- end }}
{{- if .Values.filer.notificationConfig }}
- name: notification-config
configMap:
name: {{ template "seaweedfs.name" . }}-notification-config
{{- end }}
{{- if .Values.global.enableSecurity }}
- name: security-config
configMap: