We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
helm vault commands returns error
ERROR: 'Namespace' object has no attribute 'environment'
Create a value.yaml files with following
# Sample values.yaml.template auth: adminUser: VAULT:/kv/webapp/login adminPassword: VAULT:/kv/webapp/password externalDatabase: user: VAULT:/kv/webapp/dbuser database: VAULT:/kv/webapp/dbname password: VAULT:/kv/webapp/dbpass
you should have secrets at this location in vault then run
export VAULT_ADDR="https://vault.internal.com/" && export VAULT_NAMESPACE="test" && export VAULT_TOKEN="xxxxxxxxx"
helm vault template ../../helm-chart-0.0.1.tgz --name test-chart --namespace test-chart -f values.yaml
or run
helm vault lint test-chart -f values.yaml
This returns error
# helm vault template ../../helm-chart-0.0.1.tgz --name test-chart --namespace test-chart -f values.yaml ERROR: 'Namespace' object has no attribute 'environment'
# helm vault lint test-chart -f values.yaml ERROR: 'Namespace' object has no attribute 'environment'
Should get secrets from vault and install helm chart.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
helm vault commands returns error
To Reproduce
Create a value.yaml files with following
you should have secrets at this location in vault
then run
or run
This returns error
Expected behavior
Should get secrets from vault and install helm chart.
Environment:
The text was updated successfully, but these errors were encountered: