-
Notifications
You must be signed in to change notification settings - Fork 7
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
Release 3.0.0 - Helm Chart Production readiness #35
Conversation
…ulated from the values and a existing secret, both exposed as environment variables to the container
…and readiness probes
…nd Dacha deployments
@@ -0,0 +1,62 @@ | |||
{{- if .Values.dacha.enabled }} | |||
{{- if .Values.dacha.ingress.enabled -}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a little unusual - do you see a use case where Dacha needs an ingress? It should never be exposed outside the cluster, only MR and Edge would normally be?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello!
Probably you are right, as I don't have all the insights of the application, I did my best just by reading the documentation, but if dacha having an ingress does not make sense, just let me know and I'll remove its template and the corresponding values :)
This is a tremendous amount of work! We are very grateful! |
Hello!
Here's another PR to make the Helm Chart more Production-Ready. I know it is a big one, so please feel free to reach if something needs clarification or explanation.
At the end of this message, there are instructions to run a version of this Helm Chart from my forked repository, so you can test whatever you want before merging this PR.
Motivation
The current helm chart does not allow all the installation options described in the documentation, following are all the options that should be available:
Properties of the services are restricted to just the contents of the hardcoded keys specified in the configMaps, limiting the amount of properties that can be passed to the services (E.g OAuth, logging, etc.) For example:
Add some Helm Chart and Kubernetes best practices, such as:
values.yaml
values.yaml
extraContainers
, if needed.extraVolumes
, if needed.extraVolumeMounts
, if needed.More details on the Changes section.
Changes
Non-Helm-related changes
Helm changes
Big refactor:
extraContainers
,extraVolumes
andextraVolumeMounts
to make it more flexible./etc/common-config/log4j2.xml
)defaultBackend
no longer needed. It was needed before because the ingress rule was not correctly specified.Prometheus compatibility:
All the components were exposing Prometheus metrics, but the services weren't exposing the metrics endpoints and the Prometheus Operator serviceMonitors were not included.
How to test it before merging
There's a Helm Release with the content of this PR on my forked repository that can be installed prior merging this Pull Request. You can either download the release from the Releases page or pull it using helm CLI:
Feel free to commit to this branch if desired. I've updated helm-docs documentation and added comments on the values and templates, but I will be probably improving the documentation a bit more, so expect few sporadic commits.
Many thanks for your time and work!
Kind regards.