diff --git a/charts/helm-dashboard/templates/deployment.yaml b/charts/helm-dashboard/templates/deployment.yaml index 8a86623..5108381 100644 --- a/charts/helm-dashboard/templates/deployment.yaml +++ b/charts/helm-dashboard/templates/deployment.yaml @@ -40,6 +40,8 @@ spec: value: /opt/dashboard/helm/config - name: HELM_DATA_HOME value: /opt/dashboard/helm/data + - name: DEBUG + value: {{- ternary " 1" "" .Values.debug }} ports: - name: http containerPort: 8080 diff --git a/charts/helm-dashboard/values.yaml b/charts/helm-dashboard/values.yaml index 168fc76..fac4561 100644 --- a/charts/helm-dashboard/values.yaml +++ b/charts/helm-dashboard/values.yaml @@ -1,5 +1,8 @@ replicaCount: 1 +# Flag for setting environment to debug mode +debug: false + image: repository: komodorio/helm-dashboard pullPolicy: IfNotPresent