Commit 82e9c9d4 authored by Craig Russell's avatar Craig Russell
Browse files

Fixed ingress (finally) host -""

parent d31584c1
Pipeline #83403 failed with stages
in 1 minute and 48 seconds
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
# Local deployment from git checkout of https://github.com/jupyterhub/zero-to-jupyterhub-k8s.git # Local deployment from git checkout of https://github.com/jupyterhub/zero-to-jupyterhub-k8s.git
# Commit 7e9089b46c23fc1177c17cf1bef74d137cbba2ef (v0.4-580-g7e9089b) # Commit 7e9089b46c23fc1177c17cf1bef74d137cbba2ef (v0.4-580-g7e9089b)
# baseUrl: /
# hub: #
# baseUrl: /example/
# cookieSecret: XXXXXXXX # cookieSecret: XXXXXXXX
# db: # db:
# type: sqlite-memory # type: sqlite-memory
...@@ -123,31 +122,59 @@ proxy: ...@@ -123,31 +122,59 @@ proxy:
type: NodePort type: NodePort
nodePorts: nodePorts:
http: 30149 http: 30149
# service:
# type: NodePort
# nodePorts:
# http: 30149
# service: # service:
# type: NodePort # type: NodePort
# singleuser: # # singleuser:
# storage: # # storage:
# type: NONE # # type: NONE
# # Disable pre-puller, fails with rbac
# # https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/118
# prePuller:
# enabled: false
ingress:
enabled: true
hosts:
- localhost
- ""
# annotations:
# nginx.ingress.kubernetes.io/rewrite-target: /$2
# nginx.ingress.kubernetes.io/ssl-redirect: "false"
# # # - jupyter.EXAMPLE.org
# # annotations:
# # kubernetes.io/ingress.class: nginx
# # ingress.kubernetes.io/proxy-body-size: 16m
# # ingress.kubernetes.io/proxy-read-timeout: 3600
# # ingress.kubernetes.io/proxy-send-timeout: 3600
# # kubernetes.io/tls-acme: 'true'
# # tls:
# # - hosts:
# # - "jupyter.EXAMPLE.org"
# # secretName: example-tls
# proxy:
# secretToken: 1e54cdb91f9c78d3f93a577b90567771ad076424ab24470192cc0776a3d45bd5
# service:
# type: ClusterIP
# Disable pre-puller, fails with rbac ## Enable ingress object, but the ingress controller needs to be installed
# https://github.com/jupyterhub/zero-to-jupyterhub-k8s/issues/118 ## for this to take effect.
prePuller:
enabled: false
# ingress: # ingress:
# enabled: true # enabled: true
# hosts: # annotations:
# - localhost # ingress.kubernetes.io/proxy-body-size: 64m
# # - jupyter.EXAMPLE.org # kubernetes.io/ingress.class: nginx
# annotations: # kubernetes.io/tls-acme: "true"
# kubernetes.io/ingress.class: nginx # hosts:
# ingress.kubernetes.io/proxy-body-size: 16m # - jupyter.domain.com
# ingress.kubernetes.io/proxy-read-timeout: 3600
# ingress.kubernetes.io/proxy-send-timeout: 3600
# kubernetes.io/tls-acme: 'true'
# tls: # tls:
# - hosts: # - secretName: mysecret
# - "jupyter.EXAMPLE.org" # hosts:
# secretName: example-tls # - jupyter.domain.com
\ No newline at end of file \ No newline at end of file
...@@ -3,8 +3,8 @@ ...@@ -3,8 +3,8 @@
# Local deployment from git checkout of https://github.com/jupyterhub/zero-to-jupyterhub-k8s.git # Local deployment from git checkout of https://github.com/jupyterhub/zero-to-jupyterhub-k8s.git
# Commit 7e9089b46c23fc1177c17cf1bef74d137cbba2ef (v0.4-580-g7e9089b) # Commit 7e9089b46c23fc1177c17cf1bef74d137cbba2ef (v0.4-580-g7e9089b)
# hub: hub:
# baseUrl: /example/ baseUrl: /sandbox
# cookieSecret: XXXXXXXX # cookieSecret: XXXXXXXX
# db: # db:
# type: sqlite-memory # type: sqlite-memory
...@@ -125,6 +125,12 @@ proxy: ...@@ -125,6 +125,12 @@ proxy:
prePuller: prePuller:
enabled: false enabled: false
ingress:
enabled: true
hosts:
- localhost
- ""
# ingress: # ingress:
# enabled: true # enabled: true
# hosts: # hosts:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment