Added custom coredns resolve config
This commit is contained in:
18
k8s/core/kube-system-custom/app.yaml
Normal file
18
k8s/core/kube-system-custom/app.yaml
Normal 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
|
||||
|
||||
25
k8s/core/kube-system-custom/coredns-internal-resolve.yaml
Normal file
25
k8s/core/kube-system-custom/coredns-internal-resolve.yaml
Normal 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
|
||||
}
|
||||
7
k8s/core/kube-system-custom/kustomization.yaml
Normal file
7
k8s/core/kube-system-custom/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- app.yaml
|
||||
- coredns-internal-resolve.yaml
|
||||
|
||||
Reference in New Issue
Block a user