Add Controller enable/disable flag in Helm Charts (#2620)

* add controller enablement flag
* throw error if service not found
This commit is contained in:
neha_gupta
2022-11-15 17:56:08 +05:30
committed by GitHub
parent 3b2a86a8c9
commit d2f201b721
10 changed files with 18 additions and 2 deletions
@@ -1,3 +1,4 @@
{{- if or (.Values.controller.enabled) (.Values.influxdb.enabled) }}
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -93,4 +94,5 @@ spec:
{{- end }}
{{- if .Values.extraCoreComponentPodConfig }}
{{ toYaml .Values.extraCoreComponentPodConfig | indent 6 -}}
{{- end }}
{{- end }}
{{- end -}}