diff --git a/clusters/cl01tl/helm/actual/templates/http-route.yaml b/clusters/cl01tl/helm/actual/templates/http-route.yaml new file mode 100644 index 000000000..0b2dbe3c9 --- /dev/null +++ b/clusters/cl01tl/helm/actual/templates/http-route.yaml @@ -0,0 +1,28 @@ +apiVersion: gateway.networking.k8s.io/v1 +kind: HTTPRoute +metadata: + name: actual + namespace: {{ .Release.Namespace }} + labels: + app.kubernetes.io/name: actual + 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: + - actual.alexlebens.net + rules: + - backendRefs: + - group: '' + kind: Service + name: actual + port: 80 + weight: 100 + matches: + - path: + type: PathPrefix + value: / diff --git a/clusters/cl01tl/helm/actual/values.yaml b/clusters/cl01tl/helm/actual/values.yaml index a32b5daeb..4439d85e3 100644 --- a/clusters/cl01tl/helm/actual/values.yaml +++ b/clusters/cl01tl/helm/actual/values.yaml @@ -42,27 +42,6 @@ actual: port: 80 targetPort: 5006 protocol: HTTP - route: - main: - kind: HTTPRoute - parentRefs: - - group: gateway.networking.k8s.io - kind: Gateway - name: traefik-gateway - namespace: traefik - hostnames: - - actual.alexlebens.net - rules: - - backendRefs: - - group: '' - kind: Service - name: actual - port: 80 - weight: 100 - matches: - - path: - type: PathPrefix - value: / persistence: data: forceRename: actual-data