oc-k8s/opencloud/templates/oc-front/ingress.yaml

17 lines
405 B
YAML
Raw Normal View History

{{- 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 }}