wip: use separate toplevel helmfile.d and values/

This commit is contained in:
2025-05-16 10:46:38 +02:00
parent 55c6bb5923
commit ddc95aad80
34 changed files with 404 additions and 151 deletions
+59
View File
@@ -0,0 +1,59 @@
bases:
- ../base/environments.yaml.gotmpl
repositories:
- name: argo
url: https://argoproj.github.io/argo-helm
releases:
- name: argocd
namespace: argocd
chart: argo/argo-cd
version: 7.5.2
values:
- values/argocd.yaml.gotmpl
- values/argocd-{{ .Environment.Name }}.yaml.gotmpl
- values/argocd-{{ requiredEnv "CLUSTER_NAME" }}.yaml.gotmpl
postRenderer: ../../bin/kustomizer
postRendererArgs:
- kustomize/{{ .Environment.Name }}
missingFileHandler: Info
- name: argocd-apps
namespace: argocd
chart: argo/argocd-apps
version: 0.0.1
condition: install.argo.apps.enabled
values:
- values/apps.yaml.gotmpl
- values/apps-{{ requiredEnv "CLUSTER_NAME" }}.yaml.gotmpl
missingFileHandler: Info
- name: argo-rollouts
namespace: argocd
chart: argo/argo-rollouts
version: 2.35.2
condition: install.argo.rollouts.enabled
values:
- values/rollouts.yaml.gotmpl
- values/rollouts-{{ requiredEnv "CLUSTER_NAME" }}.yaml.gotmpl
missingFileHandler: Info
- name: argo-workflows
namespace: argocd
chart: argo/argo-workflows
version: 0.45.0
condition: install.argo.workflows.enabled
values:
- values/workflows.yaml.gotmpl
- values/workflows-{{ requiredEnv "CLUSTER_NAME" }}.yaml.gotmpl
missingFileHandler: Info
- name: manifests
namespace: argocd
chart: _manifests
hooks:
- events: [ prepare, cleanup ]
showlogs: true
command: ../../bin/helmify
args:
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
- '{{`{{ .Release.Chart }}`}}'
- '{{`{{ .Environment.Name }}`}}'