Remove persistence.enabled flag (#274)
This commit is contained in:
@@ -87,7 +87,6 @@ A Helm chart to install the SPIRE server.
|
|||||||
| nodeSelector | object | `{}` | |
|
| nodeSelector | object | `{}` | |
|
||||||
| notifier.k8sbundle.namespace | string | `""` | Namespace to push the bundle into, if blank will default to SPIRE Server namespace |
|
| notifier.k8sbundle.namespace | string | `""` | Namespace to push the bundle into, if blank will default to SPIRE Server namespace |
|
||||||
| persistence.accessMode | string | `"ReadWriteOnce"` | |
|
| 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.size | string | `"1Gi"` | |
|
||||||
| persistence.storageClass | string | `nil` | |
|
| persistence.storageClass | string | `nil` | |
|
||||||
| podAnnotations | object | `{}` | |
|
| podAnnotations | object | `{}` | |
|
||||||
|
|||||||
@@ -104,11 +104,9 @@ spec:
|
|||||||
- name: spire-config
|
- name: spire-config
|
||||||
mountPath: /run/spire/config
|
mountPath: /run/spire/config
|
||||||
readOnly: true
|
readOnly: true
|
||||||
{{- if eq (.Values.persistence.enabled | toString) "true" }}
|
|
||||||
- name: spire-data
|
- name: spire-data
|
||||||
mountPath: /run/spire/data
|
mountPath: /run/spire/data
|
||||||
readOnly: false
|
readOnly: false
|
||||||
{{- end }}
|
|
||||||
{{- if eq (.Values.upstreamAuthority.disk.enabled | toString) "true" }}
|
{{- if eq (.Values.upstreamAuthority.disk.enabled | toString) "true" }}
|
||||||
- name: upstream-ca
|
- name: upstream-ca
|
||||||
mountPath: /run/spire/upstream_ca
|
mountPath: /run/spire/upstream_ca
|
||||||
@@ -198,7 +196,6 @@ spec:
|
|||||||
{{- toYaml .Values.extraVolumes | nindent 8 }}
|
{{- toYaml .Values.extraVolumes | nindent 8 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
volumeClaimTemplates:
|
volumeClaimTemplates:
|
||||||
{{- if eq (.Values.persistence.enabled | toString) "true" }}
|
|
||||||
- metadata:
|
- metadata:
|
||||||
name: spire-data
|
name: spire-data
|
||||||
spec:
|
spec:
|
||||||
@@ -210,4 +207,3 @@ spec:
|
|||||||
{{- if .Values.persistence.storageClass }}
|
{{- if .Values.persistence.storageClass }}
|
||||||
storageClassName: {{ .Values.persistence.storageClass }}
|
storageClassName: {{ .Values.persistence.storageClass }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{ end }}
|
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ affinity: {}
|
|||||||
topologySpreadConstraints: []
|
topologySpreadConstraints: []
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
# -- Enable persistence used by sqlite3 for spire-server, by the disk KeyStore, and/or by Tornjak.
|
|
||||||
enabled: true
|
|
||||||
size: 1Gi
|
size: 1Gi
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
storageClass: null
|
storageClass: null
|
||||||
|
|||||||
Reference in New Issue
Block a user