Skip to content

Commit

Permalink
Merge pull request #113 from jaredallard/patch-1
Browse files Browse the repository at this point in the history
feat: allow Vault address to be specified in .Values.environmentVars
  • Loading branch information
ricoberger authored Jun 16, 2021
2 parents d06b749 + 476405e commit 7bf173a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions charts/vault-secrets-operator/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,10 @@ spec:
{{- else }}
value: ""
{{- end }}
{{- if .Values.vault.address }}
- name: VAULT_ADDRESS
value: {{ .Values.vault.address | quote }}
{{- end }}
- name: VAULT_AUTH_METHOD
value: {{ .Values.vault.authMethod | quote }}
- name: VAULT_TOKEN_PATH
Expand Down
2 changes: 1 addition & 1 deletion charts/vault-secrets-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ environmentVars: []
# will watch all namespaces. If the value is empty and rbac.namespaced is set to
# true, then the namespace of the release will be used.
vault:
address: "http://vault:8200"
address: ""
authMethod: token
tokenPath: ""
kubernetesPath: auth/kubernetes
Expand Down

0 comments on commit 7bf173a

Please sign in to comment.