Added 'debug' flag in values (#143)

* Added 'debug' flag in values

- Helps to set environment on debug mode
- Can fix #142

* Addressed changes
This commit is contained in:
Om Aximani
2022-12-19 22:38:30 +05:30
committed by GitHub
parent 20ee6e9695
commit 196644683c
2 changed files with 5 additions and 0 deletions

View File

@@ -40,6 +40,8 @@ spec:
value: /opt/dashboard/helm/config value: /opt/dashboard/helm/config
- name: HELM_DATA_HOME - name: HELM_DATA_HOME
value: /opt/dashboard/helm/data value: /opt/dashboard/helm/data
- name: DEBUG
value: {{- ternary " 1" "" .Values.debug }}
ports: ports:
- name: http - name: http
containerPort: 8080 containerPort: 8080

View File

@@ -1,5 +1,8 @@
replicaCount: 1 replicaCount: 1
# Flag for setting environment to debug mode
debug: false
image: image:
repository: komodorio/helm-dashboard repository: komodorio/helm-dashboard
pullPolicy: IfNotPresent pullPolicy: IfNotPresent