Skip to content

Commit

Permalink
Merge pull request #4373 from monteiro-renato/patch-8
Browse files Browse the repository at this point in the history
✨ feat: (helm/v1alpha1): Allow extra pod labels to be configured
  • Loading branch information
k8s-ci-robot authored Nov 24, 2024
2 parents 5bc4815 + 21a648a commit 8ec703e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ spec:
labels:
{{ "{{- include \"chart.labels\" . | nindent 8 }}" }}
control-plane: controller-manager
{{ "{{- if and .Values.controllerManager.pod .Values.controllerManager.pod.labels }}" }}
{{ "{{- range $key, $value := .Values.controllerManager.pod.labels }}" }}
{{ "{{ $key }}" }}: {{ "{{ $value }}" }}
{{ "{{- end }}" }}
{{ "{{- end }}" }}
spec:
containers:
- name: manager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ spec:
labels:
{{- include "chart.labels" . | nindent 8 }}
control-plane: controller-manager
{{- if and .Values.controllerManager.pod .Values.controllerManager.pod.labels }}
{{- range $key, $value := .Values.controllerManager.pod.labels }}
{{ $key }}: {{ $value }}
{{- end }}
{{- end }}
spec:
containers:
- name: manager
Expand Down

0 comments on commit 8ec703e

Please sign in to comment.