fix: Add slurm-web-agent helmfile

This commit is contained in:
2025-09-26 13:35:34 +02:00
parent 1f14b6d214
commit ecfa1ddc7e
+38
View File
@@ -0,0 +1,38 @@
bases:
- ../envs/environments.yaml.gotmpl
commonLabels:
tier: oceanbox
releases:
- name: slurm-web-agent
namespace: slurm-web
chart: ../charts/slurm-web-agent
condition: slurm_web_agent.enabled
values:
- ../values/slurm-web-agent/values/values.yaml
- ../values/slurm-web-agent/values/values-{{ .Environment.Name }}.yaml
postRenderer: ../bin/kustomizer
postRendererArgs:
- ../values/slurm-web-agent/kustomize/{{ .Environment.Name }}
missingFileHandler: Info
- name: manifests
namespace: slurm-web
chart: manifests
condition: slurm_web_agent.enabled
missingFileHandler: Info
values:
- ../values/env.yaml
- ../values/env-{{ requiredEnv "ARGOCD_ENV_CLUSTER_NAME" }}.yaml
- ../values/slurm-web-agent/env.yaml.gotmpl
- ../values/slurm-web-agent/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/slurm-web-agent/manifests
- manifests