From fded05946a98f53162edf9e3353ee5520ed3967d Mon Sep 17 00:00:00 2001 From: Giles Knap Date: Sat, 13 Jul 2024 10:40:38 +0100 Subject: [PATCH] fix enalbed defaulting --- Charts/ioc-instance/templates/deployment.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Charts/ioc-instance/templates/deployment.yaml b/Charts/ioc-instance/templates/deployment.yaml index fe7a5b3..59851e5 100644 --- a/Charts/ioc-instance/templates/deployment.yaml +++ b/Charts/ioc-instance/templates/deployment.yaml @@ -12,7 +12,7 @@ to a minimum {{- $autosaveClaim := default (print $ioc_group "-autosave-claim") .Values.autosaveClaim -}} {{- $image := .Values.image | required "ERROR - You must supply image." -}} -{{- $enabled := ternary (eq .Values.global.enabled false) false true -}} +{{- $enabled := eq .Values.global.enabled false | ternary false true -}} apiVersion: apps/v1 kind: StatefulSet