Integrating front and workspace service
This commit is contained in:
17
opencloud/templates/oc-front/ingress.yaml
Normal file
17
opencloud/templates/oc-front/ingress.yaml
Normal file
@@ -0,0 +1,17 @@
|
||||
{{- if index .Values.ocFront.enabled }}
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: oc-front-ingress
|
||||
spec:
|
||||
entryPoints:
|
||||
- web
|
||||
routes:
|
||||
- kind: Rule
|
||||
match: Host(`{{ .Values.host }}`) && PathPrefix(`/`)
|
||||
priority: 10
|
||||
services:
|
||||
- kind: Service
|
||||
name: oc-front-svc
|
||||
port: 8080
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user