Get helm release values (helm show values) via the Kubernetes Dashboard

10/2/2020

Is there a way to call helm show values <chart_name> via the Kubernetes Dashboard (web GUI)?

-- guettli
kubernetes
kubernetes-helm

1 Answer

10/2/2020

It's not possible in a way you asked. But I've used a ConfigMap trick for this:

---
apiVersion: v1
kind: ConfigMap
metadata:
  name: helm-release-{{ .Release.Name }}
data:
  Chart.yaml: |
{{ .Chart | toYaml | indent 4 }}
  values.yaml: |
{{ .Values | toYaml | indent 4 }}

Add this to your helm chart and it will show up on a Dashboard once you make a helm release. This ConfigMap is not used and does not affect anything, it's there just to debug easier.

-- Max Lobur
Source: StackOverflow