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

Add suport for string interpolation in Helm deployments #16611

Merged

Conversation

alonsodomin
Copy link
Contributor

Generalises the DockerInterpolationContext implementation making it available to other backends and implements interpolated values based on environment variables in helm_deployment targets.

Closes #16600

[ci skip-rust]

[ci skip-build-wheels]

@alonsodomin alonsodomin added category:new feature backend: Docker Docker backend-related issues backend: Helm Helm backend-related issues labels Aug 23, 2022
@alonsodomin alonsodomin force-pushed the helm_deployment_interpolation branch from 268b695 to 1a44305 Compare August 23, 2022 09:15
Copy link
Member

@kaos kaos left a comment

Choose a reason for hiding this comment

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

Nice refactor 👍🏽 and application for the helm backend.

src/python/pants/backend/helm/target_types.py Outdated Show resolved Hide resolved
src/python/pants/util/value_interpolation.py Outdated Show resolved Hide resolved
Copy link
Member

@kaos kaos left a comment

Choose a reason for hiding this comment

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

Yeah, this works for me. Can always improve upon in a follow up if needed.

@alonsodomin alonsodomin added this to the 2.14.x milestone Aug 26, 2022
@alonsodomin alonsodomin merged commit c5e902e into pantsbuild:main Aug 26, 2022
Eric-Arellano pushed a commit to Eric-Arellano/pants that referenced this pull request Aug 31, 2022
…6611)

Generalises the DockerInterpolationContext implementation making it available to other backends and implements interpolated values based on environment variables in helm_deployment targets.
# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
cczona pushed a commit to cczona/pants that referenced this pull request Sep 1, 2022
…6611)

Generalises the DockerInterpolationContext implementation making it available to other backends and implements interpolated values based on environment variables in helm_deployment targets.
Eric-Arellano added a commit that referenced this pull request Sep 1, 2022
#16611) (#16723)

Generalises the DockerInterpolationContext implementation making it available to other backends and implements interpolated values based on environment variables in helm_deployment targets.

[ci skip-build-wheels]

Co-authored-by: A. Alonso Dominguez <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Docker Docker backend-related issues backend: Helm Helm backend-related issues category:new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support string interpolation in helm_deployment inline values
3 participants