Skip to content

Commit

Permalink
Removed ipaddressController and moved the logic into the pool controller
Browse files Browse the repository at this point in the history
  • Loading branch information
bilbobrovall committed Jan 4, 2024
1 parent d986eff commit b1db68e
Show file tree
Hide file tree
Showing 11 changed files with 209 additions and 272 deletions.
73 changes: 0 additions & 73 deletions api/v1alpha7/openstackfloatingippool_webhook.go

This file was deleted.

125 changes: 0 additions & 125 deletions api/v1alpha7/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

package v1alpha7
package v1alpha8

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -50,6 +50,7 @@ type OpenStackFloatingIPPoolSpec struct {
IdentityRef *OpenStackIdentityReference `json:"identityRef,omitempty"`

// FloatingIPNetwork is the external network to use for floating ips, if there's only one external network it will be used by default
// +optional
FloatingIPNetwork NetworkFilter `json:"floatingIPNetwork"`

// The name of the cloud to use from the clouds secret
Expand Down Expand Up @@ -86,6 +87,7 @@ type OpenStackFloatingIPPoolStatus struct {
}

//+kubebuilder:object:root=true
// +kubebuilder:storageversion
//+kubebuilder:subresource:status

// OpenStackFloatingIPPool is the Schema for the openstackfloatingippools API.
Expand Down
125 changes: 125 additions & 0 deletions api/v1alpha8/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
singular: openstackfloatingippool
scope: Namespaced
versions:
- name: v1alpha7
- name: v1alpha8
schema:
openAPIV3Schema:
description: OpenStackFloatingIPPool is the Schema for the openstackfloatingippools
Expand Down Expand Up @@ -90,8 +90,6 @@ spec:
- Retain
- Delete
type: string
required:
- floatingIPNetwork
type: object
status:
description: OpenStackFloatingIPPoolStatus defines the observed state
Expand Down
Loading

0 comments on commit b1db68e

Please sign in to comment.