goauthentik / goauthentik/helm

Env Var Override

Open
#29 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Mustache
Stars
183
Forks
69
Avg merge
14h 21m
Merged PRs (30d)
8

Description

I've got a question, possibly a behavior question, about setting environment variables for the deployment:
```
env:
AUTHENTIK_POSTGRESQL_HOSTNANE: [redacted]
AUTHENTIK_POSTGRESQL__NAME: [redacted]
```

However when I create a release like this, deployment ends up failing because it can't reach postgres, and when I look at the deployment the `AUTHENTIK_POSTGRESQL__HOSTNAME` and `AUTHENTIK_POSTGRESQL__NAME` variables are defined twice. Once with my values, and once with seemingly default values. From the deployment template it looks like that's happening because of https://github.com/goauthentik/helm/blob/b4911f0e82a94244dc5dbb95adc1a93d36ac2d3a/charts/authentik/templates/deployment.yaml#L44 So I guess what I'm wondering is if it's possible to merge those two sources of env vars rather than concatenating them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.