From 791934f826d610520c467ec2a82695843188951d Mon Sep 17 00:00:00 2001 From: Tom Klapiscak <7372253+tomklapiscak@users.noreply.github.com> Date: Tue, 30 Apr 2024 14:28:16 +0100 Subject: [PATCH] make appsets pass on values as yaml (for readability in Application manifests --- .../ibm-mas-account-root/templates/000-cluster-appset.yaml | 3 +-- .../ibm-mas-cluster-root/templates/099-instance-appset.yaml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/root-applications/ibm-mas-account-root/templates/000-cluster-appset.yaml b/root-applications/ibm-mas-account-root/templates/000-cluster-appset.yaml index a36279c33..fd83ed4e7 100644 --- a/root-applications/ibm-mas-account-root/templates/000-cluster-appset.yaml +++ b/root-applications/ibm-mas-account-root/templates/000-cluster-appset.yaml @@ -73,8 +73,7 @@ spec: path: root-applications/ibm-mas-cluster-root helm: releaseName: clusterappset - values: | - {{ `{{toRawJson .}}` }} + values: "{{ `{{ toYaml . }}` }}" parameters: - name: "generator.repoURL" value: "{{ .Values.generator.repoURL }}" diff --git a/root-applications/ibm-mas-cluster-root/templates/099-instance-appset.yaml b/root-applications/ibm-mas-cluster-root/templates/099-instance-appset.yaml index 376f77da6..875d846cc 100644 --- a/root-applications/ibm-mas-cluster-root/templates/099-instance-appset.yaml +++ b/root-applications/ibm-mas-cluster-root/templates/099-instance-appset.yaml @@ -75,8 +75,7 @@ spec: path: root-applications/ibm-mas-instance-root helm: releaseName: instanceappset - values: | - {{ `{{toRawJson .}}` }} + values: "{{ `{{ toYaml . }}` }}" parameters: - name: "generator.repoURL" value: "{{ .Values.generator.repoURL }}"