-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhelmrelease.yaml
76 lines (71 loc) · 2 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
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: flux-system
name: gabe565
interval: 1h
driftDetection:
mode: enabled
values:
server:
image:
repository: ghcr.io/gabe565/obico/web
tag: latest@sha256:90f1ff9c11cf897bfdc07118e5190799e2082e194ef17e64ed67f5a74fd1a092
env:
DJANGO_SECRET_KEY: ${django_secret_key}
EMAIL_HOST: ${smtp_hostname}
EMAIL_HOST_USER: ${smtp_username}
EMAIL_HOST_PASSWORD: ${email_host_password}
DEFAULT_FROM_EMAIL: ${smtp_username}
EMAIL_PORT: '587'
EMAIL_USE_TLS: 'True'
TELEGRAM_BOT_TOKEN: ${telegram_bot_token}
podLabels:
policy.gabe565.com/egress-namespace: "true"
policy.gabe565.com/egress-world: "true"
policy.gabe565.com/ingress-ingress: "true"
persistence:
data:
enabled: true
storageClass: longhorn-ssd
accessMode: ReadWriteOnce
size: 512M
media:
enabled: true
storageClass: nfs-client
accessMode: ReadWriteMany
size: 8Gi
ingress:
main:
enabled: true
annotations:
nginx.ingress.kubernetes.io/proxy-body-size: 64m
hosts:
- host: ${app_url}
paths:
- path: /
tls:
- secretName: ${certificate_name}
hosts:
- ${app_url}
ml-api:
image:
repository: ghcr.io/gabe565/obico/ml-api
tag: latest@sha256:477a8d29c5efb25f845feef909cb530e2f00235de2809343a89b3cf61974ba36
podLabels:
policy.gabe565.com/egress-world: "true"
policy.gabe565.com/ingress-namespage: "true"
redis:
master:
podLabels:
policy.gabe565.com/ingress-namespace: "true"