-
Notifications
You must be signed in to change notification settings - Fork 29
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
Load cluster domain as a config option. Fall back to default if not set #339
Conversation
…vc.cluster.local if not set
Hi @fr6nco . For cases like this we'd want to use a Helm chart override instead of using an environment variable. If you modified this PR/submitted a new PR using this approach, we'd accept that. |
👋 Looks like there are changes in the Helm Chart's Chart.yaml file. Upon merge, a new release of the helm chart will be created if the Chart's version was changed. |
👋 Looks like there are changes in the |
👋 Looks like there are changes in the Helm Chart's Chart.yaml file. Upon merge, a new release of the helm chart will be created if the Chart's version was changed. |
👋 Looks like there are changes in the |
👋 Looks like there are changes in the Helm Chart's Chart.yaml file. Upon merge, a new release of the helm chart will be created if the Chart's version was changed. |
👋 Looks like there are changes in the |
👋 Looks like there are changes in the Helm Chart's Chart.yaml file. Upon merge, a new release of the helm chart will be created if the Chart's version was changed. |
👋 Looks like there are changes in the |
I bit more commints than expected. It was reworked, where the option is passed down as a config option. No longer via an env variable. The option is exposed via the helm chart. |
👋 Looks like there are changes in the Helm Chart's Chart.yaml file. Upon merge, a new release of the helm chart will be created if the Chart's version was changed. |
👋 Looks like there are changes in the |
👋 Looks like there are changes in the Helm Chart's Chart.yaml file. Upon merge, a new release of the helm chart will be created if the Chart's version was changed. |
👋 Looks like there are changes in the |
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.
Changelog changes removed as requested.
Thank you for the contribution, @fr6nco! |
…vc.cluster.local if not set
What
Cluster domain is hardcoded. Load the cluster domain from an environment variable. If the environment variable is not set, fall back to the default svc.cluster.local
Currently very simple, just please take a look if this is something you would accept.
Test were not written, I could not find anything covering the cluster domain, so it should be added.
Helm chart to be updated, where we could set the cluster domain to a configmap or simply passing it as an extraEnvVar: {}
How
Cluster domain is read from env variable.
Breaking Changes
no