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 dougbtv committed Apr 16, 2024
1 parent b6206a0 commit e214154
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions deployments/multus-daemonset-crio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ spec:
privileged: true
capabilities:
add: ["SYS_ADMIN"]
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: run
mountPath: /run
Expand Down
2 changes: 2 additions & 0 deletions deployments/multus-daemonset-thick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ spec:
memory: "50Mi"
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: cni
mountPath: /host/etc/cni/net.d
Expand Down Expand Up @@ -208,6 +209,7 @@ spec:
memory: "15Mi"
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
Expand Down
2 changes: 2 additions & 0 deletions deployments/multus-daemonset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ spec:
memory: "50Mi"
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: cni
mountPath: /host/etc/cni/net.d
Expand All @@ -214,6 +215,7 @@ spec:
memory: "15Mi"
securityContext:
privileged: true
terminationMessagePolicy: FallbackToLogsOnError
volumeMounts:
- name: cnibin
mountPath: /host/opt/cni/bin
Expand Down

0 comments on commit e214154

Please sign in to comment.