File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
charts/fluent-bit/templates Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,9 @@ helm.sh/chart: {{ include "fluent-bit.chart" . }}
4141app.kubernetes.io/version: { { .Chart.AppVersion | quote } }
4242{ {- end } }
4343app.kubernetes.io/managed-by: { { .Release.Service } }
44+ { {- if .Values.labels } }
45+ { {- toYaml .Values.labels } }
46+ { {- end } }
4447{ {- end -} }
4548
4649{ {/*
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ metadata:
66 namespace : {{ .Release.Namespace }}
77 labels :
88 {{- include "fluent-bit.labels" . | nindent 4 }}
9- {{- with .Values.labels }}
10- {{- toYaml . | nindent 4 }}
11- {{- end }}
129 {{- with .Values.annotations }}
1310 annotations :
1411 {{- toYaml . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -6,9 +6,6 @@ metadata:
66 namespace : {{ .Release.Namespace }}
77 labels :
88 {{- include "fluent-bit.labels" . | nindent 4 }}
9- {{- with .Values.labels }}
10- {{- toYaml . | nindent 4 }}
11- {{- end }}
129 {{- with .Values.annotations }}
1310 annotations :
1411 {{- toYaml . | nindent 4 }}
Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ apiVersion: policy/v1beta1
33kind : PodSecurityPolicy
44metadata :
55 name : {{ include "fluent-bit.fullname" . }}
6+ labels :
7+ {{- include "fluent-bit.labels" . | nindent 4 }}
68{{- if .Values.podSecurityPolicy.annotations }}
79 annotations :
810 {{- toYaml .Values.podSecurityPolicy.annotations | nindent 4 }}
You can’t perform that action at this time.
0 commit comments