69 lines
1.7 KiB
Go Template
69 lines
1.7 KiB
Go Template
bases:
|
|
- ../envs/environments.yaml.gotmpl
|
|
|
|
repositories:
|
|
- name: argo
|
|
url: 'https://argoproj.github.io/argo-helm'
|
|
|
|
commonLabels:
|
|
tier: system
|
|
|
|
apiVersions:
|
|
- monitoring.coreos.com/v1
|
|
|
|
releases:
|
|
- name: argocd
|
|
namespace: argocd
|
|
chart: argo/argo-cd
|
|
version: 9.5.15
|
|
condition: argo.enabled
|
|
values:
|
|
- ../values/argo/values/argocd.yaml.gotmpl
|
|
- ../values/argo/values/argocd-{{ .Environment.Name }}.yaml.gotmpl
|
|
postRenderer: ../bin/kustomizer
|
|
postRendererArgs:
|
|
- ../values/argo/kustomize/{{ .Environment.Name }}
|
|
missingFileHandler: Info
|
|
- name: argocd-apps
|
|
namespace: argocd
|
|
chart: argo/argocd-apps
|
|
version: 2.0.5
|
|
condition: argo.apps.enabled
|
|
values:
|
|
- ../values/argo/values/apps.yaml.gotmpl
|
|
missingFileHandler: Info
|
|
- name: argo-rollouts
|
|
namespace: argocd
|
|
chart: argo/argo-rollouts
|
|
version: 2.40.9
|
|
condition: argo.rollouts.enabled
|
|
values:
|
|
- ../values/argo/values/rollouts.yaml.gotmpl
|
|
missingFileHandler: Info
|
|
- name: argo-workflows
|
|
namespace: argocd
|
|
chart: argo/argo-workflows
|
|
version: 1.0.14
|
|
condition: argo.workflows.enabled
|
|
missingFileHandler: Info
|
|
- name: manifests
|
|
namespace: argocd
|
|
chart: _argo
|
|
condition: argo.enabled
|
|
missingFileHandler: Info
|
|
values:
|
|
- ../values/env.yaml
|
|
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
|
|
- ../values/argo/env.yaml.gotmpl
|
|
- ../values/argo/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml.gotmpl
|
|
hooks:
|
|
- events: [ prepare, cleanup ]
|
|
showlogs: true
|
|
command: ../bin/helmify
|
|
args:
|
|
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
|
|
- '{{`{{ .Release.Chart }}`}}'
|
|
- '{{`{{ .Environment.Name }}`}}'
|
|
- ../values/argo/manifests
|
|
- _argo
|