You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
We are using Official Vault Helm Chart and our vault pods are running as statefulset. We are using the server_statefulset.yaml defined in the Helm chart templates. We noticed that the VAULT_ADDR environment variable is defined before HOSTNAME environment and because of this the VAULT_ADDR is not getting set properly and we are seeing error message like
"Error checking seal status: Get "https://127.0.0.1:8200/v1/sys/seal-status"
Then we copied the statefulset yaml to our local repo and defined the HOSTNAME before VAULT_ADDR and then we are able to see the "vault status" properly. Not sure this is a bug or something. Please check and let us know if something needs to be corrected.
Thank you,
Surya
To Reproduce
Steps to reproduce the behavior:
Install chart
Run vault command
See error (vault logs, etc.)
Other useful info to include: vault pod logs, kubectl describe statefulset vault and kubectl get statefulset vault -o yaml output
Expected behavior
A clear and concise description of what you expected to happen.
Environment
Kubernetes version:
Distribution or cloud vendor (OpenShift, EKS, GKE, AKS, etc.):
Other configuration options or runtime services (istio, etc.):
vault-helm version:
Chart values:
# Paste your user-supplied values here (`helm get values <release>`).# Be sure to scrub any sensitive values!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
I have the same behavior, pods in stateful set have different order of env variables, and some pods have all variables expanded, and some of pods have not all variables expanded.
For instance:
VAULT_API_ADDR=http://$(POD_IP):8200
or
VAULT_CLUSTER_ADDR=https://$(HOSTNAME).vault-internal:8201
Because $POD_IP or $HOSTNAME was defined AFTER VAULT_API_ADDR or VAULT_CLUSTER_ADDR in POD(!) manifest.
In Stateful Set manifest the order is correct though.
Describe the bug
We are using Official Vault Helm Chart and our vault pods are running as statefulset. We are using the server_statefulset.yaml defined in the Helm chart templates. We noticed that the VAULT_ADDR environment variable is defined before HOSTNAME environment and because of this the VAULT_ADDR is not getting set properly and we are seeing error message like
"Error checking seal status: Get "https://127.0.0.1:8200/v1/sys/seal-status"
Then we copied the statefulset yaml to our local repo and defined the HOSTNAME before VAULT_ADDR and then we are able to see the "vault status" properly. Not sure this is a bug or something. Please check and let us know if something needs to be corrected.
Thank you,
Surya
To Reproduce
Steps to reproduce the behavior:
Other useful info to include: vault pod logs,
kubectl describe statefulset vault
andkubectl get statefulset vault -o yaml
outputExpected behavior
A clear and concise description of what you expected to happen.
Environment
Chart values:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: