Browse Source

Helm-Chart: Make MySQL credentials optional (#5583)

pull/5584/head
Gregor Tudan 7 months ago
committed by GitHub
parent
commit
b7d184c740
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      k8s/charts/seaweedfs/templates/filer-statefulset.yaml

2
k8s/charts/seaweedfs/templates/filer-statefulset.yaml

@ -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 }}

Loading…
Cancel
Save