summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorAmit Rathi <amit.juschill@gmail.com>2018-12-03 10:16:38 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-12-03 10:16:38 +0000
commit9a034a8628e83903967620d82497cc1e0b9dedf6 (patch)
tree66df2ea094d9b120f09bee00432fc8ff3da42137 /app/models
parentd2e280c4bf7a7f956cd6a366df668c3921239f8c (diff)
downloadgitlab-ce-9a034a8628e83903967620d82497cc1e0b9dedf6.tar.gz
HTTPS for JupyterHub installation
Diffstat (limited to 'app/models')
-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" => {