-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
helmrelease.yaml
60 lines (56 loc) · 1.43 KB
/
helmrelease.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
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/fluxcd-community/flux2-schemas/main/helmrelease-helm-v2beta2.json
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: authentik-redis
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 2.6.0
interval: 30m
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
values:
controllers:
main:
annotations:
secret.reloader.stakater.com/reload: authentik-redis-secret
pod:
automountServiceAccountToken: false
containers:
main:
image:
repository: public.ecr.aws/docker/library/redis
tag: 7.2.4
command:
- sh
args:
- -c
- >-
redis-server --requirepass $REDIS_PASSWORD
env:
REDIS_PORT: &port 6379
REDIS_PASSWORD:
valueFrom:
secretKeyRef:
name: authentik-redis-secret
key: AUTHENTIK_REDIS_PASSWORD
resources:
requests:
cpu: 5m
memory: 128M
limits:
memory: 256M
service:
main:
ports:
http:
enabled: false
redis:
enabled: true
port: *port