diff --git a/helm/install/templates/manager.yaml b/helm/install/templates/manager.yaml index 3877b7b9..3ca42974 100644 --- a/helm/install/templates/manager.yaml +++ b/helm/install/templates/manager.yaml @@ -20,7 +20,7 @@ spec: image: "{{ .Values.image.image }}" env: - name: CRUNCHY_DEBUG - value: "true" + value: {{ if eq .Values.debug false }}"false"{{- else }}"true"{{- end }} {{- range $image_name, $image_val := .Values.relatedImages }} - name: RELATED_IMAGE_{{ $image_name | upper }} value: "{{ $image_val.image }}" diff --git a/helm/install/values.yaml b/helm/install/values.yaml index bcabc206..7be748cd 100644 --- a/helm/install/values.yaml +++ b/helm/install/values.yaml @@ -21,3 +21,7 @@ relatedImages: ## Install in default or single namespace mode singleNamespace: false + +# debug allows you to enable or disable the "debug" level of logging. +# Defaults to the value below. +# debug: true