mirror of
https://github.com/komodorio/helm-dashboard.git
synced 2026-03-24 11:48:04 +00:00
@@ -34,14 +34,18 @@ spec:
|
|||||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
|
||||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||||
env:
|
env:
|
||||||
- name: HELM_CACHE_HOME
|
- name: HELM_CACHE_HOME
|
||||||
value: /opt/dashboard/helm/cache
|
value: /opt/dashboard/helm/cache
|
||||||
- name: HELM_CONFIG_HOME
|
- name: HELM_CONFIG_HOME
|
||||||
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
|
- name: DEBUG
|
||||||
value: {{- ternary " 1" "" .Values.debug }}
|
value: {{- ternary " 1" "" .Values.debug }}
|
||||||
|
{{- if .Values.dashboard.namespace }}
|
||||||
|
- name: HELM_NAMESPACE
|
||||||
|
value: {{ .Values.dashboard.namespace }}
|
||||||
|
{{end}}
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8080
|
containerPort: 8080
|
||||||
@@ -57,8 +61,8 @@ spec:
|
|||||||
resources:
|
resources:
|
||||||
{{- toYaml .Values.resources | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /opt/dashboard/helm
|
mountPath: /opt/dashboard/helm
|
||||||
{{- with .Values.nodeSelector }}
|
{{- with .Values.nodeSelector }}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
{{- toYaml . | nindent 8 }}
|
{{- toYaml . | nindent 8 }}
|
||||||
@@ -77,5 +81,5 @@ spec:
|
|||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: {{ include "helm-dashboard.fullname" . }}
|
claimName: {{ include "helm-dashboard.fullname" . }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
emptyDir: {}
|
emptyDir: { }
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|||||||
@@ -30,6 +30,10 @@ resources:
|
|||||||
|
|
||||||
dashboard:
|
dashboard:
|
||||||
allowWriteActions: true
|
allowWriteActions: true
|
||||||
|
|
||||||
|
# default namespace for Helm operations
|
||||||
|
namespace: ""
|
||||||
|
|
||||||
persistence:
|
persistence:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user