Skip to content

Commit 17bfde1

Browse files
killerzwelchUppenkamp.Dominik
andauthored
add SecurityContext to fluentBit DaemonSet (#164)
Co-authored-by: Uppenkamp.Dominik <uppenkamp.dominik@scheidt-bachmann.de>
1 parent 206f907 commit 17bfde1

3 files changed

Lines changed: 9 additions & 0 deletions

File tree

charts/amazon-cloudwatch-observability/templates/linux/fluent-bit-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ spec:
5757
{{- with .Values.containerLogs.fluentBit.resources }}
5858
resources: {{- toYaml . | nindent 10}}
5959
{{- end }}
60+
{{- with .Values.containerLogs.fluentBit.securityContext }}
61+
securityContext:
62+
{{- toYaml . | nindent 10}}
63+
{{- end }}
6064
volumeMounts:
6165
# Please don't change below read-only permissions
6266
- name: fluentbitstate

charts/amazon-cloudwatch-observability/templates/windows/fluent-bit-windows-daemonset.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ spec:
5757
{{- with .Values.containerLogs.fluentBit.resources }}
5858
resources: {{- toYaml . | nindent 10}}
5959
{{- end }}
60+
{{- with .Values.containerLogs.fluentBit.securityContext }}
61+
securityContext:
62+
{{- toYaml . | nindent 10}}
63+
{{- end }}
6064
volumeMounts:
6165
- name: fluent-bit-config
6266
mountPath: fluent-bit\configuration\

charts/amazon-cloudwatch-observability/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ containerLogs:
2727
cn-northwest-1: 128054284489.dkr.ecr.cn-northwest-1.amazonaws.com.cn
2828
us-gov-east-1: 161423150738.dkr.ecr.us-gov-east-1.amazonaws.com
2929
us-gov-west-1: 161423150738.dkr.ecr.us-gov-west-1.amazonaws.com
30+
securityContext: {}
3031
resources:
3132
limits:
3233
cpu: 500m

0 commit comments

Comments
 (0)