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

Update Controller Runtime, SDK and k8s modules #707

Merged
merged 6 commits into from
Sep 30, 2024
Merged

Conversation

HarishH-DELL
Copy link
Contributor

@HarishH-DELL HarishH-DELL commented Sep 26, 2024

Description

Update Controller Runtime, SDK and k8s modules
Controller Runtime - v0.18.5
SDK - 1.37
K8s io modules - v0.30.5

GitHub Issues

List the GitHub issues impacted by this PR:

GitHub Issue #
dell/csm#1435

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

  • Ran Go mod tidy
  • Basic image build using podman
  • Ran the unit test, results are:
go run core/semver/semver.go -f mk > semver.mk
go fmt ./...
core/core_generated.go
go vet ./...
KUBEBUILDER_ASSETS="/root/.local/share/kubebuilder-envtest/k8s/1.30.3-linux-amd64" go test ./... -coverprofile cover.out
        github.com/dell/csm-operator            coverage: 0.0% of statements
        github.com/dell/csm-operator/api/v1             coverage: 0.0% of statements
?       github.com/dell/csm-operator/pkg/constants      [no test files]
        github.com/dell/csm-operator/pkg/logger         coverage: 0.0% of statements
        github.com/dell/csm-operator/core/semver                coverage: 0.0% of statements
        github.com/dell/csm-operator/core               coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/csidriver            coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/configmap            coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/rbac         coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/serviceaccount               coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/deployment           coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/daemonset            coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/utils          coverage: 0.0% of statements
        github.com/dell/csm-operator/pkg/resources/statefulset          coverage: 0.0% of statements
        github.com/dell/csm-operator/tests/shared               coverage: 0.0% of statements
        github.com/dell/csm-operator/tests/shared/crclient              coverage: 0.0% of statements
        github.com/dell/csm-operator/tests/shared/clientgoclient                coverage: 0.0% of statements
ok      github.com/dell/csm-operator/controllers        57.851s coverage: 88.8% of statements
ok      github.com/dell/csm-operator/k8s        0.161s  coverage: 83.9% of statements
ok      github.com/dell/csm-operator/pkg/drivers        0.349s  coverage: 95.2% of statements
ok      github.com/dell/csm-operator/pkg/modules        2.780s  coverage: 90.3% of statements

Copy link
Contributor

@chimanjain chimanjain left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@HarishH-DELL HarishH-DELL merged commit a35d5a0 into main Sep 30, 2024
7 checks passed
@chimanjain chimanjain deleted the upd-go-module branch October 3, 2024 05:43
ChristianAtDell added a commit that referenced this pull request Oct 15, 2024
* update k8s modules

* update gomega module and revert controller-runtime

* controller runtime update to 0.18.5

* opeartor sdk update

* fix lint issues

* update ENVTEST_K8S_VERSION to 1.30

---------

Co-authored-by: Chiman Jain <[email protected]>
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.

3 participants