We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7aeed4c commit d2ec307Copy full SHA for d2ec307
charts/headlamp/templates/deployment.yaml
@@ -230,7 +230,10 @@ spec:
230
{{- end }}
231
args:
232
{{- if .Values.config.inCluster }}
233
- - "-in-cluster"
+ - --in-cluster
234
+ {{- if .Values.config.inClusterContextName }}
235
+ - --in-cluster-context-name={{ .Values.config.inClusterContextName | quote }}
236
+ {{- end }}
237
238
{{- with .Values.config.enableHelm }}
239
- "-enable-helm"
charts/headlamp/values.yaml
@@ -30,6 +30,7 @@ initContainers: []
30
31
config:
32
inCluster: true
33
+ inClusterContextName: "main"
34
# -- base url path at which headlamp should run
35
baseURL: ""
36
oidc:
0 commit comments