mirror of
https://github.com/Azure/k8s-deploy.git
synced 2026-03-03 16:22:18 +08:00
Move integration testing into pull_request action that is isolated to an action runner using minikube Co-authored-by: David Gamero <davidgamero@microsoft.com>
19 lines
399 B
YAML
19 lines
399 B
YAML
apiVersion: networking.k8s.io/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: nginx-ingress
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/rewrite-target: /
|
|
spec:
|
|
rules:
|
|
- http:
|
|
paths:
|
|
- path: /testpath
|
|
backend:
|
|
serviceName: nginx-service
|
|
servicePort: 80
|
|
- path: /testpath2
|
|
backend:
|
|
serviceName: unrouted-service
|
|
servicePort: 80
|