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

Properly reference override values in Python Helm SDK #676

Merged
merged 2 commits into from
Jul 31, 2019

Conversation

lblackstone
Copy link
Member

The overrides file was being written, but not flushed, so the
values were not present during the subsequent helm template
step, and were effectively being silently ignored.

Fixes #675

The overrides file was being written, but not flushed, so the
values were not present during the subsequent helm template
step, and were effectively being silently ignored.
Copy link
Member

@lukehoban lukehoban left a comment

Choose a reason for hiding this comment

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

LGTM

FWIW - I was curious whether either closeing or setting the file to not buffer were better options - but the former apparently doesn't work for NamedTemporaryFiles (it deletes on close by default), and the latter is arguably even more subtle than this fix. TIL.

@lukehoban
Copy link
Member

BTW - Do we have test coverage for this?

Copy link
Contributor

@metral metral left a comment

Choose a reason for hiding this comment

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

LGTM


### Bug fixes

- Properly reference override values in Python Helm SDK (https://github.com/pulumi/pulumi-kubernetes/pull/676).
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- Properly reference override values in Python Helm SDK (https://github.com/pulumi/pulumi-kubernetes/pull/676).
- Properly reference override values in Python Helm SDK (https://github.com/pulumi/pulumi-kubernetes/pull/676).

@lblackstone lblackstone merged commit 67eac9f into master Jul 31, 2019
@pulumi-bot pulumi-bot deleted the lblackstone/python-helm-values branch July 31, 2019 18:55
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.

Python Helm values seem to be ignored
3 participants