From cd78ecacf6129d1f88f6d2a4161c2d424c07a092 Mon Sep 17 00:00:00 2001 From: Hendrik Heil Date: Mon, 10 Jun 2024 09:52:26 +0200 Subject: [PATCH] fix: properly render syncctl manifests (#33) --- templates/syncctl/deployment.yaml | 2 ++ templates/syncctl/service.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/templates/syncctl/deployment.yaml b/templates/syncctl/deployment.yaml index bd0f435..555d19f 100644 --- a/templates/syncctl/deployment.yaml +++ b/templates/syncctl/deployment.yaml @@ -1,3 +1,4 @@ +{{- if .Values.syncctl.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -113,3 +114,4 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} {{- end }} +{{- end }} diff --git a/templates/syncctl/service.yaml b/templates/syncctl/service.yaml index ca7b02b..4a706ab 100644 --- a/templates/syncctl/service.yaml +++ b/templates/syncctl/service.yaml @@ -1,3 +1,4 @@ +{{- if .Values.syncctl.enabled }} apiVersion: v1 kind: Service metadata: @@ -14,3 +15,4 @@ spec: selector: {{- include "jitsu.selectorLabels" . | nindent 4 }} {{- include "jitsu.syncctl.selectorLabels" . | nindent 4 }} +{{- end }}