Skip to content

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