From 35feb876e947a1a0269f517e45e405b5d682a53f Mon Sep 17 00:00:00 2001 From: Maximilian Mack Date: Wed, 12 Jul 2023 11:09:10 +0200 Subject: [PATCH] Removes a newline in the securityContext helper The accidentally added newline lead to a always false if condition. "true" != "\r\ntrue" and therefor securityContext was never added. --- cockroachdb/templates/_helpers.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockroachdb/templates/_helpers.tpl b/cockroachdb/templates/_helpers.tpl index 81614668..ac5afedd 100644 --- a/cockroachdb/templates/_helpers.tpl +++ b/cockroachdb/templates/_helpers.tpl @@ -274,7 +274,7 @@ Validate that if user enabled tls, then either self-signed certificates or certi {{- end -}} {{- define "cockroachdb.securityContext.versionValidation" }} -{{/* Allow using `securityContext` for custom images. */}} +{{- /* Allow using `securityContext` for custom images. */}} {{- if ne "cockroachdb/cockroach" .Values.image.repository -}} {{ print true }} {{- else -}}