mirror of
https://github.com/bitnami/charts.git
synced 2026-03-29 16:27:11 +08:00
[bitnami/kafka] Fix component labels of controller to 'controller-eligible' (#35200)
* Fix component labels of kafka controller to 'controller-eligible' Signed-off-by: Jan Kirchner <jank6r@pm.me> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: Jan Kirchner <jank6r@pm.me> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Signed-off-by: jank6r <jank6r@pm.me> Signed-off-by: Miguel Ruiz <miguel.ruiz@broadcom.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Miguel Ruiz <miguel.ruiz@broadcom.com>
This commit is contained in:
@@ -10,7 +10,7 @@ metadata:
|
||||
name: {{ template "kafka.controller.fullname" . }}
|
||||
namespace: {{ include "common.names.namespace" . | quote }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/component: controller-eligible
|
||||
app.kubernetes.io/part-of: kafka
|
||||
{{- if or .Values.controller.autoscaling.hpa.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.controller.autoscaling.hpa.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
|
||||
@@ -10,7 +10,7 @@ metadata:
|
||||
name: {{ template "kafka.controller.fullname" . }}
|
||||
namespace: {{ include "common.names.namespace" . | quote }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/component: controller-eligible
|
||||
app.kubernetes.io/part-of: kafka
|
||||
{{- if .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
{{- $podLabels := include "common.tplvalues.merge" ( dict "values" ( list .Values.controller.podLabels .Values.commonLabels ) "context" . ) }}
|
||||
podSelector:
|
||||
matchLabels: {{- include "common.labels.matchLabels" ( dict "customLabels" $podLabels "context" $ ) | nindent 6 }}
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/component: controller-eligible
|
||||
app.kubernetes.io/part-of: kafka
|
||||
policyTypes:
|
||||
- Ingress
|
||||
|
||||
@@ -10,7 +10,7 @@ metadata:
|
||||
name: {{ template "kafka.controller.fullname" . }}
|
||||
namespace: {{ include "common.names.namespace" . | quote }}
|
||||
labels: {{- include "common.labels.standard" ( dict "customLabels" .Values.commonLabels "context" $ ) | nindent 4 }}
|
||||
app.kubernetes.io/component: controller
|
||||
app.kubernetes.io/component: controller-eligible
|
||||
app.kubernetes.io/part-of: kafka
|
||||
{{- if or .Values.controller.autoscaling.vpa.annotations .Values.commonAnnotations }}
|
||||
{{- $annotations := include "common.tplvalues.merge" ( dict "values" ( list .Values.controller.autoscaling.vpa.annotations .Values.commonAnnotations ) "context" . ) }}
|
||||
|
||||
Reference in New Issue
Block a user