Skip to content

Add enable dns flag #544

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

Merged
merged 2 commits into from
Jan 27, 2024
Merged

Add enable dns flag #544

merged 2 commits into from
Jan 27, 2024

Conversation

hesstobi
Copy link
Contributor

Closes #447

This adds the --enable-dns option to the upgrade command. And enables DNS Lookup during rendering the templates.

I didn't add any tests, because there are also no test for the other options. If tests are required, can you give my hints where to start.

Copy link
Collaborator

@mumoshu mumoshu left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for raising the issue and submitting this PR!

Re; tests, I think that's not strictly required for this case right now. All we have to do here is, pass enable-dns as-is from helm-diff to downstream helm-template.

We could later extract the part of the template function that composes flags, args, cmd and write some unit test for that extracted function, though!
If you could submit follow-up PR(s) to do so, that would be awesome!

@mumoshu mumoshu merged commit fd1038a into databus23:master Jan 27, 2024
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.

Support helm flag --enable-dns
2 participants