Utilize spiffe csi driver in OIDC component

Signed-off-by: Marco Franssen <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:05 +01:00
committed by Marco Franssen
parent 1e31a5e359
commit 60b2f7c773
3 changed files with 10 additions and 10 deletions
+6 -6
View File
@@ -46,8 +46,8 @@ spec:
name: https
{{- end }}
volumeMounts:
- name: spire-agent-sockets
mountPath: /run/spire/agent-sockets
- name: spiffe-workload-api
mountPath: /spiffe-workload-api
readOnly: true
- name: spire-oidc-sockets
mountPath: /run/spire/oidc-sockets
@@ -89,14 +89,14 @@ spec:
readOnly: true
{{- end }}
volumes:
- name: spiffe-workload-api
csi:
driver: "csi.spiffe.io"
readOnly: true
- name: spire-oidc-sockets
hostPath:
path: /run/spire/oidc-sockets
type: DirectoryOrCreate
- name: spire-agent-sockets
hostPath:
path: /run/spire/agent-sockets
type: DirectoryOrCreate
- name: spire-oidc-config
configMap:
name: {{ include "spire.fullname" . }}-oidc-discovery-provider