Skip to content

Commit

Permalink
ipam: cleanup old packages and resources
Browse files Browse the repository at this point in the history
  • Loading branch information
aleoli committed Nov 21, 2024
1 parent 137a743 commit 1a19ce2
Show file tree
Hide file tree
Showing 34 changed files with 1 addition and 5,607 deletions.
1 change: 0 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ generate-groups:
# Generate gRPC files
grpc: protoc
$(PROTOC) --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative pkg/ipam/ipam.proto
$(PROTOC) --go_out=. --go_opt=paths=source_relative --go-grpc_out=. --go-grpc_opt=paths=source_relative pkg/ipamold/ipam.proto

protoc:
ifeq (, $(shell which protoc))
Expand Down
112 changes: 0 additions & 112 deletions apis/ipam/v1alpha1/ipamstorage_types.go

This file was deleted.

165 changes: 0 additions & 165 deletions apis/ipam/v1alpha1/zz_generated.deepcopy.go

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

6 changes: 0 additions & 6 deletions cmd/uninstaller/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func init() {
// +kubebuilder:rbac:groups=networking.liqo.io,resources=internalnodes,verbs=get;list;watch;patch;update;delete;
// +kubebuilder:rbac:groups=ipam.liqo.io,resources=networks,verbs=get;list;watch;patch;update;delete;
// +kubebuilder:rbac:groups=ipam.liqo.io,resources=ips,verbs=get;list;watch;patch;update;delete;
// +kubebuilder:rbac:groups=ipam.liqo.io,resources=ipamstorages,verbs=get;list;watch;patch;update;delete;
// +kubebuilder:rbac:groups=networking.liqo.io,resources=configurations,verbs=get;list;watch;patch;update;delete;
// +kubebuilder:rbac:groups=authentication.liqo.io,resources=resourceslices,verbs=get;list;watch;patch;update;delete;

Expand Down Expand Up @@ -134,11 +133,6 @@ func main() {
os.Exit(1)
}

if err := uninstaller.DeleteIpamStorage(ctx, dynClient); err != nil {
klog.Errorf("Unable to delete IpamStorage: %s", err)
os.Exit(1)
}

// Wait for resources to be effectively deleted, to allow releasing possible finalizers.
if err := uninstaller.WaitForResources(dynClient, uninstaller.PhaseCleanup); err != nil {
klog.Errorf("Unable to wait deletion of objects: %s", err)
Expand Down
Loading

0 comments on commit 1a19ce2

Please sign in to comment.