diff --git a/build/crd/crunchy/generated/postgres-operator.crunchydata.com_postgresclusters.yaml b/build/crd/crunchy/generated/postgres-operator.crunchydata.com_postgresclusters.yaml index b30d9f820a..79637b9ae2 100644 --- a/build/crd/crunchy/generated/postgres-operator.crunchydata.com_postgresclusters.yaml +++ b/build/crd/crunchy/generated/postgres-operator.crunchydata.com_postgresclusters.yaml @@ -13811,6 +13811,13 @@ spec: service: description: Specification of the service that exposes PgBouncer. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -14137,6 +14144,13 @@ spec: description: Specification of the service that exposes the PostgreSQL primary instance. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -15695,6 +15709,13 @@ spec: service: description: Specification of the service that exposes pgAdmin. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: diff --git a/build/crd/percona/generated/pgv2.percona.com_perconapgclusters.yaml b/build/crd/percona/generated/pgv2.percona.com_perconapgclusters.yaml index a6fec6e30d..414955133b 100644 --- a/build/crd/percona/generated/pgv2.percona.com_perconapgclusters.yaml +++ b/build/crd/percona/generated/pgv2.percona.com_perconapgclusters.yaml @@ -7080,6 +7080,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be in-range and not @@ -11640,6 +11647,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be diff --git a/config/crd/bases/pgv2.percona.com_perconapgclusters.yaml b/config/crd/bases/pgv2.percona.com_perconapgclusters.yaml index 702ab4ecd8..ba5c61b4f2 100644 --- a/config/crd/bases/pgv2.percona.com_perconapgclusters.yaml +++ b/config/crd/bases/pgv2.percona.com_perconapgclusters.yaml @@ -7153,6 +7153,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be in-range and not @@ -11713,6 +11720,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be diff --git a/config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml b/config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml index 6c16f497d0..290da34bf3 100644 --- a/config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml +++ b/config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml @@ -13783,6 +13783,13 @@ spec: service: description: Specification of the service that exposes PgBouncer. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -14109,6 +14116,13 @@ spec: description: Specification of the service that exposes the PostgreSQL primary instance. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -15663,6 +15677,13 @@ spec: service: description: Specification of the service that exposes pgAdmin. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: diff --git a/deploy/bundle.yaml b/deploy/bundle.yaml index b7696b0066..9f2217eb61 100644 --- a/deploy/bundle.yaml +++ b/deploy/bundle.yaml @@ -7153,6 +7153,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be in-range and not @@ -11713,6 +11720,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be @@ -27513,6 +27527,13 @@ spec: service: description: Specification of the service that exposes PgBouncer. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -27839,6 +27860,13 @@ spec: description: Specification of the service that exposes the PostgreSQL primary instance. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -29393,6 +29421,13 @@ spec: service: description: Specification of the service that exposes pgAdmin. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: diff --git a/deploy/cr.yaml b/deploy/cr.yaml index 8c4c03e412..0d072e9b10 100644 --- a/deploy/cr.yaml +++ b/deploy/cr.yaml @@ -69,6 +69,8 @@ spec: # labels: # my-label: value2 # type: LoadBalancer +# loadBalancerSourceRanges: +# - 10.0.0.0/8 instances: - name: instance1 @@ -130,6 +132,8 @@ spec: # labels: # my-label: value2 # type: LoadBalancer +# loadBalancerSourceRanges: +# - 10.0.0.0/8 # # affinity: # podAntiAffinity: diff --git a/deploy/crd.yaml b/deploy/crd.yaml index fa38952c0b..f5605a718c 100644 --- a/deploy/crd.yaml +++ b/deploy/crd.yaml @@ -7153,6 +7153,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be in-range and not @@ -11713,6 +11720,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be @@ -27513,6 +27527,13 @@ spec: service: description: Specification of the service that exposes PgBouncer. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -27839,6 +27860,13 @@ spec: description: Specification of the service that exposes the PostgreSQL primary instance. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -29393,6 +29421,13 @@ spec: service: description: Specification of the service that exposes pgAdmin. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: diff --git a/deploy/cw-bundle.yaml b/deploy/cw-bundle.yaml index a587498082..d232bcd21f 100644 --- a/deploy/cw-bundle.yaml +++ b/deploy/cw-bundle.yaml @@ -7153,6 +7153,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be in-range and not @@ -11713,6 +11720,13 @@ spec: additionalProperties: type: string type: object + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array nodePort: description: The port on which this service is exposed when type is NodePort or LoadBalancer. Value must be @@ -27513,6 +27527,13 @@ spec: service: description: Specification of the service that exposes PgBouncer. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -27839,6 +27860,13 @@ spec: description: Specification of the service that exposes the PostgreSQL primary instance. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP CIDRs allowed + access to load. This field will be ignored if the cloud-provider + does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: @@ -29393,6 +29421,13 @@ spec: service: description: Specification of the service that exposes pgAdmin. properties: + loadBalancerSourceRanges: + description: LoadBalancerSourceRanges is a list of IP + CIDRs allowed access to load. This field will be ignored + if the cloud-provider does not support the feature. + items: + type: string + type: array metadata: description: Metadata contains metadata for custom resources properties: diff --git a/docs/content/references/crd.md b/docs/content/references/crd.md index 43195dc7c7..34b429b486 100644 --- a/docs/content/references/crd.md +++ b/docs/content/references/crd.md @@ -13801,6 +13801,11 @@ Specification of the service that exposes the PostgreSQL primary instance.