diff --git a/k8s/system/coredns/application.yaml b/k8s/system/coredns/application.yaml new file mode 100644 index 00000000..ab21b164 --- /dev/null +++ b/k8s/system/coredns/application.yaml @@ -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 \ No newline at end of file diff --git a/k8s/system/coredns/kustomization.yaml b/k8s/system/coredns/kustomization.yaml new file mode 100644 index 00000000..1f43d0d7 --- /dev/null +++ b/k8s/system/coredns/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- application.yaml diff --git a/k8s/system/kustomization.yaml b/k8s/system/kustomization.yaml index a1fd2163..588252a1 100644 --- a/k8s/system/kustomization.yaml +++ b/k8s/system/kustomization.yaml @@ -3,4 +3,5 @@ kind: Kustomization resources: - project.yaml - flannel -- argocd \ No newline at end of file +- argocd +- coredns \ No newline at end of file