Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into stateless authorization branch #611

Merged
merged 35 commits into from
Jun 25, 2024

Conversation

alikdell
Copy link
Contributor

Description

Merge main into stateless authorization branch.

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1281

Checklist:

  • I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
  • I have verified that new and existing unit tests pass locally with my changes
  • I have not allowed coverage numbers to degenerate
  • I have maintained at least 90% code coverage
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have maintained backward compatibility

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration

  • make controller_unit_test
  • make driver_unit_test

chimanjain and others added 29 commits May 2, 2024 21:29
* update github actions

* add exclusion
* update go modules

* replace deprecated ioutil package
* Fix auto update of related images during make bundle

* update comments in makefile

---------

Co-authored-by: panigs7 <spandita.panigrahi@dell.com>
* fix invalid controller status

* remove client status in apexclient as there is no client status in acc object

---------

Co-authored-by: panigs7 <spandita.panigrahi@dell.com>
* Add support for authorization upgrade

* Add upgrade-path.yaml for authorization proxy server

* Add min upgrade path support for authorization proxy server

* Fix status loggers

* Fix linting issues

* Fix linting issues

* Fix authorization pre-checks

* Update checkUpgrade for authorization

* Update checkUpgrade for authorization

* Fix controller UT

* Add test scenarios for authorization sidecar upgrade to e2e

* Fix module UT failure

* Increase code coverage of controller pkg

* Increase code coverage of controller pkg

* Address review comments

---------

Co-authored-by: Jooseppi Luna <jooseppi_luna@dell.com>
* add yaml lint action
* e2e test changes

* consolidate replication test cases, comment out non-replication tags

* fix bug

* Update env-e2e-test.sh

* got tests working

* reconfigure how we run tests

* minor bug fixes to script

* fix bug

* bug fix

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update array-info.sh

* Update README.md

* Update README.md

* Update README.md

* more detailed examples

* Update README.md

* go fmt

* Update e2e_test.go

* merge auth upgrade tests

* consolidate sanity test cases
* function to get the csm namespaces from the cluster

* change the function to unexported type for time being

* refactor variablename and error message

* refactor variablename and error message

* fix yaml lint
* add v1.0.3 support (#524)

* add v1.0.3 support

* update test files

(cherry picked from commit 0763aac)

* Changed cluster role binding for secrets to role binding on specific namespaces (#527)

* Changed cluster role binding for secrets to role binding on specific namespaces

* Modified sample CRD

* Added Default CSM Namespace

* Added csmNamespace in crds and samples

* Added namespace - default to role

* Hardcoded CSM namespace as dell-csm

* Added namespace creation

* Added secret names

* add Namespace to GetModuleComponentObj

* Added secret names

* ClusterRole does not have namespace (k8s docs)

---------

Co-authored-by: nijayf <francis.nijay@emc.com>
Co-authored-by: Jooseppi Luna <jooseppi_luna@dell.com>
(cherry picked from commit 4e74385)

* Remove secret create restriction by resourcenames (#529)

* Removed restriction by resourcenames

* Moved permissions from clusterrole to role

* Moved permissions from clusterrole to role

* Update statefulset.yaml

* Update statefulset.yaml

* Update statefulset.yaml

* Added list permission for secret at cluster level

* removed list secret

* review changes

* review changes

---------

Co-authored-by: Jooseppi Luna <jooseppi_luna@dell.com>
(cherry picked from commit 7520e8a)

* dont delete namespaces BRUV (#531)

(cherry picked from commit 8ce8e00)

---------

Co-authored-by: JacobGros <jacobgrosner4@gmail.com>
Co-authored-by: Francis Nijay <francis.nijay@dell.com>
* Support downgrade

* Fix Annotation CSMVersion

* removing comment

* Fixing unit-test

* increase unit-test coverage

* Fix lint errors

* Fix bug in versioncheck

* Change variable name

* Fix changes

* Fix commits
* Added annotations for app-mobility upgrade

* Added upgrade path for 1.0.3 release

Signed-off-by: Harish P <harish_p4@dell.com>

---------

Signed-off-by: Harish P <harish_p4@dell.com>
* changes to support brownfield onboarding to ANK8s

* code refactoring

* remove commented code

* remove commented code

* remove commented code

* remove commented code

* remove commented code

* Fixed lint issues

* Fixed lint issues

* Added UT tescases

* Removing the failed testcases

* add new unit test case

* add new unit test case

* refactor the code

* refactor the code

* refactor the code

* refactor the code

* refactor the code

* lint-fix

* lint-fix

* Fixed lint issues

Signed-off-by: Harish P <harish_p4@dell.com>

* Fixed lint issues

Signed-off-by: Harish P <harish_p4@dell.com>

---------

Signed-off-by: Harish P <harish_p4@dell.com>
Co-authored-by: Harish P <harish_p4@dell.com>
Co-authored-by: meggm <meghana.gm@dell.com>
* Updating ubi micro dependencies
* Add downgrade unit-tests

* Fix broken unit-test

* downgradestests

* Add E2E test for downgrade support

* Adding comments

---------

Co-authored-by: daniyaliqbal2024 <daniyaliqbal_2024@depauw.edu>
* Removing the role and rolebindings from the brownfield deployment

* Removing the role and rolebindings from the brownfield deployment

* fixed lint issues

* refactor getting acc namespace

* Removing the role and rolebindings from the brownfield deployment

---------

Co-authored-by: Harish P <harishp8889@gmail.com>
Co-authored-by: Harish P <harish_p4@dell.com>
Co-authored-by: ashleyvjoy <Ashley.Joy@dell.com>
Cherry-picking the commits from patch release 1.5.1
* update csm-operator version

* update driver sample files and fix linting errors

* upgrade modules

* update sidecars

* update config version

* update sidecars and ocp version
* update usage of env X_CSI_ALLOWED_NETWORKS

* update config sample yaml

* update env in node.yaml
* sync acc and statefulset

* update acc

* fix golangci-lint

* fix linter

* remove comments

* UT coverage

* acc controller UT

* lint fix and added statefulset UTs

* lint fix

* controller UT

* fix linter

* remove return for constant

* UT fix

* linter fix

* lint fix

* Driver pkg UT

* remove comments
* Add app mobility 1.1.0 support

* update min upgrade path
@alikdell alikdell requested a review from abhi16394 as a code owner June 25, 2024 14:52
@alikdell alikdell merged commit 535a5cd into authorization-gitops Jun 25, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.