Skip to content

Commit

Permalink
?????
Browse files Browse the repository at this point in the history
  • Loading branch information
AshleyDumaine committed Nov 27, 2024
1 parent cce15ff commit 3709d73
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 77 deletions.
9 changes: 0 additions & 9 deletions api/v1alpha2/addressset_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,20 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

// EDIT THIS FILE! THIS IS SCAFFOLDING FOR YOU TO OWN!
// NOTE: json tags are required. Any new fields you add must have json tags for the fields to be serialized.

// AddressSetSpec defines the desired state of AddressSet
type AddressSetSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file

IPv4 *[]string `json:"ipv4,omitempty"`
IPv6 *[]string `json:"ipv6,omitempty"`
}

// AddressSetStatus defines the observed state of AddressSet
type AddressSetStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
// Important: Run "make" to regenerate code after modifying this file
}

// +kubebuilder:object:root=true
// +kubebuilder:subresource:status
// +kubebuilder:resource:path=addressset,scope=Namespaced,categories=cluster-api,shortName=addrset
// +kubebuilder:metadata:labels="clusterctl.cluster.x-k8s.io/move-hierarchy=true"
// +kubebuilder:storageversion

// AddressSet is the Schema for the addresssets API
type AddressSet struct {
Expand Down
64 changes: 0 additions & 64 deletions config/crd/bases/infrastructure.cluster.x-k8s.io_addressset.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,14 @@ spec:
spec:
description: AddressSetSpec defines the desired state of AddressSet
properties:
foo:
description: Foo is an example field of AddressSet. Edit addressset_types.go
to remove/update
type: string
ipv4:
items:
type: string
type: array
ipv6:
items:
type: string
type: array
type: object
status:
description: AddressSetStatus defines the observed state of AddressSet
Expand Down

0 comments on commit 3709d73

Please sign in to comment.