Files
oc-k8s/utils/assets/templates/oc-front/ingress.yaml
2026-01-19 11:24:16 +01:00

17 lines
382 B
YAML

{{- 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: 5
services:
- kind: Service
name: oc-front-svc
port: 80
{{- end }}