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 committed Apr 24, 2024
1 parent 154c095 commit 77d07df
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindata/network/iptables-alerter/003-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ spec:
memory: 65Mi
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- mountPath: /iptables-alerter
name: iptables-alerter-script
Expand Down
1 change: 1 addition & 0 deletions bindata/network/openshift-sdn/sdn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -426,6 +426,7 @@ spec:
requests:
cpu: 5m
memory: 20Mi
terminationMessagePolicy: FallbackToLogsOnError
env:
- name: K8S_NODE
valueFrom:
Expand Down
1 change: 1 addition & 0 deletions bindata/network/ovn-kubernetes/managed/ovnkube-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ spec:
command: ["/bin/bash", "-c", "echo drop-icmp done"]
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
{{ if .NETWORK_NODE_IDENTITY_ENABLE }}
- mountPath: /etc/ovn/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -704,6 +704,7 @@ spec:
command: ["/bin/bash", "-c", "echo drop-icmp done"]
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
{{ if .NETWORK_NODE_IDENTITY_ENABLE }}
- mountPath: /etc/ovn/
Expand Down

0 comments on commit 77d07df

Please sign in to comment.