apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: gitlab-web namespace: gitlab spec: parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: edge namespace: gateway sectionName: https hostnames: - gitlab.kube.huskypup.net rules: - matches: - path: type: PathPrefix value: / backendRefs: - group: "" kind: Service name: gitlab-webservice-default port: 8181 weight: 1 --- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: gitlab-registry namespace: gitlab spec: parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: edge namespace: gateway sectionName: https hostnames: - registry.gitlab.kube.huskypup.net rules: - matches: - path: type: PathPrefix value: / backendRefs: - group: "" kind: Service name: gitlab-registry port: 5000 weight: 1 --- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: gitlab-minio namespace: gitlab spec: parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: edge namespace: gateway sectionName: https hostnames: - minio.gitlab.kube.huskypup.net rules: - matches: - path: type: PathPrefix value: / backendRefs: - group: "" kind: Service name: gitlab-minio-svc port: 9000 weight: 1 --- apiVersion: gateway.networking.k8s.io/v1 kind: HTTPRoute metadata: name: gitlab-kas namespace: gitlab spec: parentRefs: - group: gateway.networking.k8s.io kind: Gateway name: edge namespace: gateway sectionName: https hostnames: - kas.kube.huskypup.net rules: - matches: - path: type: PathPrefix value: / backendRefs: - group: "" kind: Service name: gitlab-kas port: 8154 weight: 1