Declare Kubernetes Dashboard Argo adoption without pruning
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata:
|
||||
name: kubernetes-dashboard
|
||||
namespace: argocd
|
||||
spec:
|
||||
sourceRepos:
|
||||
- https://brunner.ninja/charts
|
||||
- https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
destinations:
|
||||
- server: https://kubernetes.default.svc
|
||||
namespace: kubernetes-dashboard
|
||||
clusterResourceWhitelist:
|
||||
- group: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
- group: rbac.authorization.k8s.io
|
||||
kind: ClusterRoleBinding
|
||||
namespaceResourceWhitelist:
|
||||
- group: ""
|
||||
kind: ConfigMap
|
||||
- group: ""
|
||||
kind: Service
|
||||
- group: ""
|
||||
kind: ServiceAccount
|
||||
- group: apps
|
||||
kind: Deployment
|
||||
- group: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
- group: rbac.authorization.k8s.io
|
||||
kind: RoleBinding
|
||||
- group: policy
|
||||
kind: PodDisruptionBudget
|
||||
- group: networking.k8s.io
|
||||
kind: NetworkPolicy
|
||||
@@ -0,0 +1,32 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: kubernetes-dashboard
|
||||
namespace: argocd
|
||||
spec:
|
||||
project: kubernetes-dashboard
|
||||
sources:
|
||||
- repoURL: https://brunner.ninja/charts
|
||||
chart: kubernetes-dashboard
|
||||
targetRevision: 7.14.0
|
||||
helm:
|
||||
releaseName: kubernetes-dashboard
|
||||
valueFiles:
|
||||
- $values/apps/kubernetes-dashboard/values.yaml
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
ref: values
|
||||
- repoURL: https://code.brunner.ninja/feedc0de/homelab-gitops.git
|
||||
targetRevision: main
|
||||
path: apps/kubernetes-dashboard/resources
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: kubernetes-dashboard
|
||||
syncPolicy:
|
||||
automated:
|
||||
enabled: false
|
||||
prune: false
|
||||
selfHeal: false
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- ServerSideApply=true
|
||||
@@ -59,6 +59,8 @@ resources:
|
||||
- diun-project.yaml
|
||||
- diun.yaml
|
||||
- influxdb2.yaml
|
||||
- kubernetes-dashboard-project.yaml
|
||||
- kubernetes-dashboard.yaml
|
||||
- brunner-ninja.yaml
|
||||
- coturn.yaml
|
||||
- flaresolverr.yaml
|
||||
|
||||
Reference in New Issue
Block a user