Files
ingress/pkg/provider/kubernetes/crd/fixtures/with_ingress_service_middleware.yml
zeekay 05e593c8b6 fix(ci): drop legacy experimental- prefix from image tag
Image now publishes as ghcr.io/hanzoai/ingress:<branch> (e.g.
:main, :v1.7.x) — matching the convention every other repo in the
ecosystem uses (kms, gateway, etc.). Drops the legacy
experimental- prefix that confused consumers.
2026-05-06 16:45:14 -07:00

45 lines
733 B
YAML

apiVersion: ingress.k8s.io/v1alpha1
kind: Middleware
metadata:
name: stripprefix
namespace: default
spec:
stripPrefix:
prefixes:
- /tobestripped
---
apiVersion: ingress.k8s.io/v1alpha1
kind: IngressService
metadata:
name: test-weighted
namespace: default
spec:
weighted:
services:
- name: whoami
port: 80
weight: 1
middlewares:
- name: stripprefix
---
apiVersion: ingress.k8s.io/v1alpha1
kind: IngressRoute
metadata:
name: test.route
namespace: default
spec:
entryPoints:
- web
routes:
- match: Host(`foo.com`) && PathPrefix(`/bar`)
kind: Rule
priority: 12
services:
- name: test-weighted
kind: IngressService