mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-18 10:43:15 +00:00
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:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user