-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelm.yaml
96 lines (94 loc) · 2.9 KB
/
helm.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
---
apiVersion: source.toolkit.fluxcd.io/v1
kind: HelmRepository
metadata:
name: obico
namespace: obico
spec:
interval: 1m0s
url: https://charts.gabe565.com
---
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: obico
namespace: obico
spec:
chart:
spec:
chart: obico
version: 0.6.0
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
namespace: obico
name: obico
interval: 1h
driftDetection:
mode: enabled
suspend: true
values:
server:
env:
EMAIL_HOST: email.mcswain.dev
EMAIL_HOST_USER: obico
DEFAULT_FROM_EMAIL: obico@mcswain.dev
EMAIL_PORT: '465'
EMAIL_USE_TLS: 'False'
EMAIL_USE_SSL: 'True'
envFrom:
- secretRef:
name: obico
persistence:
data:
enabled: true
storageClass: longhorn-ssd
accessMode: ReadWriteOnce
size: 512M
media:
enabled: true
storageClass: longhorn-nvme
accessMode: ReadWriteOnce
size: 8Gi
ingress:
main:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 64m
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: cloudflare
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/server-snippet: |-
location /admin {
deny all;
}
hosts:
- host: obico.mcswain.dev
paths:
- path: /
tls:
- secretName: obico-mcswain-dev
hosts:
- obico.mcswain.dev
admin:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 64m
kubernetes.io/tls-acme: "true"
cert-manager.io/cluster-issuer: cloudflare
nginx.ingress.kubernetes.io/app-root: /admin
nginx.ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/auth-response-headers: Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-email,X-authentik-name,X-authentik-uid
nginx.ingress.kubernetes.io/auth-signin: https://authentik.mcswain.dev/outpost.goauthentik.io/start?rd=$escaped_request_uri
nginx.ingress.kubernetes.io/auth-snippet: proxy_set_header X-Forwarded-Host $http_host;
nginx.ingress.kubernetes.io/auth-url: http://ak-outpost-authentik-embedded-outpost.authentik.svc.cluster.local:9000/outpost.goauthentik.io/auth/nginx
hosts:
- host: admin.obico.mcswain.dev
paths:
- path: /
tls:
- secretName: admin-obico-mcswain-dev
hosts:
- admin.obico.mcswain.dev