-
Notifications
You must be signed in to change notification settings - Fork 0
/
helmrelease.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.4.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:c09a5fc6599950f2f445af3372f73e8a403173473ac95936052d2a03fb53e8c8
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:a0749139e4b5654bd2c1267e9cb821021becab9ecbd4c946a4d52cfcd7c6ddc3
podLabels:
policy.gabe565.com/egress-world: "true"
policy.gabe565.com/ingress-namespage: "true"
redis:
master:
podLabels:
policy.gabe565.com/ingress-namespace: "true"