Skip to content
Snippets Groups Projects
Commit dd5d2f19 authored by Andrea Michelotti's avatar Andrea Michelotti
Browse files

use ingress instead of routes

parent a5651296
No related branches found
No related tags found
No related merge requests found
{{- if .Values.route.enabled -}}
{{- $fullName := include "jupyter-control-notebook-chart.fullname" . -}}
{{- $svcPort := .Values.service.port -}}
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: {{ $fullName }}
annotations:
openshift.io/host.generated: "true"
spec:
host: {{$fullName}}.{{ .Values.route.host }}
to:
kind: Service
name: {{ $fullName }}
weight: 100
port:
targetPort: {{ $svcPort }}
{{- end}}
......@@ -37,13 +37,13 @@ service:
port: 8888
ingress:
enabled: false
enabled: true
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
hosts:
- host: chart-example.local
- host: jupyter.apps.okd-datest.lnf.infn.it
paths:
- path: /
pathType: ImplementationSpecific
......@@ -76,9 +76,7 @@ nodeSelector: {}
tolerations: []
affinity: {}
route:
enabled: true ## for openshift
host: apps.okd-datest.lnf.infn.it ## root path of route
configCA:
existingConfigMap: "" # name of existing configMap that set CA parameters
address_list: ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment