aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/namespaces/tooling/keycloak/ingress.yaml
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-06-27 03:24:28 +0100
committerGravatar Joe Banks <[email protected]>2024-06-27 03:24:28 +0100
commit51533ae3db1737a64a747506992efe045df591cf (patch)
treee40bafe44f7e6638b8fe45e76cd7f7d1fea73bc7 /kubernetes/namespaces/tooling/keycloak/ingress.yaml
parentScale AM back to 3 replicas (diff)
Add deployment of Keycloak
Diffstat (limited to 'kubernetes/namespaces/tooling/keycloak/ingress.yaml')
-rw-r--r--kubernetes/namespaces/tooling/keycloak/ingress.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/kubernetes/namespaces/tooling/keycloak/ingress.yaml b/kubernetes/namespaces/tooling/keycloak/ingress.yaml
new file mode 100644
index 0000000..fcbf3de
--- /dev/null
+++ b/kubernetes/namespaces/tooling/keycloak/ingress.yaml
@@ -0,0 +1,28 @@
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+ annotations:
+ nginx.ingress.kubernetes.io/auth-tls-verify-client: "on"
+ nginx.ingress.kubernetes.io/auth-tls-secret: "kube-system/mtls-client-crt-bundle"
+ nginx.ingress.kubernetes.io/auth-tls-error-page: "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
+ nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
+ nginx.ingress.kubernetes.io/proxy-buffers-number: "4"
+ nginx.ingress.kubernetes.io/proxy-buffer-size: "16k"
+ name: keycloak
+ namespace: tooling
+spec:
+ tls:
+ - hosts:
+ - "*.pydis.wtf"
+ secretName: pydis.wtf-tls
+ rules:
+ - host: id.pydis.wtf
+ http:
+ paths:
+ - path: /
+ pathType: Prefix
+ backend:
+ service:
+ name: keycloak
+ port:
+ number: 8443