Skip to content

Commit

Permalink
✨ feat: (helm/v1alpha1): Allow extra pod labels to be configured
Browse files Browse the repository at this point in the history
  • Loading branch information
monteiro-renato committed Nov 22, 2024
1 parent e912c51 commit 21a648a
Showing 2 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 21a648a

Please sign in to comment.