fix(argocd): add baseline project and application
- Add `argocd-apps` HelmChart to deploy baseline project and application - Define `baseline` project with source repos, destinations, and cluster resource whitelist - Define `baseline` application with source, destination, and sync policy ArgoCD v5.0 removes support for the parameters server.additionalApplications and server.additionalProjects. Parameters are moved to argocd-apps. See: https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd#500
This commit is contained in:
parent
0ad79e32bd
commit
17675f31d1
1 changed files with 48 additions and 35 deletions
|
@ -22,9 +22,22 @@ spec:
|
||||||
enabled: false
|
enabled: false
|
||||||
server:
|
server:
|
||||||
replicas: 0
|
replicas: 0
|
||||||
additionalProjects:
|
---
|
||||||
|
apiVersion: helm.cattle.io/v1
|
||||||
|
kind: HelmChart
|
||||||
|
metadata:
|
||||||
|
name: argocd-apps
|
||||||
|
namespace: kube-system
|
||||||
|
spec:
|
||||||
|
repo: https://argoproj.github.io/argo-helm
|
||||||
|
chart: argocd-apps
|
||||||
|
targetNamespace: argocd
|
||||||
|
valuesContent: |-
|
||||||
|
projects:
|
||||||
- name: baseline
|
- name: baseline
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
sourceRepos:
|
sourceRepos:
|
||||||
- '*'
|
- '*'
|
||||||
destinations:
|
destinations:
|
||||||
|
@ -33,7 +46,7 @@ spec:
|
||||||
clusterResourceWhitelist:
|
clusterResourceWhitelist:
|
||||||
- group: '*'
|
- group: '*'
|
||||||
kind: '*'
|
kind: '*'
|
||||||
additionalApplications:
|
applications:
|
||||||
- name: baseline
|
- name: baseline
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
project: baseline
|
project: baseline
|
||||||
|
|
Loading…
Reference in a new issue