Stage CoreDNS Helm adoption without automatic sync
This commit is contained in:
1 parent
efc4bd7b94
commit
65ee0aa703
5 files changed
+161
No files matched your search
@@ -0,0 +1,24 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: coredns
|
||||
namespace: argocd
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "-1"
|
||||
spec:
|
||||
description: Kubernetes cluster DNS
|
||||
sourceRepos:
|
||||
- https://coredns.github.io/helm
|
||||
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
destinations:
|
||||
- namespace: kube-system
|
||||
server: https://kubernetes.default.svc
|
||||
namespaceResourceWhitelist:
|
||||
- group: ""
|
||||
kind: ConfigMap
|
||||
- group: ""
|
||||
kind: Service
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
- group: policy
|
||||
kind: PodDisruptionBudget
|
||||
@@ -0,0 +1,28 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: coredns
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: coredns
|
||||
sources:
|
||||
- repoURL: https://coredns.github.io/helm
|
||||
chart: coredns
|
||||
targetRevision: 1.49.0
|
||||
helm:
|
||||
releaseName: coredns
|
||||
valueFiles:
|
||||
- $values/apps/coredns/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kube-system
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: false
|
||||
prune: false
|
||||
selfHeal: false
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
@@ -79,3 +79,5 @@ resources:
|
||||
- elastic-project.yaml
|
||||
- elastic-operator.yaml
|
||||
- elastic.yaml
|
||||
- coredns-project.yaml
|
||||
- coredns.yaml
|
||||
Reference in new issue
Block a user