Change socket mounts for more control (readonly)
pods like oidc mount more then one of these sockets, now we can control readonly vs non readonly better Signed-off-by: Marco Franssen <[email protected]> Signed-off-by: Marco Franssen <[email protected]>
This commit is contained in:
@@ -47,7 +47,7 @@ spec:
|
||||
protocol: TCP
|
||||
volumeMounts:
|
||||
- name: spire-server-socket
|
||||
mountPath: {{ include "spire.sockets" . }}
|
||||
mountPath: /run/spire/server-sockets
|
||||
readOnly: false
|
||||
- name: spire-config
|
||||
mountPath: /run/spire/config
|
||||
@@ -86,7 +86,7 @@ spec:
|
||||
name: registrar-port
|
||||
volumeMounts:
|
||||
- name: spire-server-socket
|
||||
mountPath: {{ include "spire.sockets" . }}
|
||||
mountPath: /run/spire/server-sockets
|
||||
readOnly: true
|
||||
- name: spire-workload-registrar-config
|
||||
mountPath: /run/spire/k8s-workload-registrar/config
|
||||
|
||||
Reference in New Issue
Block a user