Remove persistence.enabled flag (#274)

This commit is contained in:
Faisal Memon
2023-05-12 16:19:50 +02:00
committed by GitHub
parent b315324244
commit 5489212bb5
3 changed files with 0 additions and 7 deletions
@@ -87,7 +87,6 @@ A Helm chart to install the SPIRE server.
| nodeSelector | object | `{}` | |
| notifier.k8sbundle.namespace | string | `""` | Namespace to push the bundle into, if blank will default to SPIRE Server namespace |
| persistence.accessMode | string | `"ReadWriteOnce"` | |
| persistence.enabled | bool | `true` | Enable persistence used by sqlite3 for spire-server, by the disk KeyStore, and/or by Tornjak. |
| persistence.size | string | `"1Gi"` | |
| persistence.storageClass | string | `nil` | |
| podAnnotations | object | `{}` | |
@@ -104,11 +104,9 @@ spec:
- name: spire-config
mountPath: /run/spire/config
readOnly: true
{{- if eq (.Values.persistence.enabled | toString) "true" }}
- name: spire-data
mountPath: /run/spire/data
readOnly: false
{{- end }}
{{- if eq (.Values.upstreamAuthority.disk.enabled | toString) "true" }}
- name: upstream-ca
mountPath: /run/spire/upstream_ca
@@ -198,7 +196,6 @@ spec:
{{- toYaml .Values.extraVolumes | nindent 8 }}
{{- end }}
volumeClaimTemplates:
{{- if eq (.Values.persistence.enabled | toString) "true" }}
- metadata:
name: spire-data
spec:
@@ -210,4 +207,3 @@ spec:
{{- if .Values.persistence.storageClass }}
storageClassName: {{ .Values.persistence.storageClass }}
{{- end }}
{{ end }}
@@ -78,8 +78,6 @@ affinity: {}
topologySpreadConstraints: []
persistence:
# -- Enable persistence used by sqlite3 for spire-server, by the disk KeyStore, and/or by Tornjak.
enabled: true
size: 1Gi
accessMode: ReadWriteOnce
storageClass: null