blob: ad34321a3adaad1b76ee81b419be840c01972aa5 [file] [log] [blame]
giolekva050609f2021-12-29 15:51:40 +04001apiVersion: helm.toolkit.fluxcd.io/v2beta1
2kind: HelmRelease
3metadata:
Giorgi Lekveishviliacc4a632023-06-09 12:50:21 +04004 name: namespaces-pihole
5 namespace: {{ .Global.Id }}
6spec:
7 chart:
8 spec:
9 chart: charts/namespaces
10 sourceRef:
11 kind: GitRepository
12 name: pcloud
13 namespace: {{ .Global.Id }}
14 interval: 1m0s
15 values:
16 pcloudInstanceId: {{ .Global.Id }}
17 namespacePrefix: {{ .Global.NamespacePrefix }}
18 namespaces:
19 - app-pihole
20---
21apiVersion: helm.toolkit.fluxcd.io/v2beta1
22kind: HelmRelease
23metadata:
giolekva050609f2021-12-29 15:51:40 +040024 name: pihole
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040025 namespace: {{ .Global.NamespacePrefix }}app-pihole
giolekva050609f2021-12-29 15:51:40 +040026spec:
Giorgi Lekveishviliacc4a632023-06-09 12:50:21 +040027 dependsOn:
28 - name: namespaces-pihole
29 namespace: {{ .Global.Id }}
giolekva050609f2021-12-29 15:51:40 +040030 chart:
31 spec:
32 chart: charts/pihole
33 sourceRef:
34 kind: GitRepository
35 name: pcloud
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040036 namespace: {{ .Global.Id }}
giolekva050609f2021-12-29 15:51:40 +040037 interval: 1m0s
38 values:
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040039 domain: {{ .Values.Subdomain}}.{{ .Global.PrivateDomain }}
giolekva050609f2021-12-29 15:51:40 +040040 pihole:
41 image:
42 repository: "pihole/pihole"
43 tag: v5.8.1
44 persistentVolumeClaim:
45 enabled: true
46 size: 5Gi
47 adminPassword: admin
48 ingress:
49 enabled: false
50 serviceDhcp:
51 enabled: false
52 serviceDns:
53 type: ClusterIP
54 serviceWeb:
55 type: ClusterIP
56 http:
57 enabled: true
58 https:
59 enabled: false
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040060 virtualHost: {{ .Values.Subdomain }}.{{ .Global.PrivateDomain }}
giolekva050609f2021-12-29 15:51:40 +040061 resources:
62 requests:
63 cpu: "250m"
64 memory: "100M"
65 limits:
66 cpu: "500m"
67 memory: "250M"
68 oauth2:
69 clientId: pihole
70 clientSecret: {{ .Values.PiholeOAuth2ClientSecret }}
71 cookieSecret: {{ .Values.PiholeOAuth2CookieSecret }}
72 secretName: oauth2-secret
73 configName: oauth2-proxy
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040074 hydraAdmin: http://hydra-admin.{{ .Global.NamespacePrefix }}core-auth.svc
75 hydraPublic: https://hydra.{{ .Global.Domain }}/
76 profileUrl: https://accounts-ui.{{ .Global.Domain }}
77 ingressClassName: {{ .Global.Id }}-ingress-private