From 574dcbf98180ad5ad4b77cd3a9f1e3215578a71d Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Thu, 16 Apr 2020 12:34:41 +0200 Subject: [PATCH] chore: add ingress --- k8s/ingress-test.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 k8s/ingress-test.yaml diff --git a/k8s/ingress-test.yaml b/k8s/ingress-test.yaml new file mode 100644 index 0000000..9e45052 --- /dev/null +++ b/k8s/ingress-test.yaml @@ -0,0 +1,20 @@ +apiVersion: networking.k8s.io/v1beta1 +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: / + backend: + serviceName: auth0mock + servicePort: 3333 + tls: + - hosts: + - auth0 + secretName: auth0-cert