Skip to content

Fix double cluster.local#905

Open
albundy83 wants to merge 2 commits intorancher:main-sourcefrom
albundy83:fix-twice-domain-coredns
Open

Fix double cluster.local#905
albundy83 wants to merge 2 commits intorancher:main-sourcefrom
albundy83:fix-twice-domain-coredns

Conversation

@albundy83
Copy link

Apply global.clusterDomain value only if defined.

Fallback is not needed as default value is already cluster.local here

Signed-off-by: Grégoire Bellon-Gervais <gregoire.bellon-gervais@docaposte.fr>
Copy link
Member

@brandond brandond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this preferable to removing the hardcoded cluster.local from the default values? That seems like the more correct fix.

Also note that you should bump the packageVersion when changing anything that we modify locally:
https://github.com/rancher/rke2-charts/blob/main-source/packages/rke2-coredns/package.yaml#L2

Signed-off-by: Grégoire Bellon-Gervais <gregoire.bellon-gervais@docaposte.fr>
@albundy83
Copy link
Author

Is this preferable to removing the hardcoded cluster.local from the default values? That seems like the more correct fix.

Also note that you should bump the packageVersion when changing anything that we modify locally: https://github.com/rancher/rke2-charts/blob/main-source/packages/rke2-coredns/package.yaml#L2

It means the patch is ok ? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants