| giolekva | 050609f | 2021-12-29 15:51:40 +0400 | [diff] [blame^] | 1 | apiVersion: helm.toolkit.fluxcd.io/v2beta1 |
| 2 | kind: HelmRelease |
| 3 | metadata: |
| 4 | name: pihole |
| 5 | namespace: {{ .Values.NamespacePrefix }}app-pihole |
| 6 | spec: |
| 7 | chart: |
| 8 | spec: |
| 9 | chart: charts/pihole |
| 10 | sourceRef: |
| 11 | kind: GitRepository |
| 12 | name: pcloud |
| 13 | namespace: {{ .Values.Id }} |
| 14 | dependsOn: |
| 15 | - name: namespaces |
| 16 | namespace: {{ .Values.Id }} |
| 17 | interval: 1m0s |
| 18 | values: |
| 19 | domain: pihole.p.{{ .Values.Domain }} |
| 20 | pihole: |
| 21 | image: |
| 22 | repository: "pihole/pihole" |
| 23 | tag: v5.8.1 |
| 24 | persistentVolumeClaim: |
| 25 | enabled: true |
| 26 | size: 5Gi |
| 27 | adminPassword: admin |
| 28 | ingress: |
| 29 | enabled: false |
| 30 | serviceDhcp: |
| 31 | enabled: false |
| 32 | serviceDns: |
| 33 | type: ClusterIP |
| 34 | serviceWeb: |
| 35 | type: ClusterIP |
| 36 | http: |
| 37 | enabled: true |
| 38 | https: |
| 39 | enabled: false |
| 40 | virtualHost: pihole.p.{{ .Values.Domain }} |
| 41 | resources: |
| 42 | requests: |
| 43 | cpu: "250m" |
| 44 | memory: "100M" |
| 45 | limits: |
| 46 | cpu: "500m" |
| 47 | memory: "250M" |
| 48 | oauth2: |
| 49 | clientId: pihole |
| 50 | clientSecret: {{ .Values.PiholeOAuth2ClientSecret }} |
| 51 | cookieSecret: {{ .Values.PiholeOAuth2CookieSecret }} |
| 52 | secretName: oauth2-secret |
| 53 | configName: oauth2-proxy |
| 54 | hydraAdmin: http://hydra-admin.{{ .Values.NamespacePrefix}}core-auth.svc.cluster.local |
| 55 | hydraPublic: https://hydra.{{ .Values.Domain }}/ |
| 56 | profileUrl: https://accounts-ui.{{ .Values.Domain }} |
| 57 | ingressClassName: {{ .Values.Id }}-ingress-private |