Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

K8SPG-389: LoadBalancerSourceRanges #532

Merged
merged 11 commits into from
Oct 16, 2023
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
14 changes: 14 additions & 0 deletions config/crd/bases/pgv2.percona.com_perconapgclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
35 changes: 35 additions & 0 deletions deploy/bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions deploy/cr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spec:
# labels:
# my-label: value2
# type: LoadBalancer
# loadBalancerSourceRanges:
# - 10.0.0.0/8

instances:
- name: instance1
Expand Down Expand Up @@ -130,6 +132,8 @@ spec:
# labels:
# my-label: value2
# type: LoadBalancer
# loadBalancerSourceRanges:
# - 10.0.0.0/8
#
# affinity:
# podAntiAffinity:
Expand Down
35 changes: 35 additions & 0 deletions deploy/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
35 changes: 35 additions & 0 deletions deploy/cw-bundle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down
Loading
Loading