Skip to content

Commit

Permalink
OCPBUGS-28230: enforce termination message policy on all platform pods (
Browse files Browse the repository at this point in the history
  • Loading branch information
deads2k authored and saifshaikh48 committed Apr 23, 2024
1 parent 5afaa95 commit ce733fe
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ spec:
readOnlyRootFilesystem: true
runAsGroup: 0
runAsUser: 0
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: "/etc/promtail"
name: config
Expand Down Expand Up @@ -469,7 +470,7 @@ spec:
cpu: 20m
memory: 50Mi
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /etc/tls/private
name: proxy-tls
Expand All @@ -487,6 +488,7 @@ spec:
- --oidc.issuer-url=https://sso.redhat.com/auth/realms/redhat-external
- --margin=10m
- --file=/tmp/shared/prod_bearer_token
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: CLIENT_ID
valueFrom:
Expand Down Expand Up @@ -744,6 +746,7 @@ spec:
memory: 20Mi
args:
- -conf=/data/config.yaml
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /data
name: cfg
Expand Down

0 comments on commit ce733fe

Please sign in to comment.