Mercurial > code > home > repos > victoriametrics
diff next/ingress.yaml @ 53:e7318cbee0bc
a barely-working cluster/services setup that scrapes everything and serves vmui (but you have to edit the Server URL cookie)
author | drewp@bigasterisk.com |
---|---|
date | Wed, 24 Apr 2024 11:38:13 -0700 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/next/ingress.yaml Wed Apr 24 11:38:13 2024 -0700 @@ -0,0 +1,26 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: next-victoriametrics + annotations: + cert-manager.io/cluster-issuer: letsencrypt-prod + ingress.pomerium.io/allow_public_unauthenticated_access: "false" + ingress.pomerium.io/pass_identity_headers: "true" + ingress.pomerium.io/preserve_host_header: "true" + ingress.pomerium.io/policy: | + allow: + or: + - { email: { is: "drewpca@gmail.com" }} + - { email: { is: "kelsimp@gmail.com" }} +spec: + ingressClassName: pomerium + rules: + - host: "bigasterisk.com" + http: + paths: + - pathType: Prefix + path: /m/next/vmselect/ + backend: { service: { name: next-victoriametrics-vmselect, port: { number: 80 } } } + tls: + - hosts: [bigasterisk.com] + secretName: bigasterisk.com-tls