From 32303d7eba7860eb8be0e473e037d953b4376b2f Mon Sep 17 00:00:00 2001 From: Kevin Fox Date: Mon, 20 Feb 2023 09:57:29 -0800 Subject: [PATCH] Remove the need for hostpath on oidc provider The hostpath isn't needed. This patch removes the extra mount and changes it to an emptyDir. Signed-off-by: Kevin Fox --- .../spiffe-oidc-discovery-provider/templates/deployment.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/charts/spire/charts/spiffe-oidc-discovery-provider/templates/deployment.yaml b/charts/spire/charts/spiffe-oidc-discovery-provider/templates/deployment.yaml index a3a7d6a96..69c7109a5 100644 --- a/charts/spire/charts/spiffe-oidc-discovery-provider/templates/deployment.yaml +++ b/charts/spire/charts/spiffe-oidc-discovery-provider/templates/deployment.yaml @@ -94,9 +94,7 @@ spec: driver: "csi.spiffe.io" readOnly: true - name: spire-oidc-sockets - hostPath: - path: /run/spire/oidc-sockets - type: DirectoryOrCreate + emptyDir: {} - name: spire-oidc-config configMap: name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}