---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: fider-http
spec:
  parentRefs:
  - name: contour
    sectionName: http
    namespace: projectcontour
  hostnames:
  - fider.icb4dc0.de
  - login.fider.icb4dc0.de
  - community.buildr.icb4dc0.de
  - community.inetmock.icb4dc0.de
  rules:
  - filters:
    - type: RequestRedirect
      requestRedirect:
        scheme: https
        statusCode: 301
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: fider-https
spec:
  parentRefs:
  - name: contour
    namespace: projectcontour
    sectionName: https
  hostnames:
  - fider.icb4dc0.de
  rules:
  - backendRefs:
    - name: fider
      port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: fider-login-https
spec:
  parentRefs:
  - name: contour
    namespace: projectcontour
    sectionName: fider-login
  hostnames:
  - fider.icb4dc0.de
  rules:
  - backendRefs:
    - name: fider
      port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: inetmock-fider-https
spec:
  parentRefs:
  - name: contour
    namespace: projectcontour
    sectionName: inetmock-fider-community
  hostnames:
  - community.inetmock.icb4dc0.de
  rules:
  - backendRefs:
    - name: fider
      port: 3000
---
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
  name: buildr-fider-https
spec:
  parentRefs:
  - name: contour
    namespace: projectcontour
    sectionName: buildr-fider-community
  hostnames:
  - community.inetmock.icb4dc0.de
  rules:
  - backendRefs:
    - name: fider
      port: 3000