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

Remove version from matchLabels in Helm and Activegate #683

Merged
merged 8 commits into from
Apr 6, 2022

Conversation

0sewa0
Copy link
Contributor

@0sewa0 0sewa0 commented Apr 1, 2022

Description

No label that changes overtime should be part of the matchLabels as those are immutable. Also reintroduces the old labels to be only used as matchLabels for know, will be replaced in the future

How can this be tested?

After deploy, check if the deployments/daemonset/statefulsets have all the labels (which has the version, feature etc)
but the matchLabels should only have things that don't change (component, name)

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly

@0sewa0 0sewa0 added the bug Something isn't working label Apr 1, 2022
@0sewa0 0sewa0 requested a review from a team as a code owner April 1, 2022 08:28
@chrismuellner chrismuellner changed the title Simplifies matchLabels in Helm and ActiveGate StatefulSet Remove version from matchLabels in Helm and Activegate Apr 1, 2022
@0sewa0 0sewa0 force-pushed the fix/matchLabels_everywhere branch from aa9d799 to a47c4ec Compare April 4, 2022 15:22
src/kubeobjects/labels.go Outdated Show resolved Hide resolved
@0sewa0 0sewa0 force-pushed the fix/matchLabels_everywhere branch from 0097148 to acc3a26 Compare April 5, 2022 12:24
@0sewa0 0sewa0 requested a review from meik99 April 5, 2022 12:24
@0sewa0 0sewa0 enabled auto-merge (squash) April 5, 2022 12:24
@0sewa0 0sewa0 merged commit 44fc716 into master Apr 6, 2022
@0sewa0 0sewa0 deleted the fix/matchLabels_everywhere branch April 6, 2022 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants