diff --git a/clusters/cl01tl/services/harbor/templates/http-route.yaml b/clusters/cl01tl/services/harbor/templates/http-route.yaml index 1dcdb56cb..277301b77 100644 --- a/clusters/cl01tl/services/harbor/templates/http-route.yaml +++ b/clusters/cl01tl/services/harbor/templates/http-route.yaml @@ -16,25 +16,6 @@ spec: hostnames: - harbor.alexlebens.net rules: - - matches: - - path: - type: PathPrefix - value: /api/ - - path: - type: PathPrefix - value: /service/ - - path: - type: PathPrefix - value: /v2/ - - path: - type: PathPrefix - value: /c/ - backendRefs: - - group: '' - kind: Service - name: harbor-core - port: 443 - weight: 100 - matches: - path: type: PathPrefix @@ -42,6 +23,55 @@ spec: backendRefs: - group: '' kind: Service - name: harbor-portal - port: 443 + name: harbor + port: 80 weight: 100 + +# --- +# apiVersion: gateway.networking.k8s.io/v1 +# kind: HTTPRoute +# metadata: +# name: http-route-harbor +# namespace: {{ .Release.Namespace }} +# labels: +# app.kubernetes.io/name: http-route-harbor +# app.kubernetes.io/instance: {{ .Release.Name }} +# app.kubernetes.io/part-of: {{ .Release.Name }} +# spec: +# parentRefs: +# - group: gateway.networking.k8s.io +# kind: Gateway +# name: traefik-gateway +# namespace: traefik +# hostnames: +# - harbor.alexlebens.net +# rules: +# - matches: +# - path: +# type: PathPrefix +# value: /api/ +# - path: +# type: PathPrefix +# value: /service/ +# - path: +# type: PathPrefix +# value: /v2/ +# - path: +# type: PathPrefix +# value: /c/ +# backendRefs: +# - group: '' +# kind: Service +# name: harbor-core +# port: 443 +# weight: 100 +# - matches: +# - path: +# type: PathPrefix +# value: / +# backendRefs: +# - group: '' +# kind: Service +# name: harbor-portal +# port: 443 +# weight: 100 diff --git a/clusters/cl01tl/services/harbor/values.yaml b/clusters/cl01tl/services/harbor/values.yaml index 3056e0350..33ceabc05 100644 --- a/clusters/cl01tl/services/harbor/values.yaml +++ b/clusters/cl01tl/services/harbor/values.yaml @@ -15,7 +15,7 @@ harbor: existingSecretAdminPassword: harbor-secret existingSecretAdminPasswordKey: HARBOR_ADMIN_PASSWORD internalTLS: - enabled: true + enabled: false ipFamily: ipv6: enabled: false