Unable to configure IP whitelisting on Ingress level
I want to access the public-facing ingress using Pomerium as an ingress class with IP whitelisting.
Currently, It is possible with the Ingress-nginx controller using the nginx.ingress.kubernetes.io/whitelist-source-range
annotation but the same is not working with the Pomerium ingress controller.
How’d it happen?
- Ran
x
- Clicked
y
- Saw error
z
What’s your environment like?
- Pomerium version (retrieve with
pomerium --version
): v0.25.0 - Server Operating System/Architecture/Cloud: AWS EKS
What’s your config.yaml?
apiVersion: ingress.pomerium.io/v1
kind: Pomerium
metadata:
name: global
spec:
authenticate:
url: https://authenticate.{{ .Values.cluster.tenant }}-{{ .Values.cluster.name }}.{{ .Values.cluster.env }}.{{ .Values.cluster.dns_region }}.domain_name
certificates:
- caas-security/pomerium-cert
identityProvider:
provider: oidc
url: {{ .Values.cluster.dex_url }}
secret: caas-security/idp-dex
secrets: caas-security/bootstrap
What did you see in the logs?
Nothing
Additional context
Add any other context about the problem here.