Specifying a range of allowable client IP addresses for Developer Portal
Specify the range of client IP addresses to be allowed in a deployment of the Developer Portal
About this task
Use an extra-values-file, which serves as a portal CR override, to provide an allowable addresses annotation.
Procedure
In your
apicup
project, create a file called
ptl-extra-values.yaml
with the necessary content. For example: spec:
portalUIEndpoint:
annotations:
ingress.kubernetes.io/whitelist-source-range: 1.2.88.0/24
In this example, 1.2.88.0/24
is the acceptable range of client IP addresses.
Note: Depending on your network configuration for the forwarding of client IP addresses, you might
need to run several test iterations to work out which client IP addresses to include in the list.