From e214154f5fb62358223a499494aef3921be1bec8 Mon Sep 17 00:00:00 2001 From: David Eads Date: Fri, 12 Apr 2024 14:21:02 -0400 Subject: [PATCH] OCPBUGS-28230: enforce termination message policy on all platform pods --- deployments/multus-daemonset-crio.yml | 1 + deployments/multus-daemonset-thick.yml | 2 ++ deployments/multus-daemonset.yml | 2 ++ 3 files changed, 5 insertions(+) diff --git a/deployments/multus-daemonset-crio.yml b/deployments/multus-daemonset-crio.yml index cbe34a0ab..84d7b4029 100644 --- a/deployments/multus-daemonset-crio.yml +++ b/deployments/multus-daemonset-crio.yml @@ -197,6 +197,7 @@ spec: privileged: true capabilities: add: ["SYS_ADMIN"] + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: run mountPath: /run diff --git a/deployments/multus-daemonset-thick.yml b/deployments/multus-daemonset-thick.yml index 117c1f0e7..16cfee252 100644 --- a/deployments/multus-daemonset-thick.yml +++ b/deployments/multus-daemonset-thick.yml @@ -165,6 +165,7 @@ spec: memory: "50Mi" securityContext: privileged: true + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: cni mountPath: /host/etc/cni/net.d @@ -208,6 +209,7 @@ spec: memory: "15Mi" securityContext: privileged: true + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: cnibin mountPath: /host/opt/cni/bin diff --git a/deployments/multus-daemonset.yml b/deployments/multus-daemonset.yml index ab626a666..40fa51932 100644 --- a/deployments/multus-daemonset.yml +++ b/deployments/multus-daemonset.yml @@ -194,6 +194,7 @@ spec: memory: "50Mi" securityContext: privileged: true + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: cni mountPath: /host/etc/cni/net.d @@ -214,6 +215,7 @@ spec: memory: "15Mi" securityContext: privileged: true + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: cnibin mountPath: /host/opt/cni/bin