Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmit Rathi <amit.juschill@gmail.com>2018-12-03 13:16:38 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-12-03 13:16:38 +0300
commit9a034a8628e83903967620d82497cc1e0b9dedf6 (patch)
tree66df2ea094d9b120f09bee00432fc8ff3da42137 /app/models/clusters/applications/jupyter.rb
parentd2e280c4bf7a7f956cd6a366df668c3921239f8c (diff)
HTTPS for JupyterHub installation
Diffstat (limited to 'app/models/clusters/applications/jupyter.rb')
-rw-r--r--app/models/clusters/applications/jupyter.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/models/clusters/applications/jupyter.rb b/app/models/clusters/applications/jupyter.rb
index e43a0fd1786..421a923d386 100644
--- a/app/models/clusters/applications/jupyter.rb
+++ b/app/models/clusters/applications/jupyter.rb
@@ -56,7 +56,11 @@ module Clusters
def specification
{
"ingress" => {
- "hosts" => [hostname]
+ "hosts" => [hostname],
+ "tls" => [{
+ "hosts" => [hostname],
+ "secretName" => "jupyter-cert"
+ }]
},
"hub" => {
"extraEnv" => {