Open omerlh opened 4 years ago
You could play with values by overriding it here:
https://github.com/hashicorp/vault-helm/blob/master/templates/server-statefulset.yaml#L104 and https://github.com/hashicorp/vault-helm/blob/master/templates/server-statefulset.yaml#L88
Basically cluster address is needed, vault_addr is only for local stuff. Cluster address is for remote connections ...
Yeah, I figured - I can open a PR, but I don't see how i can do without it
Here is commit that allows configurable VAULT_API_ADDR so might build on that and PR https://github.com/rayisbadat/vault-helm/commit/e218a687c98318bc0209570504a90f07959278f8
+1 Standby pods cannot reach the master and the environment variable takes precedence over the value in the configuration file
Bumping this - Multiple PRs have been created regarding this, can we approve and merge one of them please?
I think this is resolved in https://github.com/hashicorp/vault-helm/pull/709
I seem to still not be able to override these values in current helm chart, i am trying to bind a static internal IP in a VPC on gcp, but it still defaults to $POD_IP envar after setting it to the internal IP, did i miss something?
Is your feature request related to a problem? Please describe. Right now those values are set to the internal pod dns, e.g..
https://vault-0.vault-internal:8201
. While this works, I am trying to set up Vault over multiple clusters, using internal loadbalancer.I tried to set the value in the config:
But it seems this is being overridden by the environment variable:
==> Vault server configuration: GCP KMS Crypto Key: <> GCP KMS Key Ring: <> GCP KMS Project: <> GCP KMS Region: global Seal Type: gcpckms Api Address: http://:8200
Cgo: disabled
Cluster Address: https://vault-0.vault-internal:8201
Listener 1: tcp (addr: "[::]:8200", cluster address: "[::]:8201", max_reques
t_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
Log Level: info
Mlock: supported: true, enabled: false
Recovery Mode: false
Storage: gcs (HA available)
Version: Vault v1.4.2
Describe the solution you'd like Allow to override those values using
values.yaml
, e.g. by settingserver.clusterAddress
andsever.address
, or even to disable the env var, so the config will be applied.