Fix agent socket mount in spire-oidc

Co-authored-by: Gert Jan Kamstra <[email protected]>
Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
Marco Franssen
2023-02-18 13:04:02 +01:00
committed by Marco Franssen
co-authored by Gert Jan Kamstra
parent 4f93ead90a
commit 48dacbca64
@@ -46,6 +46,9 @@ spec:
name: https
{{- end }}
volumeMounts:
- name: spire-agent-sockets
mountPath: /run/spire/agent-sockets
readOnly: true
- name: spire-oidc-sockets
mountPath: /run/spire/oidc-sockets
readOnly: false
@@ -87,6 +90,10 @@ spec:
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