diff --git a/Proxy-examples.md b/Proxy-examples.md index 30f3ed4..cbb3217 100644 --- a/Proxy-examples.md +++ b/Proxy-examples.md @@ -599,7 +599,44 @@ backend vaultwarden_http server vwhttp 0.0.0.0:8080 alpn http/1.1 ``` +
+HAproxy Kubernetes Ingress(by @BlackDex)
+Controller installation details can be found here: https://www.haproxy.com/documentation/kubernetes-ingress/community/installation/on-prem/ +Note that the CF-Connecting-IP header is only required if you use cloudflare + +Add the following resource definition: + +```haproxy-kubernetes-ingress + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: vaultwarden + namespace: default + annotations: + haproxy.org/forwarded-for: "true" + haproxy.org/compression-algo: "gzip" + haproxy.org/compression-type: "text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript" + haproxy.org/http2-enabled: "true" +spec: + ingressClassName: haproxy + tls: + - hosts: + - vaultwarden.example.tld + rules: + - host: vaultwarden.example.tld + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: vaultwarden-http + port: + number: 80 +``` +
Istio k8s (by @asenyaev)