2025-01-08 23:05:38 +01:00
|
|
|
{{- 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(`/`)
|
2025-01-09 16:24:43 +01:00
|
|
|
priority: 5
|
2025-01-08 23:05:38 +01:00
|
|
|
services:
|
|
|
|
- kind: Service
|
|
|
|
name: oc-front-svc
|
|
|
|
port: 8080
|
|
|
|
{{- end }}
|