Skip to content

Commit c765c47

Browse files
aleoliadamjensenbot
authored andcommitted
ipam: cleanup old packages and resources
1 parent c0db3e5 commit c765c47

34 files changed

+1
-5607
lines changed

Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ generate-groups:
162162
# Generate gRPC files
163163
grpc: protoc
164164
$(PROTOC) --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative pkg/ipam/ipam.proto
165-
$(PROTOC) --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative pkg/ipamold/ipam.proto
166165

167166
protoc:
168167
ifeq (, $(shell which protoc))

apis/ipam/v1alpha1/ipamstorage_types.go

-112
This file was deleted.

apis/ipam/v1alpha1/zz_generated.deepcopy.go

-165
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/uninstaller/main.go

-6
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ func init() {
6161
// +kubebuilder:rbac:groups=networking.liqo.io,resources=internalnodes,verbs=get;list;watch;patch;update;delete;
6262
// +kubebuilder:rbac:groups=ipam.liqo.io,resources=networks,verbs=get;list;watch;patch;update;delete;
6363
// +kubebuilder:rbac:groups=ipam.liqo.io,resources=ips,verbs=get;list;watch;patch;update;delete;
64-
// +kubebuilder:rbac:groups=ipam.liqo.io,resources=ipamstorages,verbs=get;list;watch;patch;update;delete;
6564
// +kubebuilder:rbac:groups=networking.liqo.io,resources=configurations,verbs=get;list;watch;patch;update;delete;
6665
// +kubebuilder:rbac:groups=authentication.liqo.io,resources=resourceslices,verbs=get;list;watch;patch;update;delete;
6766

@@ -134,11 +133,6 @@ func main() {
134133
os.Exit(1)
135134
}
136135

137-
if err := uninstaller.DeleteIpamStorage(ctx, dynClient); err != nil {
138-
klog.Errorf("Unable to delete IpamStorage: %s", err)
139-
os.Exit(1)
140-
}
141-
142136
// Wait for resources to be effectively deleted, to allow releasing possible finalizers.
143137
if err := uninstaller.WaitForResources(dynClient, uninstaller.PhaseCleanup); err != nil {
144138
klog.Errorf("Unable to wait deletion of objects: %s", err)

0 commit comments

Comments
 (0)