File tree Expand file tree Collapse file tree 3 files changed +11
-12
lines changed
Expand file tree Collapse file tree 3 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -32,12 +32,12 @@ spec:
3232 terminationGracePeriodSeconds : 30
3333 dnsPolicy : ClusterFirstWithHostNet
3434 hostNetwork : true # Allows to provide richer host metadata
35- securityContext :
36- runAsUser : 0
37- # If using Red Hat OpenShift uncomment this:
38- # privileged: true
3935 containers :
4036 - name : filebeat
37+ securityContext :
38+ runAsUser : 0
39+ # If using Red Hat OpenShift uncomment this:
40+ # privileged: true
4141 volumeMounts :
4242 - name : varlogcontainers
4343 mountPath : /var/log/containers
Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ spec:
3434 terminationGracePeriodSeconds : 30
3535 dnsPolicy : ClusterFirstWithHostNet
3636 hostNetwork : true # Allows to provide richer host metadata
37- securityContext :
38- runAsUser : 0
39- # If using Red Hat OpenShift uncomment this:
40- # privileged: true
4137 containers :
4238 - name : filebeat
39+ securityContext :
40+ runAsUser : 0
41+ # If using Red Hat OpenShift uncomment this:
42+ # privileged: true
4343 volumeMounts :
4444 - name : varlogcontainers
4545 mountPath : /var/log/containers
Original file line number Diff line number Diff line change @@ -24,12 +24,11 @@ spec:
2424 terminationGracePeriodSeconds : 30
2525 dnsPolicy : ClusterFirstWithHostNet
2626 hostNetwork : true # Allows to provide richer host metadata
27- securityContext :
28- runAsUser : 0
2927 containers :
3028 - name : filebeat
31- # If using Red Hat OpenShift uncomment this:
32- # securityContext:
29+ securityContext :
30+ runAsUser : 0
31+ # If using Red Hat OpenShift uncomment this:
3332 # privileged: true
3433 volumeMounts :
3534 - name : varlogcontainers
You can’t perform that action at this time.
0 commit comments