Skip to content

Commit

Permalink
Merge branch 'NET-581-Configure-Vault-namespaces-for-Connect-CA-via-H…
Browse files Browse the repository at this point in the history
…elm-Stanza' of ssh://github.com/hashicorp/consul-k8s into NET-581-Configure-Vault-namespaces-for-Connect-CA-via-Helm-Stanza
  • Loading branch information
absolutelightning committed Sep 4, 2023
2 parents ed1026e + 1f3e23a commit 825fb42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/consul/templates/server-config-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ data:
"ca_file": "/consul/vault-ca/tls.crt",
{{- end }}
"intermediate_pki_path": "{{ .connectCA.intermediatePKIPath }}",
{{- if .vaultNamespace }}
{{- if (and (.vaultNamespace) (not (hasKey (default "" .connectCA.additionalConfig | fromJson) "namespace"))) }}
"namespace": "{{ .vaultNamespace }}",
{{- end }}
"root_pki_path": "{{ .connectCA.rootPKIPath }}",
Expand Down
2 changes: 1 addition & 1 deletion charts/consul/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ global:
secretsBackend:
vault:
# Vault namespace (optional). This sets the Vault namespace for the `vault.hashicorp.com/namespace`
# agent annotation and [Vault Connect CA configuration](https://developer.hashicorp.com/consul/docs/connect/ca/vault#namespace).
# agent annotation and [Vault Connect CA namespace](https://developer.hashicorp.com/consul/docs/connect/ca/vault#namespace).
# To override one of these values individually, see `agentAnnotations` and `connectCA.additionalConfig`.
vaultNamespace: ""

Expand Down

0 comments on commit 825fb42

Please sign in to comment.