-
Notifications
You must be signed in to change notification settings - Fork 80
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
Update selector labels for Deployment and Service #141
Conversation
I agree that this is a breaking change - but the helm chart and application version are still on a I feel that the right approach was to move to the helper method over defining the labels multiple times being much more error-prone |
Understandable. |
Would you suggest removing this line then to reduce repetition but still fix the issue?
|
Yea, sure - I'd accept a PR with that line removed! 👍 |
Ended up creating a separate helper instead since I think having the Let me know if you have any more concerns. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that approach much better 👍
Changes selector labels to not change per helm release to fix #140. These new selectors are more similar to https://github.com/cert-manager/cert-manager/blob/202a80e2184b1b479dbb5d03f32aafc4b2c811b9/deploy/charts/cert-manager/templates/service.yaml#L13-L14.
This might require a major version bump of helm chart version because it will also cause issues when upgrading to this.