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

fix: use selectorLabels in pdb #184

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

OcamsRazor
Copy link
Contributor

Switch to flipt.selectorLabels in the pdb as all requirements from matchLabels are ANDed together (docs). If flipt.labels has other labels configured, the pdb will never match.

template:
metadata:
annotations: {{- include "common.classes.podAnnotations" . | nindent 8 }}
labels:
{{- include "flipt.selectorLabels" . | nindent 8 }}

Copy link
Member

@GeorgeMac GeorgeMac left a comment

Choose a reason for hiding this comment

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

Great catch! Thank you!

@GeorgeMac GeorgeMac merged commit 46bff26 into flipt-io:main Nov 13, 2024
2 checks passed
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