Added custom coredns resolve config
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 16s
Check with kubeconform / lint (push) Successful in 13s

This commit is contained in:
AB from home.homenet
2025-10-27 11:03:49 +02:00
parent 661c2c31aa
commit 1d8c0c1421
3 changed files with 50 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: kube-system-custom
namespace: argocd
spec:
project: core
destination:
namespace: kube-system
server: https://kubernetes.default.svc
source:
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
targetRevision: HEAD
path: k8s/core/kube-system-custom
syncPolicy:
syncOptions:
- CreateNamespace=false

View File

@@ -0,0 +1,25 @@
apiVersion: v1
kind: ConfigMap
metadata:
annotations:
name: coredns-custom
namespace: kube-system
data:
homenet.server: |
homenet:53 {
errors
cache 30
forward . 10.0.5.1
}
khv.server: |
khv:53 {
errors
cache 30
forward . 10.0.5.1
}
tailscale.server: |
tail2fe2d.ts.net:53 {
errors
cache 30
forward . 100.100.100.100
}

View File

@@ -0,0 +1,7 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- app.yaml
- coredns-internal-resolve.yaml