core services

This commit is contained in:
2024-08-21 16:44:58 +05:00
parent b0d3cab889
commit 375e7374e6
6 changed files with 125 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
provider: pihole
policy: upsert-only
txtOwnerId: "homelab"
pihole:
server: http://pihole-web.pihole-system.svc.cluster.local
extraEnvVars:
- name: EXTERNAL_DNS_PIHOLE_PASSWORD
valueFrom:
secretKeyRef:
name: pihole-password
key: password
serviceAccount:
create: true
name: "external-dns"
ingressClassFilters:
- nginx-internal

View File

@@ -0,0 +1,17 @@
controller:
ingressClassResource:
# -- Name of the ingressClass
name: nginx-internal
# -- Is this ingressClass enabled or not
enabled: true
# -- Is this the default ingressClass for the cluster
default: true
# -- Controller-value of the controller that is processing this ingressClass
controllerValue: "k8s.io/ingress-nginx"
# -- Parameters is a link to a custom resource containing additional
# configuration for the controller. This is optional if the controller
# does not require extra parameters.
parameters: {}
# -- For backwards compatibility with ingress.class annotation, use ingressClass.
# Algorithm is as follows, first ingressClassName is considered, if not present, controller looks for ingress.class annotation
ingressClass: nginx-internal

View File

@@ -0,0 +1,20 @@
---
DNS1:
192.168.0.1
persistentVolumeClaim:
enabled: true
ingress:
enabled: true
hosts:
- "pihole.home"
serviceWeb:
loadBalancerIP: 192.168.0.250
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
serviceDns:
loadBalancerIP: 192.168.0.250
annotations:
metallb.universe.tf/allow-shared-ip: pihole-svc
type: LoadBalancer
replicaCount: 1