Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 36 additions & 2 deletions operator/v1/0000_50_ingress-operator_00-ingresscontroller.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,27 @@ spec:
- Local
type: string
type: object
ibm:
description: "ibm provides configuration settings that
are specific to IBM Cloud load balancers. \n If empty,
defaults will be applied. See specific ibm fields for
details about their defaults."
properties:
subnets:
description: "subnets is the comma-separated list
of subnets that the load balancer is attached to.
\n It is used to specify one or more subnets in
one zone that the VPC load balancer deploys to.
Values can be specified as VPC subnet IDs, VPC subnet
names, or VPC subnet CIDRs. \n See \"service.kubernetes.io/ibm-load-balancer-cloud-provider-vpc-subnets\"
at https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas"
type: string
type: object
type:
description: type is the underlying infrastructure provider
for the load balancer. Allowed values are "AWS", "Azure",
"BareMetal", "GCP", "Nutanix", "OpenStack", and "VSphere".
"BareMetal", "GCP", "IBM", "Nutanix", "OpenStack", and
"VSphere".
enum:
- AWS
- Azure
Expand Down Expand Up @@ -1515,10 +1532,27 @@ spec:
- Local
type: string
type: object
ibm:
description: "ibm provides configuration settings that
are specific to IBM Cloud load balancers. \n If empty,
defaults will be applied. See specific ibm fields for
details about their defaults."
properties:
subnets:
description: "subnets is the comma-separated list
of subnets that the load balancer is attached to.
\n It is used to specify one or more subnets in
one zone that the VPC load balancer deploys to.
Values can be specified as VPC subnet IDs, VPC subnet
names, or VPC subnet CIDRs. \n See \"service.kubernetes.io/ibm-load-balancer-cloud-provider-vpc-subnets\"
at https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas"
type: string
type: object
type:
description: type is the underlying infrastructure provider
for the load balancer. Allowed values are "AWS", "Azure",
"BareMetal", "GCP", "Nutanix", "OpenStack", and "VSphere".
"BareMetal", "GCP", "IBM", "Nutanix", "OpenStack", and
"VSphere".
enum:
- AWS
- Azure
Expand Down
28 changes: 26 additions & 2 deletions operator/v1/types_ingress.go
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ type LoadBalancerStrategy struct {
// +union
type ProviderLoadBalancerParameters struct {
// type is the underlying infrastructure provider for the load balancer.
// Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Nutanix",
// Allowed values are "AWS", "Azure", "BareMetal", "GCP", "IBM", "Nutanix",
// "OpenStack", and "VSphere".
//
// +unionDiscriminator
Expand All @@ -416,10 +416,19 @@ type ProviderLoadBalancerParameters struct {
//
// +optional
GCP *GCPLoadBalancerParameters `json:"gcp,omitempty"`

// ibm provides configuration settings that are specific to IBM Cloud
// load balancers.
//
// If empty, defaults will be applied. See specific ibm fields for
// details about their defaults.
//
// +optional
IBM *IBMLoadBalancerParameters `json:"ibm,omitempty"`
}

// LoadBalancerProviderType is the underlying infrastructure provider for the
// load balancer. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "Nutanix",
// load balancer. Allowed values are "AWS", "Azure", "BareMetal", "GCP", "IBM", "Nutanix",
// "OpenStack", and "VSphere".
//
// +kubebuilder:validation:Enum=AWS;Azure;BareMetal;GCP;Nutanix;OpenStack;VSphere;IBM
Expand Down Expand Up @@ -516,6 +525,21 @@ const (
GCPLocalAccess GCPClientAccess = "Local"
)

// IBMLoadBalancerParameters provides configuration settings that are
// specific to IBM Cloud load balancers.
type IBMLoadBalancerParameters struct {
// subnets is the comma-separated list of subnets that the load balancer is attached to.
//
// It is used to specify one or more subnets in one zone that the VPC load balancer deploys to.
// Values can be specified as VPC subnet IDs, VPC subnet names, or VPC subnet CIDRs.
//
// See "service.kubernetes.io/ibm-load-balancer-cloud-provider-vpc-subnets" at
// https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas
//
// +optional
Subnets string `json:"subnets,omitempty"`
}

// AWSClassicLoadBalancerParameters holds configuration parameters for an
// AWS Classic load balancer.
type AWSClassicLoadBalancerParameters struct {
Expand Down
12 changes: 11 additions & 1 deletion operator/v1/zz_generated.swagger_doc_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.