From 952676061f6ff20d6a7296276558667f90462e79 Mon Sep 17 00:00:00 2001 From: Rodrigo Soares <55877037+rodfsoares@users.noreply.github.com> Date: Thu, 18 Jul 2024 05:19:51 +0100 Subject: [PATCH] fix: optionally enable each microservice (#40) --- templates/bulker/deployment.yaml | 2 ++ templates/console/deployment.yaml | 2 ++ templates/ingest/deployment.yaml | 2 ++ templates/rotor/deployment.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/templates/bulker/deployment.yaml b/templates/bulker/deployment.yaml index 682a21d..ddc900c 100644 --- a/templates/bulker/deployment.yaml +++ b/templates/bulker/deployment.yaml @@ -1,3 +1,4 @@ +{{- if .Values.bulker.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -147,3 +148,4 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} {{- end }} +{{- end }} diff --git a/templates/console/deployment.yaml b/templates/console/deployment.yaml index 6b7e8f7..43a68d3 100644 --- a/templates/console/deployment.yaml +++ b/templates/console/deployment.yaml @@ -1,3 +1,4 @@ +{{- if .Values.console.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -121,3 +122,4 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} {{- end }} +{{- end }} diff --git a/templates/ingest/deployment.yaml b/templates/ingest/deployment.yaml index dbedb7e..1d14a92 100644 --- a/templates/ingest/deployment.yaml +++ b/templates/ingest/deployment.yaml @@ -1,3 +1,4 @@ +{{- if .Values.ingest.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -147,3 +148,4 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} {{- end }} +{{- end }} diff --git a/templates/rotor/deployment.yaml b/templates/rotor/deployment.yaml index 821616a..267b24e 100644 --- a/templates/rotor/deployment.yaml +++ b/templates/rotor/deployment.yaml @@ -1,3 +1,4 @@ +{{- if .Values.rotor.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -165,3 +166,4 @@ spec: {{- toYaml . | nindent 8 }} {{- end }} {{- end }} +{{- end }}