Skip to content

Allow adding labels without also automatically injecting corresponding selectors #177

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 1 commit into from
May 16, 2022

Conversation

gregorycuellar
Copy link
Contributor

This allow to use labels in order to allow adding labels without also automatically injecting corresponding selectors.

Selectors for resources such as Deployments and Services can’t be changed once the resource has been applied to a cluster. The resource needs to be recreated which break the rollout mechanism.

https://kubectl.docs.kubernetes.io/references/kustomize/kustomization/labels/

@pst
Copy link
Member

pst commented May 16, 2022

Great feature, super useful. I didn't know upstream Kustomize had this. Thanks for contributing this! 💯

@pst pst merged commit 8eea709 into kbst:master May 16, 2022
@gregorycuellar
Copy link
Contributor Author

Great ! thanks for merging so fast
@pst any idea of when it will be released ?

@pst
Copy link
Member

pst commented May 20, 2022

Release is unfortunately blocked by the tests not passing with some error from the SDK on Windows and Mac, but not Linux.

cannot run Terraform provider tests: unexpected Content-Type: "application/vnd+hashicorp.releases-api.v0+json"

I'm trying to figure out what causes this, but I'm also currently at Kubecon.

@pst
Copy link
Member

pst commented May 24, 2022

The release is out now. Should be available from the Terraform registry soon. https://github.com/kbst/terraform-provider-kustomization/releases/tag/v0.8.1

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.

2 participants