7880c7fb98
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
19 lines
555 B
YAML
19 lines
555 B
YAML
{{- if .Values.geoip.enabled -}}
|
|
apiVersion: v1
|
|
kind: PersistentVolumeClaim
|
|
metadata:
|
|
name: {{ include "authentik.fullname" . }}-geoip
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "authentik.name" . }}
|
|
helm.sh/chart: {{ include "authentik.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
spec:
|
|
accessModes:
|
|
- {{ .Values.pvc.mode }}
|
|
storageClassName: {{ .Values.pvc.geoIpStorageClass }}
|
|
resources:
|
|
requests:
|
|
storage: {{ .Values.pvc.geoIpSize }}
|
|
{{- end }}
|