From f7405c92a9d630bf99793d432333d42fe53bb337 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sat, 30 Mar 2024 17:02:24 +0000 Subject: [PATCH] Attempt to use new auth proxy Signed-off-by: Marcus Noble --- manifests/auth-proxy/auth-ingress.yaml | 27 ++++++++++++++++++++++++++ manifests/auth-proxy/auth-proxy.yaml | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/manifests/auth-proxy/auth-ingress.yaml b/manifests/auth-proxy/auth-ingress.yaml index cb95659..1f9ec2f 100644 --- a/manifests/auth-proxy/auth-ingress.yaml +++ b/manifests/auth-proxy/auth-ingress.yaml @@ -1,5 +1,32 @@ apiVersion: networking.k8s.io/v1 kind: Ingress +metadata: + name: auth-proxy-v2 + namespace: auth-proxy + annotations: + cert-manager.io/cluster-issuer: letsencrypt + nginx.ingress.kubernetes.io/force-ssl-redirect: "true" +spec: + ingressClassName: nginx + tls: + - hosts: + - hello.cluster.fun + secretName: non-auth-proxy-ingress + rules: + - host: hello.cluster.fun + http: + paths: + - path: / + pathType: ImplementationSpecific + backend: + service: + name: auth-proxy-v2 + port: + name: http + +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress metadata: name: auth-proxy namespace: auth-proxy diff --git a/manifests/auth-proxy/auth-proxy.yaml b/manifests/auth-proxy/auth-proxy.yaml index 42d22f0..f06b1a3 100644 --- a/manifests/auth-proxy/auth-proxy.yaml +++ b/manifests/auth-proxy/auth-proxy.yaml @@ -255,5 +255,5 @@ spec: protocol: TCP targetPort: 8080 selector: - app: auth-proxy + app: auth-proxy-v2 type: ClusterIP