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 name: https
{{- end }} {{- end }}
volumeMounts: volumeMounts:
- name: spire-agent-sockets
mountPath: /run/spire/agent-sockets
readOnly: true
- name: spire-oidc-sockets - name: spire-oidc-sockets
mountPath: /run/spire/oidc-sockets mountPath: /run/spire/oidc-sockets
readOnly: false readOnly: false
@@ -87,6 +90,10 @@ spec:
hostPath: hostPath:
path: /run/spire/oidc-sockets path: /run/spire/oidc-sockets
type: DirectoryOrCreate type: DirectoryOrCreate
- name: spire-agent-sockets
hostPath:
path: /run/spire/agent-sockets
type: DirectoryOrCreate
- name: spire-oidc-config - name: spire-oidc-config
configMap: configMap:
name: {{ include "spire.fullname" . }}-oidc-discovery-provider name: {{ include "spire.fullname" . }}-oidc-discovery-provider