mirror of
https://github.com/hanzoai/ingress.git
synced 2026-11-03 00:49:13 +00:00
19 lines
461 B
YAML
19 lines
461 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
annotations:
|
|
ingress.kubernetes.io/auth-response-headers: X-Auth,X-Test,X-Secret
|
|
ingress.kubernetes.io/auth-trust-headers: "true"
|
|
ingress.kubernetes.io/auth-type: forward
|
|
ingress.kubernetes.io/auth-url: https://auth.host
|
|
namespace: testing
|
|
spec:
|
|
rules:
|
|
- host: foo
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: service1
|
|
servicePort: 80
|
|
path: /bar
|