Skip to content
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

fix(k8s): allow null in spec.files for deploy config #4881

Merged
merged 2 commits into from
Jul 24, 2023

Conversation

shumailxyz
Copy link
Contributor

@shumailxyz shumailxyz commented Jul 21, 2023

What this PR does / why we need it:
ignore null values from spec.files in configure handler. Useful when some manifest files are to be used conditionally based on variable/template string resolution.

Which issue(s) this PR fixes:

Fixes #4878

Special notes for your reviewer:

@shumailxyz shumailxyz requested review from vvagaytsev and a team July 21, 2023 11:03
Copy link
Contributor

@Walther Walther left a comment

Choose a reason for hiding this comment

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

Nice work!
Could we have a regression test for this please 👉 👈

@shumailxyz shumailxyz requested review from Walther and vvagaytsev July 24, 2023 09:51
Copy link
Collaborator

@vvagaytsev vvagaytsev left a comment

Choose a reason for hiding this comment

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

Great, thanks for fixing this! 💯

@shumailxyz shumailxyz merged commit 4fc3a09 into main Jul 24, 2023
@shumailxyz shumailxyz deleted the fix-k8-null-files branch July 24, 2023 13:49
@hnicke
Copy link
Contributor

hnicke commented Aug 3, 2023

I'm rather impatiently waiting for this fix to get released :)

@vvagaytsev
Copy link
Collaborator

@hnicke we have released 0.13.10! :)

@hnicke
Copy link
Contributor

hnicke commented Aug 3, 2023

great. thank you!

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.

0.13: [Bug]: kubernetes deploy action: crash when encountering falsy file entries
4 participants