forked from billimek/k8s-gitops
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmonica.yaml
83 lines (83 loc) · 1.99 KB
/
monica.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
---
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: monica
namespace: default
spec:
releaseName: monica
interval: 5m
chart:
spec:
# renovate: registryUrl=https://k8s-at-home.com/charts/
chart: monica
version: 8.1.2
sourceRef:
kind: HelmRepository
name: k8s-at-home-charts
namespace: flux-system
interval: 5m
values:
image:
repository: monica
tag: 3.7.0-apache
env:
APP_URL: https://monica.eviljungle.com
APP_ENV: production
DB_HOST: monica-mariadb
DB_DATABASE: monica
DB_USERNAME: monica
DEFAULT_MAX_STORAGE_SIZE: 4096
ingress:
main:
enabled: true
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-url: "https://auth.eviljungle.com/oauth2/auth"
nginx.ingress.kubernetes.io/auth-signin: https://auth.eviljungle.com/oauth2/start
hosts:
- host: monica.eviljungle.com
paths:
- path: /
pathType: Prefix
tls:
- hosts:
- monica.eviljungle.com
podAnnotations:
backup.velero.io/backup-volumes: config
persistence:
config:
enabled: true
storageClass: "rook-ceph-block"
size: 2Gi
tolerations:
- key: "arm"
operator: "Exists"
resources:
requests:
memory: 100Mi
cpu: 50m
limits:
memory: 250Mi
mariadb:
enabled: true
# image:
# registry: docker.io
# repository: bitnami/mariadb
# tag: 10.6.5-debian-10-r46
primary:
persistence:
enabled: true
storageClass: "rook-ceph-block"
podAnnotations:
backup.velero.io/backup-volumes: data
auth:
database: monica
username: monica
# tolerations:
# - key: "arm"
# operator: "Exists"
valuesFrom:
- kind: Secret
name: "monica-helm-values"
optional: false