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

Override services label selector or ignore helm related labels #90

Open
applike-ss opened this issue Apr 17, 2023 · 0 comments
Open

Override services label selector or ignore helm related labels #90

applike-ss opened this issue Apr 17, 2023 · 0 comments

Comments

@applike-ss
Copy link

As per this comment, i am opening this issue here: OT-CONTAINER-KIT/redis-operator#461 (comment)

I've written a helm chart which heavily relies on bitnamis common helm chart for naming and selectors.

This includes the labels on the redis cluster resource labels which seem to be used on the service resource as well.

The result is that it has a helm.sh/chart: redis-cluster-<chart-version> label.

Is your feature request related to a problem? Please describe.

Describe the solution you'd like
In an ideal world, i'd like to be able to override the complete set of labels used as selector on the service object on .spec.kubernetesConfig.service.labels of the redis cluster resource.

Describe alternatives you've considered
Manually defining a template declaration for labels to use which would not include helm.sh/chart as a key.

What version of redis-operator are you using?
redis-operator version: v0.11.0, however i checked the current CRD and it does not look like i could set labels manually on the service object

Additional context

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

No branches or pull requests

1 participant