From c4b5724b5f6319c571fa5ccedfb7213f0d0fb773 Mon Sep 17 00:00:00 2001 From: D Ther Date: Thu, 2 Feb 2023 22:34:47 +0700 Subject: [PATCH] fix(vault): vault values cannot pass to helm template --- add-ons/vault/values.yaml | 7 ++++++- chart/templates/vault.yaml | 3 ++- chart/values.yaml | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) diff --git a/add-ons/vault/values.yaml b/add-ons/vault/values.yaml index 16c9b1bf..a7f3c75a 100644 --- a/add-ons/vault/values.yaml +++ b/add-ons/vault/values.yaml @@ -1,2 +1,7 @@ # for details on all options -# https://github.com/hashicorp/vault-helm/blob/main/values.yaml \ No newline at end of file +# https://github.com/hashicorp/vault-helm/blob/main/values.yaml +vault: + global: + # enabled is the master enabled switch. Setting this to true or false + # will enable or disable all the components within this chart by default. + enabled: true \ No newline at end of file diff --git a/chart/templates/vault.yaml b/chart/templates/vault.yaml index da6814c3..a4c200fa 100644 --- a/chart/templates/vault.yaml +++ b/chart/templates/vault.yaml @@ -14,7 +14,8 @@ spec: targetRevision: {{ .Values.targetRevision }} helm: values: | - {{- toYaml .Values.vault | nindent 8 }} + vault: + {{- toYaml .Values.vault | nindent 10 }} destination: server: https://kubernetes.default.svc namespace: vault diff --git a/chart/values.yaml b/chart/values.yaml index 98c13090..671b956c 100644 --- a/chart/values.yaml +++ b/chart/values.yaml @@ -111,6 +111,9 @@ grafana: # Vault default Values vault: enable: false + server: + dataStorage: + enabled: true # Karpenter Values karpenter: