blob: 16e7abf2182327baf77b06a2fb07f53c252b03f4 [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 Lekveishvilic9211392023-06-12 18:30:14 +040025 namespace: {{ .Global.Id }}
giolekva050609f2021-12-29 15:51:40 +040026spec:
Giorgi Lekveishvilic9211392023-06-12 18:30:14 +040027 targetNamespace: {{ .Global.NamespacePrefix }}
Giorgi Lekveishviliacc4a632023-06-09 12:50:21 +040028 dependsOn:
29 - name: namespaces-pihole
30 namespace: {{ .Global.Id }}
giolekva050609f2021-12-29 15:51:40 +040031 chart:
32 spec:
33 chart: charts/pihole
34 sourceRef:
35 kind: GitRepository
36 name: pcloud
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040037 namespace: {{ .Global.Id }}
giolekva050609f2021-12-29 15:51:40 +040038 interval: 1m0s
39 values:
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040040 domain: {{ .Values.Subdomain}}.{{ .Global.PrivateDomain }}
giolekva050609f2021-12-29 15:51:40 +040041 pihole:
42 image:
43 repository: "pihole/pihole"
44 tag: v5.8.1
45 persistentVolumeClaim:
46 enabled: true
47 size: 5Gi
48 adminPassword: admin
49 ingress:
50 enabled: false
51 serviceDhcp:
52 enabled: false
53 serviceDns:
54 type: ClusterIP
55 serviceWeb:
56 type: ClusterIP
57 http:
58 enabled: true
59 https:
60 enabled: false
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040061 virtualHost: {{ .Values.Subdomain }}.{{ .Global.PrivateDomain }}
giolekva050609f2021-12-29 15:51:40 +040062 resources:
63 requests:
64 cpu: "250m"
65 memory: "100M"
66 limits:
67 cpu: "500m"
68 memory: "250M"
69 oauth2:
70 clientId: pihole
71 clientSecret: {{ .Values.PiholeOAuth2ClientSecret }}
72 cookieSecret: {{ .Values.PiholeOAuth2CookieSecret }}
73 secretName: oauth2-secret
74 configName: oauth2-proxy
Giorgi Lekveishvili28ad4512023-06-02 11:44:27 +040075 hydraAdmin: http://hydra-admin.{{ .Global.NamespacePrefix }}core-auth.svc
76 hydraPublic: https://hydra.{{ .Global.Domain }}/
77 profileUrl: https://accounts-ui.{{ .Global.Domain }}
78 ingressClassName: {{ .Global.Id }}-ingress-private