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 <[email protected]>
This commit is contained in:
Kevin Fox
2023-02-21 15:48:02 +01:00
committed by Marco Franssen
parent 8974a3086d
commit 32303d7eba
@@ -94,9 +94,7 @@ spec:
driver: "csi.spiffe.io" driver: "csi.spiffe.io"
readOnly: true readOnly: true
- name: spire-oidc-sockets - name: spire-oidc-sockets
hostPath: emptyDir: {}
path: /run/spire/oidc-sockets
type: DirectoryOrCreate
- name: spire-oidc-config - name: spire-oidc-config
configMap: configMap:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }} name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}