ministryofjustice / cla_frontend

CLA Front End
http://ministryofjustice.github.io/cla_docs/
MIT License
3 stars 4 forks source link

LGA-1729 - Remove whitelists for training and production environments #742

Closed said-moj closed 3 years ago

said-moj commented 3 years ago

What does this pull request do?

Wrapping the ingress annotationnginx.ingress.kubernetes.io/whitelist-source-range in an if condition that checks the if whitelist is not empty is required because a nginx.ingress.kubernetes.io/whitelist-source-range annotation with an empty value will result ingress failing and returning a 503 for all requests.

Checklist