mirror of
https://github.com/rancher/k3k.git
synced 2026-05-17 23:06:41 +00:00
Revert CIDR pool allocation and fix delete (#35)
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com>
This commit is contained in:
@@ -21,9 +21,7 @@ func Resource(resource string) schema.GroupResource {
|
||||
func addKnownTypes(s *runtime.Scheme) error {
|
||||
s.AddKnownTypes(SchemeGroupVersion,
|
||||
&Cluster{},
|
||||
&ClusterList{},
|
||||
&CIDRAllocationPool{},
|
||||
&CIDRAllocationPoolList{})
|
||||
&ClusterList{})
|
||||
metav1.AddToGroupVersion(s, SchemeGroupVersion)
|
||||
return nil
|
||||
}
|
||||
|
||||
@@ -55,11 +55,9 @@ type LoadBalancerConfig struct {
|
||||
}
|
||||
|
||||
type ClusterStatus struct {
|
||||
OverrideClusterCIDR bool `json:"overrideClusterCIDR"`
|
||||
OverrideServiceCIDR bool `json:"overrideServiceCIDR"`
|
||||
ClusterCIDR string `json:"clusterCIDR,omitempty"`
|
||||
ServiceCIDR string `json:"serviceCIDR,omitempty"`
|
||||
ClusterDNS string `json:"clusterDNS,omitempty"`
|
||||
ClusterCIDR string `json:"clusterCIDR,omitempty"`
|
||||
ServiceCIDR string `json:"serviceCIDR,omitempty"`
|
||||
ClusterDNS string `json:"clusterDNS,omitempty"`
|
||||
}
|
||||
|
||||
type Allocation struct {
|
||||
|
||||
Reference in New Issue
Block a user