mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
ops(k8s): add coredns
This commit is contained in:
parent
a86498f044
commit
b6146dc75b
3 changed files with 25 additions and 1 deletions
19
k8s/system/coredns/application.yaml
Normal file
19
k8s/system/coredns/application.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: coredns
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
project: system
|
||||||
|
source:
|
||||||
|
repoURL: 'https://coredns.github.io/helm'
|
||||||
|
targetRevision: 1.29.x
|
||||||
|
helm:
|
||||||
|
valuesObject:
|
||||||
|
chart: coredns
|
||||||
|
destination:
|
||||||
|
namespace: kube-system
|
||||||
|
name: in-cluster
|
||||||
|
syncPolicy:
|
||||||
|
syncOptions:
|
||||||
|
- ServerSideApply=true
|
||||||
4
k8s/system/coredns/kustomization.yaml
Normal file
4
k8s/system/coredns/kustomization.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- application.yaml
|
||||||
|
|
@ -3,4 +3,5 @@ kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- project.yaml
|
- project.yaml
|
||||||
- flannel
|
- flannel
|
||||||
- argocd
|
- argocd
|
||||||
|
- coredns
|
||||||
Loading…
Add table
Add a link
Reference in a new issue