Helm-Chart: Make MySQL credentials optional (#5583)
This commit is contained in:
@@ -84,11 +84,13 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: secret-seaweedfs-db
|
name: secret-seaweedfs-db
|
||||||
key: user
|
key: user
|
||||||
|
optional: true
|
||||||
- name: WEED_MYSQL_PASSWORD
|
- name: WEED_MYSQL_PASSWORD
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: secret-seaweedfs-db
|
name: secret-seaweedfs-db
|
||||||
key: password
|
key: password
|
||||||
|
optional: true
|
||||||
- name: SEAWEEDFS_FULLNAME
|
- name: SEAWEEDFS_FULLNAME
|
||||||
value: "{{ template "seaweedfs.name" . }}"
|
value: "{{ template "seaweedfs.name" . }}"
|
||||||
{{- if .Values.filer.extraEnvironmentVars }}
|
{{- if .Values.filer.extraEnvironmentVars }}
|
||||||
|
|||||||
Reference in New Issue
Block a user