wip: more or less working argo and cilium helmfile setup
This commit is contained in:
@@ -5,12 +5,15 @@ repositories:
|
||||
- name: argo
|
||||
url: https://argoproj.github.io/argo-helm
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
|
||||
releases:
|
||||
- name: argocd
|
||||
namespace: argocd
|
||||
chart: argo/argo-cd
|
||||
version: 7.5.2
|
||||
condition: install.argo.argocd.enabled
|
||||
condition: argo.enabled
|
||||
values:
|
||||
- ../values/argo/values/argocd.yaml.gotmpl
|
||||
- ../values/argo/values/argocd-{{ .Environment.Name }}.yaml.gotmpl
|
||||
@@ -22,7 +25,7 @@ releases:
|
||||
namespace: argocd
|
||||
chart: argo/argocd-apps
|
||||
version: 0.0.1
|
||||
condition: install.argo.apps.enabled
|
||||
condition: argo.apps.enabled
|
||||
values:
|
||||
- ../values/argo/values/apps.yaml.gotmpl
|
||||
missingFileHandler: Info
|
||||
@@ -30,7 +33,7 @@ releases:
|
||||
namespace: argocd
|
||||
chart: argo/argo-rollouts
|
||||
version: 2.35.2
|
||||
condition: install.argo.rollouts.enabled
|
||||
condition: argo.rollouts.enabled
|
||||
values:
|
||||
- ../values/argo/values/rollouts.yaml.gotmpl
|
||||
missingFileHandler: Info
|
||||
@@ -38,13 +41,17 @@ releases:
|
||||
namespace: argocd
|
||||
chart: argo/argo-workflows
|
||||
version: 0.45.0
|
||||
condition: install.argo.workflows.enabled
|
||||
values:
|
||||
- ../values/argo/values/workflows.yaml.gotmpl
|
||||
condition: argo.workflows.enabled
|
||||
missingFileHandler: Info
|
||||
- name: argo-manifests
|
||||
namespace: argocd
|
||||
chart: _argo
|
||||
condition: argo.enabled
|
||||
values:
|
||||
- ../values/values-{{ requiredEnv "CLUSTER_NAME" }}.yaml
|
||||
- ../values/argo/values.yaml.gotmpl
|
||||
- ../values/argo/values-{{ requiredEnv "CLUSTER_NAME" }}.yaml.gotmpl
|
||||
missingFileHandler: Info
|
||||
hooks:
|
||||
- events: [ prepare, cleanup ]
|
||||
showlogs: true
|
||||
|
||||
@@ -0,0 +1,56 @@
|
||||
bases:
|
||||
- ../envs/environments.yaml.gotmpl
|
||||
|
||||
repositories:
|
||||
- name: cilium
|
||||
url: 'https://helm.cilium.io'
|
||||
|
||||
commonLabels:
|
||||
tier: system
|
||||
|
||||
apiVersions:
|
||||
- monitoring.coreos.com/v1
|
||||
|
||||
releases:
|
||||
- name: cilium
|
||||
namespace: kube-system
|
||||
chart: cilium/cilium
|
||||
version: 1.16.2
|
||||
condition: cilium.enabled
|
||||
values:
|
||||
- ../values/cilium/values/cilium.yaml.gotmpl
|
||||
- ../values/cilium/values/cilium-{{ .Environment.Name }}.yaml.gotmpl
|
||||
missingFileHandler: Info
|
||||
- name: spire-manifests
|
||||
namespace: cilium
|
||||
chart: _sprire-manifests
|
||||
condition: cilium.spire.enabled
|
||||
hooks:
|
||||
- events: [ prepare, cleanup ]
|
||||
showlogs: true
|
||||
command: ../bin/helmify
|
||||
args:
|
||||
- '{{`{{ if eq .Event.Name "prepare" }}build{{ else }}clean{{ end }}`}}'
|
||||
- '{{`{{ .Release.Chart }}`}}'
|
||||
- '{{`{{ .Environment.Name }}`}}'
|
||||
- ../values/cilium/spire-manifests
|
||||
- _spire-manifests
|
||||
- name: cilium-manifests
|
||||
namespace: cilium
|
||||
chart: _cilium-manifests
|
||||
condition: cilium.enabled
|
||||
values:
|
||||
- ../values/values-{{ requiredEnv "CLUSTER_NAME" }}.yaml
|
||||
- ../values/cilium/values.yaml.gotmpl
|
||||
- ../values/cilium/values-{{ requiredEnv "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/cilium/cilium-manifests
|
||||
- _cilium-manifests
|
||||
|
||||
Reference in New Issue
Block a user