From b93c878bb3ae045022012c11d545b25385ca3d05 Mon Sep 17 00:00:00 2001 From: William Hearn Date: Sun, 1 Mar 2026 22:27:32 -0500 Subject: [PATCH] feat(render): Invalid toYaml when string --- charts/drupal/Chart.yaml | 2 +- charts/drupal/README.md | 2 +- charts/drupal/templates/cronjob/cron.yaml | 2 +- charts/drupal/templates/cronjob/drupal-backup.yaml | 2 +- charts/drupal/templates/cronjob/drupal.yaml | 2 +- charts/drupal/templates/job/post-install-site-install.yaml | 4 ++-- charts/drupal/templates/job/post-upgrade-reconfigure.yaml | 4 ++-- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/charts/drupal/Chart.yaml b/charts/drupal/Chart.yaml index 890305f..212476d 100644 --- a/charts/drupal/Chart.yaml +++ b/charts/drupal/Chart.yaml @@ -1,7 +1,7 @@ name: drupal apiVersion: v2 type: application -version: 2.0.0-beta4 +version: 2.0.0-beta5 appVersion: 6.1.4 description: Helm Chart for deploying an enterprise-grade Drupal environment. keywords: diff --git a/charts/drupal/README.md b/charts/drupal/README.md index 71085f9..1b29118 100644 --- a/charts/drupal/README.md +++ b/charts/drupal/README.md @@ -1,6 +1,6 @@ # drupal -![Version: 2.0.0-beta4](https://img.shields.io/badge/Version-2.0.0--beta4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.1.4](https://img.shields.io/badge/AppVersion-6.1.4-informational?style=flat-square) +![Version: 2.0.0-beta5](https://img.shields.io/badge/Version-2.0.0--beta5-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.1.4](https://img.shields.io/badge/AppVersion-6.1.4-informational?style=flat-square) Helm Chart for deploying an enterprise-grade Drupal environment. diff --git a/charts/drupal/templates/cronjob/cron.yaml b/charts/drupal/templates/cronjob/cron.yaml index 2bc62ba..a838087 100644 --- a/charts/drupal/templates/cronjob/cron.yaml +++ b/charts/drupal/templates/cronjob/cron.yaml @@ -64,7 +64,7 @@ spec: # Pre Install scripts {{- if $values.drupal.cron.preInstallScripts }} - {{ toYaml $values.drupal.cron.preInstallScripts | nindent 16 }} + {{ $values.drupal.cron.preInstallScripts | nindent 16 }} {{- end }} {{ $cron.script | indent 16 }} diff --git a/charts/drupal/templates/cronjob/drupal-backup.yaml b/charts/drupal/templates/cronjob/drupal-backup.yaml index 383d591..41bd96a 100644 --- a/charts/drupal/templates/cronjob/drupal-backup.yaml +++ b/charts/drupal/templates/cronjob/drupal-backup.yaml @@ -55,7 +55,7 @@ spec: # Pre Install scripts {{- if .Values.drupal.cron.preInstallScripts }} - {{ toYaml .Values.drupal.cron.preInstallScripts | nindent 16 }} + {{ .Values.drupal.cron.preInstallScripts | nindent 16 }} {{- end }} # Wait for DB to be available diff --git a/charts/drupal/templates/cronjob/drupal.yaml b/charts/drupal/templates/cronjob/drupal.yaml index af347f7..144c27c 100644 --- a/charts/drupal/templates/cronjob/drupal.yaml +++ b/charts/drupal/templates/cronjob/drupal.yaml @@ -55,7 +55,7 @@ spec: # Pre Install scripts {{- if .Values.drupal.cron.preInstallScripts }} - {{ toYaml .Values.drupal.cron.preInstallScripts | nindent 16 }} + {{ .Values.drupal.cron.preInstallScripts | nindent 16 }} {{- end }} # Wait for DB to be available diff --git a/charts/drupal/templates/job/post-install-site-install.yaml b/charts/drupal/templates/job/post-install-site-install.yaml index 3c58712..794878d 100644 --- a/charts/drupal/templates/job/post-install-site-install.yaml +++ b/charts/drupal/templates/job/post-install-site-install.yaml @@ -53,7 +53,7 @@ spec: # Pre Install scripts {{- if .Values.drupal.preInstallScripts }} - {{ toYaml .Values.drupal.preInstallScripts | nindent 14}} + {{ .Values.drupal.preInstallScripts | nindent 14}} {{- end }} {{- if .Values.mysql.enabled }} @@ -199,7 +199,7 @@ spec: # Extra installation scripts {{- if .Values.drupal.postInstallScripts }} - {{ toYaml .Values.drupal.postInstallScripts | nindent 14}} + {{ .Values.drupal.postInstallScripts | nindent 14}} {{- end }} env: {{- include "drupal.env" . | nindent 10 }} diff --git a/charts/drupal/templates/job/post-upgrade-reconfigure.yaml b/charts/drupal/templates/job/post-upgrade-reconfigure.yaml index f02c6be..bd0c3e8 100644 --- a/charts/drupal/templates/job/post-upgrade-reconfigure.yaml +++ b/charts/drupal/templates/job/post-upgrade-reconfigure.yaml @@ -53,7 +53,7 @@ spec: # Pre Upgrade scripts {{- if .Values.drupal.preUpgradeScripts }} - {{ toYaml .Values.drupal.preUpgradeScripts | nindent 14}} + {{ .Values.drupal.preUpgradeScripts | nindent 14}} {{- end }} {{- if .Values.mysql.enabled }} @@ -123,7 +123,7 @@ spec: # Post Upgrade scripts {{- if .Values.drupal.postUpgradeScripts }} - {{ toYaml .Values.drupal.postUpgradeScripts | nindent 14}} + {{ .Values.drupal.postUpgradeScripts | nindent 14}} {{- end }} env: {{- include "drupal.env" . | nindent 10 }}