1
0
Fork 0
llvm-premerge-checks/kubernetes/phabricator-proxy/Ingress.yaml
Mikhail Goncharov 381b1bf1a6 Update nginx configuration to capture all traffic to the static IP
Right now we have only one service we need to serve.

I kept cert manager config for now in the case we want to get a hostname
in the near future.

Updated doc + minor doc / setup fixes.

fixes #242
2020-09-29 11:44:12 +02:00

19 lines
No EOL
566 B
YAML

# This ingress matches ALL requests to nginx.
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: nginx-ingress-all
namespace: buildkite
annotations:
kubernetes.io/ingress.global-static-ip-name: "web-static-ip"
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/auth-type: basic
nginx.ingress.kubernetes.io/auth-secret: http-auth
nginx.ingress.kubernetes.io/auth-realm: "LLVM pre-merge checks"
spec:
rules:
- http:
paths:
- backend:
serviceName: phabricator-proxy
servicePort: 8080