d146ab76d8
Add pathType as Prefix to the ingress path definition. Update the backend service reference to use the new format with 'service' instead of 'serviceName' for improved clarity and adherence to Kubernetes API standards.
24 lines
452 B
YAML
24 lines
452 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: auth0-ingress
|
|
annotations:
|
|
kubernetes.io/ingress.class: "nginx"
|
|
ingress.kubernetes.io/enable-cors: "true"
|
|
spec:
|
|
rules:
|
|
- host: "auth0"
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
backend:
|
|
service:
|
|
name: auth0mock
|
|
port:
|
|
number: 3333
|
|
tls:
|
|
- hosts:
|
|
- auth0
|
|
secretName: auth0-cert
|