-
Notifications
You must be signed in to change notification settings - Fork 20
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
Enable DB support via helm chart #173
Labels
good first issue
Good for newcomers
Comments
Maybe a bit too much black (bash) magic, but anyone who ends up here might consider doing "helm template + yq + kubectl apply" instead of install. To add the env vars with yq to the statefulset.yaml use something like this: yq -i '
.spec.template.spec.containers[0].env += [
{
"name": "UPTIME_KUMA_DB_TYPE",
"value": "my-fancy-db"
}, {
"name": "UPTIME_KUMA_DB_HOSTNAME",
"value": "here.there.svc.local"
}
]
' statefulSet.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As far as I can tell, there is no way to pass along extra env variables via env variables or a config map to load etc. into the container.
This would be the way to point to a different database correct?
Can the helm chart be updated to expose a way to set those env variables or read env variables from a named ConfigMap etc.?
The text was updated successfully, but these errors were encountered: