Skip to content

Commit 1966446

Browse files
authored
Added 'debug' flag in values (#143)
* Added 'debug' flag in values - Helps to set environment on debug mode - Can fix #142 * Addressed changes
1 parent 20ee6e9 commit 1966446

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

charts/helm-dashboard/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ spec:
4040
value: /opt/dashboard/helm/config
4141
- name: HELM_DATA_HOME
4242
value: /opt/dashboard/helm/data
43+
- name: DEBUG
44+
value: {{- ternary " 1" "" .Values.debug }}
4345
ports:
4446
- name: http
4547
containerPort: 8080

charts/helm-dashboard/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
replicaCount: 1
22

3+
# Flag for setting environment to debug mode
4+
debug: false
5+
36
image:
47
repository: komodorio/helm-dashboard
58
pullPolicy: IfNotPresent

0 commit comments

Comments
 (0)