fluxcd-community / helm-charts

Community maintained Helm charts for Flux
Apache License 2.0
121 stars 76 forks source link

fix(flux2): add variable to customise cluster domain (#139) #140

Closed dmccaffery closed 1 year ago

dmccaffery commented 1 year ago

NOTES:

The source-controller manifest included a hard-coded advertising address with cluster.local. In some environments, the cluster domain is modified, which broke the kustomize controller from being able to resolve the source controller to acquire artifacts.

BREAKING CHANGE:

The eventsaddr variable has been removed as it is no longer necessary. The new clusterDomain variable is now used to create a fully-qualified addresses throughout the deployment manifiests.

Signed-off-by: Deavon M. McCaffery dmccaffery@users.noreply.github.com

What this PR does / why we need it:

Which issue this PR fixes

(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

Special notes for your reviewer:

Checklist

stefanprodan commented 1 year ago

If we are making breaking changes I would suggest correcting the variables names, some of them are not capitalized correctly for example serviceaccount should be serviceAccount, additionalargs should be additionalArgs, watchallnamespaces should be watchAllNamespaces.

dmccaffery commented 1 year ago

I agree. It drives me nuts. 🙃

dmccaffery commented 1 year ago

@stefanprodan I fixed the casing of everything that I could find. I've left them each in separate commits to make them easier to review. Per the contributing guide, changes should be squashed before opening a PR, but I figured that would make this much more difficult to review.