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

Node Spec podLabels don't work if cluster spec podLabels are not defined #183

Closed
owais opened this issue Sep 12, 2024 · 1 comment · Fixed by #184
Closed

Node Spec podLabels don't work if cluster spec podLabels are not defined #183

owais opened this issue Sep 12, 2024 · 1 comment · Fixed by #184

Comments

@owais
Copy link
Contributor

owais commented Sep 12, 2024

The following spec will not add any labels to pods (bug)

apiVersion: "druid.apache.org/v1alpha1"
kind: "Druid"
metadata:
  name: tiny-cluster
spec:
  nodes:
    brokers:
      podLabels:
        label_a: yes

But the following will add both label_a and label_b (as expected)

apiVersion: "druid.apache.org/v1alpha1"
kind: "Druid"
metadata:
  name: tiny-cluster
spec:
  podLabels:
    label_a: yes
  nodes:
    brokers:
      podLabels:
        label_b: yes
@owais owais mentioned this issue Sep 12, 2024
4 tasks
@AdheipSingh
Copy link
Contributor

thanks for taking this a notice.

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 a pull request may close this issue.

2 participants