Skip to content

Instantly share code, notes, and snippets.

@mbruno-kr
Created July 23, 2021 17:35
Show Gist options
  • Save mbruno-kr/73a7d0854fb0656dbb488ac8a90643a9 to your computer and use it in GitHub Desktop.
Save mbruno-kr/73a7d0854fb0656dbb488ac8a90643a9 to your computer and use it in GitHub Desktop.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: fullfill-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$2
spec:
ingressClassName: internal
rules:
- http:
paths:
- path: /fullfill(/|$)(.*)
pathType: Prefix
backend:
service:
name: fullfill
port:
number: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment