Skip to content

Commit fd0fb6d

Browse files
committed
Add alpha1 to scheme
1 parent 393a370 commit fd0fb6d

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

config/crd/bases/infrastructure.cluster.x-k8s.io_openstackfloatingippools.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ spec:
8787
- name
8888
type: object
8989
preAllocatedFloatingIPs:
90+
description: |-
91+
PreAllocatedFloatingIPs is a list of preallocated floating ips existing in openstack that should be used by this pool
92+
preallocated floating ips are used before allocating new ones and are not deleted when the pool is deleted
9093
items:
9194
type: string
9295
type: array

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import (
4343
"sigs.k8s.io/controller-runtime/pkg/controller"
4444
"sigs.k8s.io/controller-runtime/pkg/webhook"
4545

46+
infrav1alpha1 "sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha1"
4647
infrav1alpha5 "sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha5"
4748
infrav1alpha6 "sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha6"
4849
infrav1alpha7 "sigs.k8s.io/cluster-api-provider-openstack/api/v1alpha7"
@@ -90,6 +91,7 @@ func init() {
9091
_ = infrav1alpha5.AddToScheme(scheme)
9192
_ = infrav1alpha6.AddToScheme(scheme)
9293
_ = infrav1alpha7.AddToScheme(scheme)
94+
_ = infrav1alpha1.AddToScheme(scheme)
9395
// +kubebuilder:scaffold:scheme
9496

9597
metrics.RegisterAPIPrometheusMetrics()

0 commit comments

Comments
 (0)