From d3af77d9bdd5f1d3eb198158dfb69b33caadd4c0 Mon Sep 17 00:00:00 2001 From: David Eads Date: Mon, 5 Feb 2024 18:12:58 -0500 Subject: [PATCH] add FallbackToLogsOnError for easier debugging --- bindata/v4.1.0/aws-pod-identity-webhook/deployment.yaml | 1 + bindata/v4.1.0/azure-pod-identity-webhook/deployment.yaml | 1 + pkg/assets/v410_00_assets/bindata.go | 2 ++ 3 files changed, 4 insertions(+) diff --git a/bindata/v4.1.0/aws-pod-identity-webhook/deployment.yaml b/bindata/v4.1.0/aws-pod-identity-webhook/deployment.yaml index 6d84594bb..7e20694cf 100644 --- a/bindata/v4.1.0/aws-pod-identity-webhook/deployment.yaml +++ b/bindata/v4.1.0/aws-pod-identity-webhook/deployment.yaml @@ -38,6 +38,7 @@ spec: requests: cpu: 10m memory: 10Mi + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: webhook-certs mountPath: /var/run/app/certs diff --git a/bindata/v4.1.0/azure-pod-identity-webhook/deployment.yaml b/bindata/v4.1.0/azure-pod-identity-webhook/deployment.yaml index d4420b3dd..0d13c6f3d 100644 --- a/bindata/v4.1.0/azure-pod-identity-webhook/deployment.yaml +++ b/bindata/v4.1.0/azure-pod-identity-webhook/deployment.yaml @@ -68,6 +68,7 @@ spec: allowPrivilegeEscalation: false capabilities: drop: [ "ALL" ] + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /certs name: webhook-certs diff --git a/pkg/assets/v410_00_assets/bindata.go b/pkg/assets/v410_00_assets/bindata.go index d33d96303..0c47de707 100644 --- a/pkg/assets/v410_00_assets/bindata.go +++ b/pkg/assets/v410_00_assets/bindata.go @@ -104,6 +104,7 @@ spec: requests: cpu: 10m memory: 10Mi + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - name: webhook-certs mountPath: /var/run/app/certs @@ -264,6 +265,7 @@ spec: allowPrivilegeEscalation: false capabilities: drop: [ "ALL" ] + terminationMessagePolicy: FallbackToLogsOnError volumeMounts: - mountPath: /certs name: webhook-certs