Skip to content

Commit

Permalink
Added 'debug' flag in values (#143)
Browse files Browse the repository at this point in the history
* Added 'debug' flag in values

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

* Addressed changes
  • Loading branch information
OmAximani0 committed Dec 19, 2022
1 parent 20ee6e9 commit 1966446
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions charts/helm-dashboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions charts/helm-dashboard/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
replicaCount: 1

# Flag for setting environment to debug mode
debug: false

image:
repository: komodorio/helm-dashboard
pullPolicy: IfNotPresent
Expand Down

0 comments on commit 1966446

Please sign in to comment.