From ce733fe5ccc4121457b4453af56de153d62b5e3c Mon Sep 17 00:00:00 2001 From: David Eads Date: Mon, 15 Apr 2024 16:25:23 -0400 Subject: [PATCH] OCPBUGS-28230: enforce termination message policy on all platform pods (#50875) --- .../install/hosted-loki/ipi-install-hosted-loki-commands.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ci-operator/step-registry/ipi/install/hosted-loki/ipi-install-hosted-loki-commands.sh b/ci-operator/step-registry/ipi/install/hosted-loki/ipi-install-hosted-loki-commands.sh index 32485ba13e837..aab764b405af2 100644 --- a/ci-operator/step-registry/ipi/install/hosted-loki/ipi-install-hosted-loki-commands.sh +++ b/ci-operator/step-registry/ipi/install/hosted-loki/ipi-install-hosted-loki-commands.sh @@ -431,6 +431,7 @@ spec: readOnlyRootFilesystem: true runAsGroup: 0 runAsUser: 0 + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: "/etc/promtail" name: config @@ -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 @@ -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: @@ -744,6 +746,7 @@ spec: memory: 20Mi args: - -conf=/data/config.yaml + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /data name: cfg