-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathvalues.yaml
1032 lines (912 loc) · 33.6 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
---
# -- Provide a name in place of `authentik`. Prefer using global.nameOverride if possible
nameOverride: ""
# -- String to fully override `"authentik.fullname"`. Prefer using global.fullnameOverride if possible
fullnameOverride: ""
# -- Override the Kubernetes version, which is used to evaluate certain manifests
kubeVersionOverride: ""
## Globally shared configuration for authentik components.
global:
# -- Provide a name in place of `authentik`
nameOverride: ""
# -- String to fully override `"authentik.fullname"`
fullnameOverride: ""
# -- A custom namespace to override the default namespace for the deployed resources.
namespaceOverride: ""
# -- Common labels for all resources.
additionalLabels: {}
# app: authentik
# Number of old deployment ReplicaSets to retain. The rest will be garbage collected.
revisionHistoryLimit: 3
# Default image used by all authentik components. For GeoIP configuration, see the geoip values below.
image:
# -- If defined, a repository applied to all authentik deployments
repository: ghcr.io/goauthentik/server
# -- Overrides the global authentik whose default is the chart appVersion
tag: ""
# -- If defined, an image digest applied to all authentik deployments
digest: ""
# -- If defined, an imagePullPolicy applied to all authentik deployments
pullPolicy: IfNotPresent
# -- Secrets with credentials to pull images from a private registry
imagePullSecrets: []
# -- Annotations for all deployed Deployments
deploymentAnnotations: {}
# -- Annotations for all deployed pods
podAnnotations: {}
# -- Annotations for all deployed secrets
secretAnnotations: {}
# -- Labels for all deployed pods
podLabels: {}
# -- Add Prometheus scrape annotations to all metrics services. This can be used as an alternative to the ServiceMonitors.
addPrometheusAnnotations: false
# -- Toggle and define pod-level security context.
# @default -- `{}` (See [values.yaml])
securityContext: {}
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# -- Mapping between IP and hostnames that will be injected as entries in the pod's hosts files
hostAliases: []
# - ip: 10.20.30.40
# hostnames:
# - my.hostname
# -- Default priority class for all components
priorityClassName: ""
# -- Default node selector for all components
nodeSelector: {}
# -- Default tolerations for all components
tolerations: []
# Default affinity preset for all components
affinity:
# -- Default pod anti-affinity rules. Either: `none`, `soft` or `hard`
podAntiAffinity: soft
# Node affinity rules
nodeAffinity:
# -- Default node affinity rules. Either `none`, `soft` or `hard`
type: hard
# -- Default match expressions for node affinity
matchExpressions: []
# - key: topology.kubernetes.io/zone
# operator: In
# values:
# - zonea
# - zoneb
# -- Default [TopologySpreadConstraints] rules for all components
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# -- Deployment strategy for all deployed Deployments
deploymentStrategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
# -- Environment variables to pass to all deployed Deployments. Does not apply to GeoIP
# See configuration options at https://goauthentik.io/docs/installation/configuration/
# @default -- `[]` (See [values.yaml])
env: []
# - name: AUTHENTIK_VAR_NAME
# value: VALUE
# - name: AUTHENTIK_VAR_OTHER
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: secret-key
# - name: AUTHENTIK_VAR_ANOTHER
# valueFrom:
# configMapKeyRef:
# name: config-map-name
# key: config-map-key
# -- envFrom to pass to all deployed Deployments. Does not apply to GeoIP
# @default -- `[]` (See [values.yaml])
envFrom: []
# - configMapRef:
# name: config-map-name
# - secretRef:
# name: secret-name
# -- Additional volumeMounts to all deployed Deployments. Does not apply to GeoIP
# @default -- `[]` (See [values.yaml])
volumeMounts: []
# - name: custom
# mountPath: /custom
# -- Additional volumes to all deployed Deployments.
# @default -- `[]` (See [values.yaml])
volumes: []
# - name: custom
# emptyDir: {}
## Authentik configuration
authentik:
# -- Log level for server and worker
log_level: info
# -- Secret key used for cookie singing and unique user IDs,
# don't change this after the first install
secret_key: ""
events:
context_processors:
# -- Path for the GeoIP City database. If the file doesn't exist, GeoIP features are disabled.
geoip: /geoip/GeoLite2-City.mmdb
# -- Path for the GeoIP ASN database. If the file doesn't exist, GeoIP features are disabled.
asn: /geoip/GeoLite2-ASN.mmdb
web:
# -- Relative path the authentik instance will be available at. Value _must_ contain both a leading and trailing slash.
path: /
email:
# -- SMTP Server emails are sent from, fully optional
host: ""
# -- SMTP server port
port: 587
# -- SMTP credentials, when left empty, no authentication will be done
username: ""
# -- SMTP credentials, when left empty, no authentication will be done
password: ""
# -- Enable either use_tls or use_ssl, they can't be enabled at the same time.
use_tls: false
# -- Enable either use_tls or use_ssl, they can't be enabled at the same time.
use_ssl: false
# -- Connection timeout
timeout: 30
# -- Email from address, can either be in the format "[email protected]" or "authentik <[email protected]>"
from: ""
outposts:
# -- Template used for managed outposts. The following placeholders can be used
# %(type)s - the type of the outpost
# %(version)s - version of your authentik install
# %(build_hash)s - only for beta versions, the build hash of the image
container_image_base: ghcr.io/goauthentik/%(type)s:%(version)s
error_reporting:
# -- This sends anonymous usage-data, stack traces on errors and
# performance data to sentry.beryju.org, and is fully opt-in
enabled: false
# -- This is a string that is sent to sentry with your error reports
environment: "k8s"
# -- Send PII (Personally identifiable information) data to sentry
send_pii: false
postgresql:
# -- set the postgresql hostname to talk to
# if unset and .Values.postgresql.enabled == true, will generate the default
# @default -- `{{ .Release.Name }}-postgresql`
host: "{{ .Release.Name }}-postgresql"
# -- postgresql Database name
# @default -- `authentik`
name: "authentik"
# -- postgresql Username
# @default -- `authentik`
user: "authentik"
password: ""
port: 5432
redis:
# -- set the redis hostname to talk to
# @default -- `{{ .Release.Name }}-redis-master`
host: "{{ .Release.Name }}-redis-master"
password: ""
blueprints:
# -- List of config maps to mount blueprints from.
# Only keys in the configMap ending with `.yaml` will be discovered and applied.
configMaps: []
# -- List of secrets to mount blueprints from.
# Only keys in the secret ending with `.yaml` will be discovered and applied.
secrets: []
## authentik server
server:
# -- authentik server name
name: server
# -- The number of server pods to run
replicas: 1
## authentik server Horizontal Pod Autoscaler
autoscaling:
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the authentik server
enabled: false
# -- Minimum number of replicas for the authentik server [HPA]
minReplicas: 1
# -- Maximum number of replicas for the authentik server [HPA]
maxReplicas: 5
# -- Average CPU utilization percentage for the authentik server [HPA]
targetCPUUtilizationPercentage: 50
# -- Average memory utilization percentage for the authentik server [HPA]
targetMemoryUtilizationPercentage: ~
# -- Configures the scaling behavior of the target in both Up and Down directions.
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 1
# periodSeconds: 180
# scaleUp:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 2
# periodSeconds: 60
# -- Configures custom HPA metrics for the authentik server
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
metrics: []
## authentik server Pod Disruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
pdb:
# -- Deploy a [PodDistrubtionBudget] for the authentik server
enabled: false
# -- Labels to be added to the authentik server pdb
labels: {}
# -- Annotations to be added to the authentik server pdb
annotations: {}
# -- Number of pods that are available after eviction as number or percentage (eg.: 50%)
# @default -- `""` (defaults to 0 if not specified)
minAvailable: ""
# -- Number of pods that are unavailable after eviction as number or percentage (eg.: 50%)
## Has higher precedence over `server.pdb.minAvailable`
maxUnavailable: ""
## authentik server image
## This should match what is deployed in the worker. Prefer using global.image
image:
# -- Repository to use to the authentik server
# @default -- `""` (defaults to global.image.repository)
repository: "" # defaults to global.image.repository
# -- Tag to use to the authentik server
# @default -- `""` (defaults to global.image.tag)
tag: "" # defaults to global.image.tag
# -- Digest to use to the authentik server
# @default -- `""` (defaults to global.image.digest)
digest: "" # defaults to global.image.digest
# -- Image pull policy to use to the authentik server
# @default -- `""` (defaults to global.image.pullPolicy)
pullPolicy: "" # defaults to global.image.pullPolicy
# -- Secrets with credentials to pull images from a private registry
# @default -- `[]` (defaults to global.imagePullSecrets)
imagePullSecrets: []
# -- Environment variables to pass to the authentik server. Does not apply to GeoIP
# See configuration options at https://goauthentik.io/docs/installation/configuration/
# @default -- `[]` (See [values.yaml])
env: []
# - name: AUTHENTIK_VAR_NAME
# value: VALUE
# - name: AUTHENTIK_VAR_OTHER
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: secret-key
# - name: AUTHENTIK_VAR_ANOTHER
# valueFrom:
# configMapKeyRef:
# name: config-map-name
# key: config-map-key
# -- envFrom to pass to the authentik server. Does not apply to GeoIP
# @default -- `[]` (See [values.yaml])
envFrom: []
# - configMapRef:
# name: config-map-name
# - secretRef:
# name: secret-name
# -- Specify postStart and preStop lifecycle hooks for you authentik server container
lifecycle: {}
# -- Additional containers to be added to the authentik server pod
## Note: Supports use of custom Helm templates
extraContainers: []
# - name: my-sidecar
# image: nginx:latest
# -- Init containers to add to the authentik server pod
## Note: Supports use of custom Helm templates
initContainers: []
# - name: download-tools
# image: alpine:3
# command: [sh, -c]
# args:
# - echo init
# -- Additional volumeMounts to the authentik server main container
volumeMounts: []
# - name: custom
# mountPath: /custom
# -- Additional volumes to the authentik server pod
volumes: []
# - name: custom
# emptyDir: {}
# -- Annotations to be added to the authentik server Deployment
deploymentAnnotations: {}
# -- Annotations to be added to the authentik server pods
podAnnotations: {}
# -- Labels to be added to the authentik server pods
podLabels: {}
# -- Resource limits and requests for the authentik server
resources: {}
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# memory: 512Mi
# authentik server container ports
containerPorts:
# -- http container port
http: 9000
# -- https container port
https: 9443
# -- metrics container port
metrics: 9300
# -- Host Network for authentik server pods
hostNetwork: false
# -- [DNS configuration]
dnsConfig: {}
# -- Alternative DNS policy for authentik server pods
dnsPolicy: ""
# -- serviceAccount to use for authentik server pods
serviceAccountName: ~
# -- authentik server pod-level security context
# @default -- `{}` (See [values.yaml])
securityContext: {}
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# -- authentik server container-level security context
# @default -- See [values.yaml]
containerSecurityContext: {}
# Not all of the following has been tested. Use at your own risk.
# runAsNonRoot: true
# readOnlyRootFilesystem: true
# allowPrivilegeEscalation: false
# seccomProfile:
# type: RuntimeDefault
# capabilities:
# drop:
# - ALL
## Liveness, readiness and startup probes for authentik server
## Ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
livenessProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds after the container has started before [probe] is initiated
initialDelaySeconds: 5
# -- How often (in seconds) to perform the [probe]
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
successThreshold: 1
# -- Number of seconds after which the [probe] times out
timeoutSeconds: 1
## Probe configuration
httpGet:
path: "{{ .Values.authentik.web.path }}-/health/live/"
port: http
readinessProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds after the container has started before [probe] is initiated
initialDelaySeconds: 5
# -- How often (in seconds) to perform the [probe]
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
successThreshold: 1
# -- Number of seconds after which the [probe] times out
timeoutSeconds: 1
## Probe configuration
httpGet:
path: "{{ .Values.authentik.web.path }}-/health/ready/"
port: http
startupProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
failureThreshold: 60
# -- Number of seconds after the container has started before [probe] is initiated
initialDelaySeconds: 5
# -- How often (in seconds) to perform the [probe]
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
successThreshold: 1
# -- Number of seconds after which the [probe] times out
timeoutSeconds: 1
## Probe configuration
httpGet:
path: "{{ .Values.authentik.web.path }}-/health/live/"
port: http
# -- terminationGracePeriodSeconds for container lifecycle hook
terminationGracePeriodSeconds: 30
# -- Prority class for the authentik server pods
# @default -- `""` (defaults to global.priorityClassName)
priorityClassName: ""
# -- [Node selector]
# @default -- `{}` (defaults to global.nodeSelector)
nodeSelector: {}
# -- [Tolerations] for use with node taints
# @default -- `[]` (defaults to global.tolerations)
tolerations: []
# -- Assign custom [affinity] rules to the deployment
# @default -- `{}` (defaults to the global.affinity preset)
affinity: {}
# -- Assign custom [TopologySpreadConstraints] rules to the authentik server
# @default -- `[]` (defaults to global.topologySpreadConstraints)
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# -- Deployment strategy to be added to the authentik server Deployment
# @default -- `{}` (defaults to global.deploymentStrategy)
deploymentStrategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
## authentik server service configuration
service:
# -- authentik server service annotations
annotations: {}
# -- authentik server service labels
labels: {}
# -- authentik server service type
type: ClusterIP
# -- authentik server service http port for NodePort service type (only if `server.service.type` is set to `NodePort`)
nodePortHttp: 30080
# -- authentik server service https port for NodePort service type (only if `server.service.type` is set to `NodePort`)
nodePortHttps: 30443
# -- authentik server service http port
servicePortHttp: 80
# -- authentik server service https port
servicePortHttps: 443
# -- authentik server service http port name
servicePortHttpName: http
# -- authentik server service https port name
servicePortHttpsName: https
# -- authentik server service http port appProtocol
# servicePortHttpAppProtocol: HTTP
# -- authentik server service https port appProtocol
# servicePortHttpsAppProtocol: HTTPS
# -- LoadBalancer will get created with the IP specified in this field
loadBalancerIP: ""
# -- Source IP ranges to allow access to service from
loadBalancerSourceRanges: []
# -- authentik server service external IPs
externalIPs: []
# -- Denotes if this service desires to route external traffic to node-local or cluster-wide endpoints
externalTrafficPolicy: ""
# -- Used to maintain session affinity. Supports `ClientIP` and `None`
sessionAffinity: ""
# -- Session affinity configuration
sessionAffinityConfig: {}
## authentik server metrics service configuration
metrics:
# -- deploy metrics service
enabled: false
service:
# -- metrics service type
type: ClusterIP
# -- metrics service clusterIP. `None` makes a "headless service" (no virtual IP)
clusterIP: ""
# -- metrics service annotations
annotations: {}
# -- metrics service labels
labels: {}
# -- metrics service port
servicePort: 9300
# -- metrics service port name
portName: metrics
serviceMonitor:
# -- enable a prometheus ServiceMonitor
enabled: false
# -- Prometheus ServiceMonitor interval
interval: 30s
# -- Prometheus ServiceMonitor scrape timeout
scrapeTimeout: 3s
# -- Prometheus [RelabelConfigs] to apply to samples before scraping
relabelings: []
# -- Prometheus [MetricsRelabelConfigs] to apply to samples before ingestion
metricRelabelings: []
# -- Prometheus ServiceMonitor selector
selector: {}
# prometheus: kube-prometheus
# -- Prometheus ServiceMonitor scheme
scheme: ""
# -- Prometheus ServiceMonitor tlsConfig
tlsConfig: {}
# -- Prometheus ServiceMonitor namespace
namespace: ""
# -- Prometheus ServiceMonitor labels
labels: {}
# -- Prometheus ServiceMonitor annotations
annotations: {}
ingress:
# -- enable an ingress resource for the authentik server
enabled: false
# -- additional ingress annotations
annotations: {}
# -- additional ingress labels
labels: {}
# -- defines which ingress controller will implement the resource
ingressClassName: ""
# -- List of ingress hosts
hosts: []
# - authentik.domain.tld
# -- List of ingress paths
paths:
- "{{ .Values.authentik.web.path }}"
# -- Ingress path type. One of `Exact`, `Prefix` or `ImplementationSpecific`
pathType: Prefix
# -- additional ingress paths
extraPaths: []
# - path: /*
# pathType: Prefix
# backend:
# service:
# name: ssl-redirect
# port:
# name: use-annotation
# -- ingress TLS configuration
tls: []
# - secretName: authentik-tls
# hosts:
# - authentik.domain.tld
# -- uses `server.service.servicePortHttps` instead of `server.service.servicePortHttp`
https: false
## authentik worker
worker:
# -- authentik worker name
name: worker
# -- The number of worker pods to run
replicas: 1
## authentik worker Horizontal Pod Autoscaler
autoscaling:
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the authentik worker
enabled: false
# -- Minimum number of replicas for the authentik worker [HPA]
minReplicas: 1
# -- Maximum number of replicas for the authentik worker [HPA]
maxReplicas: 5
# -- Average CPU utilization percentage for the authentik worker [HPA]
targetCPUUtilizationPercentage: 50
# -- Average memory utilization percentage for the authentik worker [HPA]
targetMemoryUtilizationPercentage: ~
# -- Configures the scaling behavior of the target in both Up and Down directions.
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 1
# periodSeconds: 180
# scaleUp:
# stabilizationWindowSeconds: 300
# policies:
# - type: Pods
# value: 2
# periodSeconds: 60
# -- Configures custom HPA metrics for the authentik worker
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
metrics: []
## authentik worker Pod Disruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
pdb:
# -- Deploy a [PodDistrubtionBudget] for the authentik worker
enabled: false
# -- Labels to be added to the authentik worker pdb
labels: {}
# -- Annotations to be added to the authentik worker pdb
annotations: {}
# -- Number of pods that are available after eviction as number or percentage (eg.: 50%)
# @default -- `""` (defaults to 0 if not specified)
minAvailable: ""
# -- Number of pods that are unavailable after eviction as number or percentage (eg.: 50%)
## Has higher precedence over `worker.pdb.minAvailable`
maxUnavailable: ""
## authentik worker image
## This should match what is deployed in the server. Prefer using global.image
image:
# -- Repository to use to the authentik worker
# @default -- `""` (defaults to global.image.repository)
repository: "" # defaults to global.image.repository
# -- Tag to use to the authentik worker
# @default -- `""` (defaults to global.image.tag)
tag: "" # defaults to global.image.tag
# -- Digest to use to the authentik worker
# @default -- `""` (defaults to global.image.digest)
digest: "" # defaults to global.image.digest
# -- Image pull policy to use to the authentik worker
# @default -- `""` (defaults to global.image.pullPolicy)
pullPolicy: "" # defaults to global.image.pullPolicy
# -- Secrets with credentials to pull images from a private registry
# @default -- `[]` (defaults to global.imagePullSecrets)
imagePullSecrets: []
# -- Environment variables to pass to the authentik worker. Does not apply to GeoIP
# See configuration options at https://goauthentik.io/docs/installation/configuration/
# @default -- `[]` (See [values.yaml])
env: []
# - name: AUTHENTIK_VAR_NAME
# value: VALUE
# - name: AUTHENTIK_VAR_OTHER
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: secret-key
# - name: AUTHENTIK_VAR_ANOTHER
# valueFrom:
# configMapKeyRef:
# name: config-map-name
# key: config-map-key
# -- envFrom to pass to the authentik worker. Does not apply to GeoIP
# @default -- `[]` (See [values.yaml])
envFrom: []
# - configMapRef:
# name: config-map-name
# - secretRef:
# name: secret-name
# -- Specify postStart and preStop lifecycle hooks for you authentik worker container
lifecycle: {}
# -- Additional containers to be added to the authentik worker pod
## Note: Supports use of custom Helm templates
extraContainers: []
# - name: my-sidecar
# image: nginx:latest
# -- Init containers to add to the authentik worker pod
## Note: Supports use of custom Helm templates
initContainers: []
# - name: download-tools
# image: alpine:3
# command: [sh, -c]
# args:
# - echo init
# -- Additional volumeMounts to the authentik worker main container
volumeMounts: []
# - name: custom
# mountPath: /custom
# -- Additional volumes to the authentik worker pod
volumes: []
# - name: custom
# emptyDir: {}
# -- Annotations to be added to the authentik worker Deployment
deploymentAnnotations: {}
# -- Annotations to be added to the authentik worker pods
podAnnotations: {}
# -- Labels to be added to the authentik worker pods
podLabels: {}
# -- Resource limits and requests for the authentik worker
resources: {}
# requests:
# cpu: 100m
# memory: 512Mi
# limits:
# memory: 512Mi
# -- Host Network for authentik worker pods
hostNetwork: false
# -- [DNS configuration]
dnsConfig: {}
# -- Alternative DNS policy for authentik worker pods
dnsPolicy: ""
# -- serviceAccount to use for authentik worker pods. If set, overrides the value used when serviceAccount.create is true
serviceAccountName: ~
# -- authentik worker pod-level security context
# @default -- `{}` (See [values.yaml])
securityContext: {}
# runAsUser: 1000
# runAsGroup: 1000
# fsGroup: 1000
# -- authentik worker container-level security context
# @default -- See [values.yaml]
containerSecurityContext: {}
# Not all of the following has been tested. Use at your own risk.
# runAsNonRoot: true
# readOnlyRootFilesystem: true
# allowPrivilegeEscalation: false
# seccomProfile:
# type: RuntimeDefault
# capabilities:
# drop:
# - ALL
livenessProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds after the container has started before [probe] is initiated
initialDelaySeconds: 5
# -- How often (in seconds) to perform the [probe]
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
successThreshold: 1
# -- Number of seconds after which the [probe] times out
timeoutSeconds: 1
## Probe configuration
exec:
command:
- ak
- healthcheck
readinessProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
failureThreshold: 3
# -- Number of seconds after the container has started before [probe] is initiated
initialDelaySeconds: 5
# -- How often (in seconds) to perform the [probe]
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
successThreshold: 1
# -- Number of seconds after which the [probe] times out
timeoutSeconds: 1
## Probe configuration
exec:
command:
- ak
- healthcheck
startupProbe:
# -- Minimum consecutive failures for the [probe] to be considered failed after having succeeded
failureThreshold: 60
# -- Number of seconds after the container has started before [probe] is initiated
initialDelaySeconds: 30
# -- How often (in seconds) to perform the [probe]
periodSeconds: 10
# -- Minimum consecutive successes for the [probe] to be considered successful after having failed
successThreshold: 1
# -- Number of seconds after which the [probe] times out
timeoutSeconds: 1
## Probe configuration
exec:
command:
- ak
- healthcheck
# -- terminationGracePeriodSeconds for container lifecycle hook
terminationGracePeriodSeconds: 30
# -- Prority class for the authentik worker pods
# @default -- `""` (defaults to global.priorityClassName)
priorityClassName: ""
# -- [Node selector]
# @default -- `{}` (defaults to global.nodeSelector)
nodeSelector: {}
# -- [Tolerations] for use with node taints
# @default -- `[]` (defaults to global.tolerations)
tolerations: []
# -- Assign custom [affinity] rules to the deployment
# @default -- `{}` (defaults to the global.affinity preset)
affinity: {}
# -- Assign custom [TopologySpreadConstraints] rules to the authentik worker
# @default -- `[]` (defaults to global.topologySpreadConstraints)
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
## If labelSelector is left out, it will default to the labelSelector configuration of the deployment
topologySpreadConstraints: []
# - maxSkew: 1
# topologyKey: topology.kubernetes.io/zone
# whenUnsatisfiable: DoNotSchedule
# -- Deployment strategy to be added to the authentik worker Deployment
# @default -- `{}` (defaults to global.deploymentStrategy)
deploymentStrategy: {}
# type: RollingUpdate
# rollingUpdate:
# maxSurge: 25%
# maxUnavailable: 25%
serviceAccount:
# -- Create service account. Needed for managed outposts
create: true
# -- additional service account annotations
annotations: {}
serviceAccountSecret:
# As we use the authentik-remote-cluster chart as subchart, and that chart
# creates a service account secret by default which we don't need here,
# disable its creation
enabled: false
fullnameOverride: authentik
geoip:
# -- enable GeoIP sidecars for the authentik server and worker pods
enabled: false
editionIds: "GeoLite2-City GeoLite2-ASN"
# -- GeoIP update frequency, in hours
updateInterval: 8
# -- sign up under https://www.maxmind.com/en/geolite2/signup
accountId: ""
# -- sign up under https://www.maxmind.com/en/geolite2/signup
licenseKey: ""
## use existing secret instead of values above
existingSecret:
# -- name of an existing secret to use instead of values above
secretName: ""
# -- key in the secret containing the account ID
accountId: "account_id"
# -- key in the secret containing the license key
licenseKey: "license_key"
image:
# -- If defined, a repository for GeoIP images
repository: ghcr.io/maxmind/geoipupdate
# -- If defined, a tag for GeoIP images
tag: v7.1.0
# -- If defined, an image digest for GeoIP images
digest: ""
# -- If defined, an imagePullPolicy for GeoIP images
pullPolicy: IfNotPresent
# -- Environment variables to pass to the GeoIP containers
# @default -- `[]` (See [values.yaml])
env: []
# - name: GEOIPUPDATE_VAR_NAME
# value: VALUE
# - name: GEOIPUPDATE_VAR_OTHER
# valueFrom:
# secretKeyRef:
# name: secret-name
# key: secret-key
# - name: GEOIPUPDATE_VAR_ANOTHER
# valueFrom:
# configMapKeyRef:
# name: config-map-name
# key: config-map-key
# -- envFrom to pass to the GeoIP containers
# @default -- `[]` (See [values.yaml])
envFrom: []
# - configMapRef:
# name: config-map-name
# - secretRef:
# name: secret-name
# -- Additional volumeMounts to the GeoIP containers. Make sure the volumes exists for the server and the worker.
volumeMounts: []
# - name: custom
# mountPath: /custom
# -- Resource limits and requests for GeoIP containers
resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
# limits:
# memory: 128Mi
# -- GeoIP container-level security context
# @default -- See [values.yaml]
containerSecurityContext: {}
# Not all of the following has been tested. Use at your own risk.
# runAsNonRoot: true
# readOnlyRootFilesystem: true
# allowPrivilegeEscalation: false
# seccomProfile:
# type: RuntimeDefault
# capabilities:
# drop:
# - ALL
prometheus:
rules:
enabled: false
# -- PrometheusRule namespace
namespace: ""
# -- PrometheusRule selector
selector: {}
# prometheus: kube-prometheus
# -- PrometheusRule labels
labels: {}
# -- PrometheusRule annotations
annotations: {}
postgresql:
# -- enable the Bitnami PostgreSQL chart. Refer to https://github.com/bitnami/charts/blob/main/bitnami/postgresql/ for possible values.
enabled: false
image:
repository: bitnami/postgresql
tag: 15.8.0-debian-12-r18
auth:
username: authentik
database: authentik
# password: ""
primary:
extendedConfiguration: |
max_connections = 500
resourcesPreset: "none"
# persistence:
# enabled: true
# storageClass:
# accessModes:
# - ReadWriteOnce
readReplicas:
resourcesPreset: "none"