From ca56b5ca1b53150d5ec022dad2b667e049781ccb Mon Sep 17 00:00:00 2001 From: wtripp180901 Date: Fri, 10 Jul 2026 15:18:58 +0100 Subject: [PATCH] Add option to use local Helm values for apps Signed-off-by: wtripp180901 --- root/templates/cluster-forge.yaml | 4 +++- root/values.yaml | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/root/templates/cluster-forge.yaml b/root/templates/cluster-forge.yaml index 8f828f2d..f1ece7df 100644 --- a/root/templates/cluster-forge.yaml +++ b/root/templates/cluster-forge.yaml @@ -1,4 +1,5 @@ --- +{{- if not .Values.localHelmValues.enabled }} apiVersion: argoproj.io/v1alpha1 kind: Application metadata: @@ -47,4 +48,5 @@ spec: syncPolicy: automated: prune: true - selfHeal: true \ No newline at end of file + selfHeal: true +{{- end }} \ No newline at end of file diff --git a/root/values.yaml b/root/values.yaml index 6892e5d8..bebc2dd8 100644 --- a/root/values.yaml +++ b/root/values.yaml @@ -9,6 +9,8 @@ externalValues: global: clusterSize: # injected via scripts/bootstrap.sh domain: # injected via scripts/bootstrap.sh +localHelmValues: + enabled: false ociRegistry: dockerHub: "registry-1.docker.io/amdenterpriseai" ghcr: "ghcr.io/silogen"