add kms environment variables support in helm chart (#2552)

Co-authored-by: loverustfs <hello@rustfs.com>
Co-authored-by: houseme <housemecn@gmail.com>
This commit is contained in:
majinghe
2026-04-16 10:43:54 +08:00
committed by GitHub
parent b2b92de26c
commit 4615791193
4 changed files with 33 additions and 2 deletions
+14
View File
@@ -82,3 +82,17 @@ data:
RUSTFS_SCANNER_IDLE_MODE: {{ .idle_mode | quote }}
{{- end }}
{{- end }}
{{- if .Values.config.rustfs.kms.enabled }}
{{- if eq .Values.config.rustfs.kms.type "vault" }}
{{- with .Values.config.rustfs.kms.vault }}
RUSTFS_KMS_ENABLE: "true"
RUSTFS_KMS_BACKEND: {{ .vault_backend | quote }}
RUSTFS_KMS_VAULT_ADDRESS: {{ .vault_address | quote }}
RUSTFS_KMS_VAULT_TOKEN: {{ .vault_token | quote }}
RUSTFS_KMS_DEFAULT_KEY_ID: {{ .default_key | quote }}
{{- if eq .vault_backend "vault-transit" }}
RUSTFS_KMS_VAULT_MOUNT_PATH: {{ .vault_mount_path | quote }}
{{- end }}
{{- end }}
{{- end }}
{{- end }}