Allow configuring persistence in the spire-agent (#414)

* Allow configuring persistence in the spire-agent

Signed-off-by: Kevin Fox <[email protected]>

* Better wording. Leave space for other services if needed some day.

Signed-off-by: Kevin Fox <[email protected]>

---------

Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
kfox1111
2024-08-08 20:06:06 -07:00
committed by GitHub
parent 84f4f45e35
commit 6d4d52604a
3 changed files with 25 additions and 1 deletions
@@ -351,3 +351,10 @@ sockets:
admin:
enabled: false
mountOnHost: false
## @param persistence.type What type of volume to use for persistence. Valid options emptyDir (reattestable node attestors) or hostPath (nonr-reattestable node attestors)
## @param persistence.hostPath Which path to use on the host when type = hostPath
##
persistence:
type: emptyDir
hostPath: /var/lib/spire/k8s/agent