File tree Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Expand file tree Collapse file tree 4 files changed +19
-6
lines changed Original file line number Diff line number Diff line change 40
40
kubectl --namespace={{ .Release.Namespace }} logs --previous <name of pod>
41
41
{{- println }}
42
42
43
+ {{- if .Values.proxy.enabled }}
43
44
{{- if eq .Values.proxy.service.type "LoadBalancer" }}
44
45
- Verify an external IP is provided for the k8s Service {{ $proxy_service }}.
45
46
84
85
85
86
Try insecure HTTP access: http://localhost:8080
86
87
{{- end }}
88
+ {{- end }}
89
+ You disabled proxy pod and service creation. This means that your proxy should be set up manually.
90
+
91
+ Please follow documentation of
92
+ current proxy class (see c.Jupyterhub.proxy_class setting), e.g. KubeIngressProxy
87
93
{{- end }}
88
94
{{- println }}
89
95
Original file line number Diff line number Diff line change
1
+ {{- $enabled := .Values.proxy.enabled -}}
2
+ {{- if $enabled }}
1
3
{{- $manualHTTPS := and .Values.proxy.https.enabled (eq .Values.proxy.https.type "manual") -}}
2
4
{{- $manualHTTPSwithsecret := and .Values.proxy.https.enabled (eq .Values.proxy.https.type "secret") -}}
3
5
apiVersion : apps/v1
@@ -176,3 +178,4 @@ spec:
176
178
{{- with .Values.proxy.chp.extraPodSpec }}
177
179
{{- . | toYaml | nindent 6 }}
178
180
{{- end }}
181
+ {{- end }}
Original file line number Diff line number Diff line change 1
- {{- $enabled := .Values.proxy.https.enabled -}}
2
- {{- $autoHTTPS := and $enabled (and (eq .Values.proxy.https.type "letsencrypt") .Values.proxy.https.hosts) -}}
3
- {{- $manualHTTPS := and $enabled (eq .Values.proxy.https.type "manual") -}}
4
- {{- $manualHTTPSwithsecret := and $enabled (eq .Values.proxy.https.type "secret") -}}
5
- {{- $offloadHTTPS := and $enabled (eq .Values.proxy.https.type "offload") -}}
1
+ {{- $enabled := .Values.proxy.enabled -}}
2
+ {{- if $enabled }}
3
+ {{- $httpsEnabled := .Values.proxy.https.enabled -}}
4
+ {{- $autoHTTPS := and $httpsEnabled (and (eq .Values.proxy.https.type "letsencrypt") .Values.proxy.https.hosts) -}}
5
+ {{- $manualHTTPS := and $httpsEnabled (eq .Values.proxy.https.type "manual") -}}
6
+ {{- $manualHTTPSwithsecret := and $httpsEnabled (eq .Values.proxy.https.type "secret") -}}
7
+ {{- $offloadHTTPS := and $httpsEnabled (eq .Values.proxy.https.type "offload") -}}
6
8
{{- $valid := or $autoHTTPS (or $manualHTTPS (or $manualHTTPSwithsecret $offloadHTTPS)) -}}
7
- {{- $HTTPS := and $enabled $valid -}}
9
+ {{- $HTTPS := and $httpsEnabled $valid -}}
8
10
apiVersion : v1
9
11
kind : Service
10
12
metadata :
78
80
{{- . | toYaml | nindent 4 }}
79
81
{{- end }}
80
82
{{- end }}
83
+ {{- end }}
Original file line number Diff line number Diff line change @@ -145,6 +145,7 @@ rbac:
145
145
# proxy relates to the proxy pod, the proxy-public service, and the autohttps
146
146
# pod and proxy-http service.
147
147
proxy :
148
+ enabled : true
148
149
secretToken :
149
150
annotations : {}
150
151
deploymentStrategy :
You can’t perform that action at this time.
0 commit comments