ingress?
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simple_Not 2023-06-22 00:31:57 +10:00
parent 4ebf59f2b2
commit 571f0b4018

View File

@ -1,18 +1,18 @@
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: example-ingress name: example-ingress
annotations: annotations:
nginx.ingress.kubernetes.io/rewrite-target: /$1 nginx.ingress.kubernetes.io/rewrite-target: /$1
spec: spec:
rules: rules:
- host: hello-world.info - host: hello-world.info
http: http:
paths: paths:
- path: /v2 - path: /v2
pathType: Prefix pathType: Prefix
backend: backend:
service: service:
name: web2 name: web2
port: port:
number: 8080 number: 8080