helm: make storage class, size and mode configurable
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
2b48ba4103
commit
7880c7fb98
|
@ -22,6 +22,11 @@
|
|||
| config.email.use_ssl | false | Enable SSL |
|
||||
| config.email.timeout | 10 | SMTP Timeout |
|
||||
| config.email.from | authentik@localhost | Email address authentik will send from, should have a correct @domain |
|
||||
| pvc.mode | ReadWriteMany | Mode that the PVCs are created in (uploads and GeoIP, if enabled) |
|
||||
| pvc.uploadsSize | 5Gi | Size for the uploads PVC |
|
||||
| pvc.uploadsStorageClass | null | Storage class for the uploads PVC (default: use default storage class) |
|
||||
| pvc.geoIpSize | 1Gi | Size for the GeoIP PVC |
|
||||
| pvc.geoIpStorageClass | null | Storage class for the GeoIP PVC (default: use default storage class) |
|
||||
| geoip.enabled | false | Optionally enable GeoIP |
|
||||
| geoip.accountId | | GeoIP MaxMind Account ID |
|
||||
| geoip.licenseKey | | GeoIP MaxMind License key |
|
||||
|
|
|
@ -10,8 +10,9 @@ metadata:
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
- {{ .Values.pvc.mode }}
|
||||
storageClassName: {{ .Values.pvc.geoIpStorageClass }}
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
storage: {{ .Values.pvc.geoIpSize }}
|
||||
{{- end }}
|
||||
|
|
|
@ -9,7 +9,8 @@ metadata:
|
|||
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
- {{ .Values.pvc.mode }}
|
||||
storageClassName: {{ .Values.pvc.uploadsStorageClass }}
|
||||
resources:
|
||||
requests:
|
||||
storage: 5Gi
|
||||
storage: {{ .Values.pvc.uploadsSize }}
|
||||
|
|
|
@ -17,6 +17,13 @@ kubernetesIntegration: true
|
|||
monitoring:
|
||||
enabled: false
|
||||
|
||||
pvc:
|
||||
mode: ReadWriteMany
|
||||
uploadsSize: 5Gi
|
||||
uploadsStorageClass: null
|
||||
geoIpSize: 1Gi
|
||||
geoIpStorageClass: null
|
||||
|
||||
config:
|
||||
# Optionally specify fixed secret_key, otherwise generated automatically
|
||||
# secretKey: _k*@6h2u2@q-dku57hhgzb7tnx*ba9wodcb^s9g0j59@=y(@_o
|
||||
|
|
|
@ -32,6 +32,16 @@ workerReplicas: 1
|
|||
# Enable the Kubernetes integration which lets authentik deploy outposts into kubernetes
|
||||
kubernetesIntegration: true
|
||||
|
||||
monitoring: # Optionally deploy Prometheus Rules and ServiceMonitors
|
||||
enabled: false
|
||||
|
||||
pvc:
|
||||
mode: ReadWriteMany
|
||||
uploadsSize: 5Gi
|
||||
uploadsStorageClass: null
|
||||
geoIpSize: 1Gi
|
||||
geoIpStorageClass: null
|
||||
|
||||
config:
|
||||
# Optionally specify fixed secret_key, otherwise generated automatically
|
||||
# secretKey: _k*@6h2u2@q-dku57hhgzb7tnx*ba9wodcb^s9g0j59@=y(@_o
|
||||
|
|
Reference in New Issue