Files
auth0mock/k8s/ingress-test.yaml
argoyle d146ab76d8 fix(k8s): update ingress configuration for backend service
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.
2025-06-29 12:59:59 +02:00

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