diff --git a/templates/admintools-deployment.yaml b/templates/admintools-deployment.yaml index 41d62c26..565ce57f 100644 --- a/templates/admintools-deployment.yaml +++ b/templates/admintools-deployment.yaml @@ -1,3 +1,4 @@ +{{- if $.Values.admintools.enabled }} apiVersion: apps/v1 kind: Deployment metadata: @@ -62,3 +63,4 @@ spec: tolerations: {{- toYaml . | nindent 8 }} {{- end }} +{{- end }} diff --git a/templates/admintools-service.yaml b/templates/admintools-service.yaml index 860f0b6f..25ffa349 100644 --- a/templates/admintools-service.yaml +++ b/templates/admintools-service.yaml @@ -1,3 +1,4 @@ +{{- if $.Values.admintools.enabled }} apiVersion: v1 kind: Service metadata: @@ -22,4 +23,4 @@ spec: app.kubernetes.io/name: {{ include "temporal.name" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/component: admintools - +{{- end }}