diff --git a/Makefile b/Makefile index 0957edfa..7b914664 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,7 @@ K3S_SELINUX_VERSION ?= 0.4-1 build: -mkdir -p ./bin CGO_ENABLED=0 go build -o ./bin ./cmd/karavictl/ -https://github.com/dell/csm-operator +https://eos2git.cec.lab.emc.com/CSM/csm-operator https://github.com/csm-operator diff --git a/README.md b/README.md index 4b2d2f75..feb77099 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,12 @@ You may obtain a copy of the License at --- -[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](https://github.com/dell/csm/blob/main/docs/CODE_OF_CONDUCT.md) +[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/CODE_OF_CONDUCT.md) [![License](https://img.shields.io/github/license/dell/karavi-authorization)](LICENSE) [![Go version](https://img.shields.io/github/go-mod/go-version/dell/karavi-authorization)](go.mod) -[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/dell/karavi-authorization?include_prereleases&label=latest&style=flat-square)](https://github.com/dell/karavi-authorization/releases/latest) +[![GitHub release (latest by date including pre-releases)](https://img.shields.io/github/v/release/dell/karavi-authorization?include_prereleases&label=latest&style=flat-square)](https://eos2git.cec.lab.emc.com/CSM/karavi-authorization/releases/latest) -CSM for Authorization is part of the [CSM (Container Storage Modules)](https://github.com/dell/csm) open-source suite of Kubernetes storage enablers for Dell products. CSM for Authorization provides storage and Kubernetes administrators the ability to apply RBAC for Dell CSI Drivers. It does this by deploying a proxy between the CSI driver and the storage system to enforce role-based access and usage rules. +CSM for Authorization is part of the [CSM (Container Storage Modules)](https://eos2git.cec.lab.emc.com/CSM/csm) open-source suite of Kubernetes storage enablers for Dell products. CSM for Authorization provides storage and Kubernetes administrators the ability to apply RBAC for Dell CSI Drivers. It does this by deploying a proxy between the CSI driver and the storage system to enforce role-based access and usage rules. Storage administrators of compatible storage platforms will be able to apply quota and RBAC rules that instantly and automatically restrict cluster tenants usage of storage resources. Users of storage through CSM for Authorization do not need to have storage admin root credentials to access the storage system. @@ -28,13 +28,13 @@ For documentation, please visit [Container Storage Modules documentation](https: ## Table of Contents -* [Code of Conduct](https://github.com/dell/csm/blob/main/docs/CODE_OF_CONDUCT.md) -* [Maintainer Guide](https://github.com/dell/csm/blob/main/docs/MAINTAINER_GUIDE.md) -* [Committer Guide](https://github.com/dell/csm/blob/main/docs/COMMITTER_GUIDE.md) -* [Contributing Guide](https://github.com/dell/csm/blob/main/docs/CONTRIBUTING.md) -* [List of Adopters](https://github.com/dell/csm/blob/main/docs/ADOPTERS.md) +* [Code of Conduct](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/CODE_OF_CONDUCT.md) +* [Maintainer Guide](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/MAINTAINER_GUIDE.md) +* [Committer Guide](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/COMMITTER_GUIDE.md) +* [Contributing Guide](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/CONTRIBUTING.md) +* [List of Adopters](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/ADOPTERS.md) * [Dell support](https://www.dell.com/support/incidents-online/en-us/contactus/product/container-storage-modules) -* [Security](https://github.com/dell/csm/blob/main/docs/SECURITY.md) +* [Security](https://eos2git.cec.lab.emc.com/CSM/csm/blob/main/docs/SECURITY.md) * [Project Structure](./docs/PROJECT_STRUCTURE.md) * [About](#about) @@ -52,7 +52,7 @@ If you wish to clone and build CSM for Authorization, a Linux host is required w Once all prerequisites are on the Linux host, follow the steps below to clone, build and deploy CSM for Authorization: -1. Clone the repository: `git clone https://github.com/dell/karavi-authorization.git` +1. Clone the repository: `git clone https://eos2git.cec.lab.emc.com/CSM/karavi-authorization.git` 2. In the karavi-authorization directory, run the following to build and deploy: `make build builder dist` ## Testing CSM for Authorization v1 diff --git a/cmd/karavictl/cmd/role.go b/cmd/karavictl/cmd/role.go index c5e1206e..1a5d3940 100644 --- a/cmd/karavictl/cmd/role.go +++ b/cmd/karavictl/cmd/role.go @@ -32,9 +32,9 @@ import ( "strings" "time" - pscale "github.com/dell/goisilon" - pmax "github.com/dell/gopowermax/v2" - "github.com/dell/goscaleio" + pscale "eos2git.cec.lab.emc.com/CSM/goisilon" + pmax "eos2git.cec.lab.emc.com/CSM/gopowermax/v2" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/spf13/cobra" "google.golang.org/grpc" "google.golang.org/grpc/credentials" diff --git a/go.mod b/go.mod index 2194c2f1..938dcf07 100644 --- a/go.mod +++ b/go.mod @@ -6,9 +6,9 @@ toolchain go1.24.1 require ( github.com/alicebob/miniredis/v2 v2.34.0 - github.com/dell/goisilon v1.19.0 - github.com/dell/gopowermax/v2 v2.10.0 - github.com/dell/goscaleio v1.20.0 + eos2git.cec.lab.emc.com/CSM/goisilon v1.19.0 + eos2git.cec.lab.emc.com/CSM/gopowermax/v2 v2.10.0 + eos2git.cec.lab.emc.com/CSM/goscaleio v1.20.0 github.com/dustin/go-humanize v1.0.1 github.com/fsnotify/fsnotify v1.9.0 github.com/go-redis/redis v6.15.9+incompatible diff --git a/internal/powerflex/storage_pool_cache.go b/internal/powerflex/storage_pool_cache.go index 8fb0066f..fa9af2a7 100644 --- a/internal/powerflex/storage_pool_cache.go +++ b/internal/powerflex/storage_pool_cache.go @@ -19,7 +19,7 @@ import ( "fmt" "sync" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" lru "github.com/hashicorp/golang-lru" "go.opentelemetry.io/otel/trace" ) diff --git a/internal/powerflex/storage_pool_cache_test.go b/internal/powerflex/storage_pool_cache_test.go index 4b2d4b9b..9e4cd7ae 100644 --- a/internal/powerflex/storage_pool_cache_test.go +++ b/internal/powerflex/storage_pool_cache_test.go @@ -22,7 +22,7 @@ import ( "testing" "time" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" "golang.org/x/sync/errgroup" ) diff --git a/internal/powerflex/token_getter.go b/internal/powerflex/token_getter.go index e74d2f0e..e439e735 100644 --- a/internal/powerflex/token_getter.go +++ b/internal/powerflex/token_getter.go @@ -19,7 +19,7 @@ import ( "sync" "time" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" "go.opentelemetry.io/otel/trace" ) diff --git a/internal/powerflex/token_getter_test.go b/internal/powerflex/token_getter_test.go index e7145f25..993c3f3c 100644 --- a/internal/powerflex/token_getter_test.go +++ b/internal/powerflex/token_getter_test.go @@ -24,7 +24,7 @@ import ( "testing" "time" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" "gopkg.in/yaml.v2" ) diff --git a/internal/proxy/powerflex_handler.go b/internal/proxy/powerflex_handler.go index eee19bca..0f0d9285 100644 --- a/internal/proxy/powerflex_handler.go +++ b/internal/proxy/powerflex_handler.go @@ -36,9 +36,9 @@ import ( "sync" "time" - types "github.com/dell/goscaleio/types/v1" + types "eos2git.cec.lab.emc.com/CSM/goscaleio/types/v1" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" "go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" "go.opentelemetry.io/otel/attribute" diff --git a/internal/proxy/powermax_handler.go b/internal/proxy/powermax_handler.go index e87b0f84..f3042c73 100644 --- a/internal/proxy/powermax_handler.go +++ b/internal/proxy/powermax_handler.go @@ -31,7 +31,7 @@ import ( "strings" "sync" - pmax "github.com/dell/gopowermax/v2" + pmax "eos2git.cec.lab.emc.com/CSM/gopowermax/v2" "github.com/julienschmidt/httprouter" "github.com/sirupsen/logrus" diff --git a/internal/role-service/validate/powerflex.go b/internal/role-service/validate/powerflex.go index 1f6ab981..d907ca9f 100644 --- a/internal/role-service/validate/powerflex.go +++ b/internal/role-service/validate/powerflex.go @@ -22,7 +22,7 @@ import ( storage "karavi-authorization/cmd/karavictl/cmd" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" ) diff --git a/internal/role-service/validate/powermax.go b/internal/role-service/validate/powermax.go index 4d761ab1..14d95a27 100644 --- a/internal/role-service/validate/powermax.go +++ b/internal/role-service/validate/powermax.go @@ -21,7 +21,7 @@ import ( storage "karavi-authorization/cmd/karavictl/cmd" "net/url" - pmax "github.com/dell/gopowermax/v2" + pmax "eos2git.cec.lab.emc.com/CSM/gopowermax/v2" "github.com/sirupsen/logrus" ) diff --git a/internal/role-service/validate/powerscale.go b/internal/role-service/validate/powerscale.go index 233376bf..bbe09040 100644 --- a/internal/role-service/validate/powerscale.go +++ b/internal/role-service/validate/powerscale.go @@ -21,7 +21,7 @@ import ( storage "karavi-authorization/cmd/karavictl/cmd" "net/url" - pscale "github.com/dell/goisilon" + pscale "eos2git.cec.lab.emc.com/CSM/goisilon" "github.com/sirupsen/logrus" ) diff --git a/internal/storage-service/powerflex.go b/internal/storage-service/powerflex.go index 8852e6b6..122b55db 100644 --- a/internal/storage-service/powerflex.go +++ b/internal/storage-service/powerflex.go @@ -4,8 +4,8 @@ import ( "context" "sync" - "github.com/dell/goscaleio" - types "github.com/dell/goscaleio/types/v1" + "eos2git.cec.lab.emc.com/CSM/goscaleio" + types "eos2git.cec.lab.emc.com/CSM/goscaleio/types/v1" "golang.org/x/sync/semaphore" ) diff --git a/internal/storage-service/service.go b/internal/storage-service/service.go index 94c75eb0..bbd21c12 100644 --- a/internal/storage-service/service.go +++ b/internal/storage-service/service.go @@ -27,7 +27,7 @@ import ( "golang.org/x/sync/errgroup" "golang.org/x/sync/semaphore" - "github.com/dell/goscaleio" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" ) diff --git a/internal/storage-service/validate.go b/internal/storage-service/validate.go index c80e43a4..b658426a 100644 --- a/internal/storage-service/validate.go +++ b/internal/storage-service/validate.go @@ -21,9 +21,9 @@ import ( storage "karavi-authorization/cmd/karavictl/cmd" - pscale "github.com/dell/goisilon" - pmax "github.com/dell/gopowermax/v2" - "github.com/dell/goscaleio" + pscale "eos2git.cec.lab.emc.com/CSM/goisilon" + pmax "eos2git.cec.lab.emc.com/CSM/gopowermax/v2" + "eos2git.cec.lab.emc.com/CSM/goscaleio" "github.com/sirupsen/logrus" ) diff --git a/pb/auth.proto b/pb/auth.proto index 801488aa..540c388e 100644 --- a/pb/auth.proto +++ b/pb/auth.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package gatekeeper; -option go_package = "github.com/dell/karavi-authorization/pb"; +option go_package = "eos2git.cec.lab.emc.com/CSM/karavi-authorization/pb"; message LoginRequest { string Provider = 1; diff --git a/pb/role-service.proto b/pb/role-service.proto index 967376e4..c92b3313 100644 --- a/pb/role-service.proto +++ b/pb/role-service.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package karavi; -option go_package = "github.com/dell/karavi-authorization/pb"; +option go_package = "eos2git.cec.lab.emc.com/CSM/karavi-authorization/pb"; message RoleCreateRequest { string name = 1; diff --git a/pb/storage_service.proto b/pb/storage_service.proto index 88a6a505..5eb15f64 100644 --- a/pb/storage_service.proto +++ b/pb/storage_service.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package karavi; -option go_package = "github.com/dell/karavi-authorization/pb"; +option go_package = "eos2git.cec.lab.emc.com/CSM/karavi-authorization/pb"; message StorageCreateRequest { diff --git a/pb/tenant_service.proto b/pb/tenant_service.proto index 2b956712..d20eed21 100644 --- a/pb/tenant_service.proto +++ b/pb/tenant_service.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package karavi; -option go_package = "github.com/dell/karavi-authorization/pb"; +option go_package = "eos2git.cec.lab.emc.com/CSM/karavi-authorization/pb"; message Tenant {