Added patch to add cluster specific values
This commit is contained in:
parent
179c399b09
commit
fe73a41286
5 changed files with 32 additions and 9 deletions
|
|
@ -18,18 +18,12 @@ spec:
|
|||
name: in-cluster
|
||||
namespace: argocd
|
||||
sources:
|
||||
- repoURL: https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/DevFW-CICD/argocd-helm.git
|
||||
- repoURL: https://edp.buildth.ing/DevFW-CICD/argocd-helm.git
|
||||
path: charts/argo-cd
|
||||
# TODO: RIRE Can be updated when https://github.com/argoproj/argo-cd/issues/20790 is fixed and merged
|
||||
# As logout make problems, it is suggested to switch from path based routing to an own argocd domain,
|
||||
# similar to the CNOE amazon reference implementation and in our case, Forgejo
|
||||
targetRevision: argo-cd-7.8.14-depends
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/core/argocd/values.yaml
|
||||
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
||||
- $values/registry/base/core/argocd/values.yaml
|
||||
- repoURL: https://edp.buildth.ing/waldemar.kindler/edp-gitops
|
||||
targetRevision: HEAD
|
||||
ref: values
|
||||
- repoURL: https://{{{ .Env.CLIENT_REPO_DOMAIN }}}/{{{ .Env.CLIENT_REPO_ORG_NAME }}}
|
||||
targetRevision: HEAD
|
||||
path: "{{{ .Env.CLIENT_REPO_ID }}}/{{{ .Env.DOMAIN }}}/stacks/core/argocd/manifests"
|
||||
2
registry/base/core/kustomization.yaml
Normal file
2
registry/base/core/kustomization.yaml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
resources:
|
||||
- argocd.yaml
|
||||
11
registry/overlays/clusters/t09.de/abc/kustomization.yaml
Normal file
11
registry/overlays/clusters/t09.de/abc/kustomization.yaml
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
resources:
|
||||
- ../../../../base/core/
|
||||
|
||||
patches:
|
||||
- target:
|
||||
kind: Application
|
||||
patch: |
|
||||
- op: add
|
||||
path: /spec/sources/0/helm/valueFiles/-
|
||||
value:
|
||||
$values/registry/overlays/clusters/t09.de/abc/core/argocd/values.yaml
|
||||
16
registry/overlays/clusters/t09.de/abc/patch.yaml
Normal file
16
registry/overlays/clusters/t09.de/abc/patch.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: argocd
|
||||
namespace: argocd
|
||||
labels:
|
||||
env: dev
|
||||
spec:
|
||||
sources:
|
||||
- repoURL: https://edp.buildth.ing/DevFW-CICD/argocd-helm.git
|
||||
path: charts/argo-cd
|
||||
targetRevision: argo-cd-7.8.14-depends
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/registry/base/core/argocd/values.yaml
|
||||
- $values/registry/overlays/clusters/t09.de/abc/core/argocd/values.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue