-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
Make "config" section optional #3
Comments
there is set_sensitive for example resource "helm_release" "mod" {
chart = "aidbox"
create_namespace = true
name = "aidbox"
namespace = "aidbox"
repository = "https://aidbox.github.io/helm-charts"
values = [yamlencode({
host = "aidbox.local"
protocol = "http"
config = {
AIDBOX_ADMIN_ID = "admin"
AIDBOX_CLIENT_ID = "admin"
AIDBOX_FHIR_VERSION = "4.0.1"
PGDATABASE = "aidbox"
PGHOST = "aidboxdb.postgres.svc"
PGUSER = "postgres"
}
})]
set_sensitive {
name = "config.AIDBOX_ADMIN_PASSWORD"
value = "<secret-value>"
}
set_sensitive {
name = "config.AIDBOX_CLIENT_SECRET"
value = "<secret-value>"
}
set_sensitive {
name = "config.AIDBOX_LICENSE"
value = "<license-content-here>"
}
set_sensitive {
name = "config.PGPASSWORD"
value = "<secret-value>"
}
} sample output when updating
|
Thanks @faridco, I am using this way. I think if |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When helm release is updated by Terraform,
config
section will show sensitive data in plain text. This is to allow secret to be used for required environment variables.The text was updated successfully, but these errors were encountered: