Repository navigation
chore: bump operator-sdk and related tools versions and fix the issues reported #2060
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
Merged
openshift-merge-bot
merged 22 commits into
redhat-developer:main
from
rm3l:rhidp-11243-operator-upgrade-operator-sdk-version
Jun 24, 2026
Merged
Changes from 18 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
d7de068
chore: Bump operator-sdk to v1.42.0 and most dependencies
rm3l c82d756
chore: Fix issues reported by golangci-lint
rm3l f092c46
fix unit tests
rm3l 58a568e
Bump more tools
rm3l c5bb697
Fix gosec
rm3l f189c88
Add generated code
rm3l e61a4af
fixup! chore: Bump operator-sdk to v1.42.0 and most dependencies
rm3l 74c2bf2
Merge remote-tracking branch 'upstream/main' into rhidp-11243-operato…
rm3l f210eef
chore: Bump operator-sdk to v1.42.2, controller-runtime to v0.21.0, a…
rm3l 9954ba7
chore: Bump tool versions in Makefile
rm3l dd73c56
chore: Bump tool versions in Makefile
rm3l a002779
chore: regen bundle manifests
rm3l 0ef3d1b
style: Normalize kubebuilder marker format to use space after //
rm3l cbb8d1d
fix: Align cmd/main.go with operator-sdk v1.42.2 scaffold
rm3l eb96aaf
chore: regen bundle manifests
rm3l 489fac4
chore: Align golangci-lint config with operator-sdk v1.42.2 scaffold
rm3l 4f7c06d
fix: Match ServiceMonitor port name to metrics Service
rm3l 5aed707
fix: Set envtest BinaryAssetsDirectory conditionally
rm3l 3b890a1
Merge remote-tracking branch 'upstream/main' into rhidp-11243-operato…
rm3l 5cd26b9
fix: Tighten PKGS regex to only exclude unserved API versions
rm3l 9392a45
Merge remote-tracking branch 'upstream/main' into rhidp-11243-operato…
rm3l 18a3644
chore: Bump controller-tools to v0.21.0 and regen manifests
rm3l File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| name: Lint Config Checks | ||
|
|
||
| on: | ||
| push: | ||
| paths: | ||
| - '.golangci.yml' | ||
| - '.github/workflows/lint-config-checks.yaml' | ||
| branches: [ main ] | ||
| pull_request: | ||
| paths: | ||
| - '.golangci.yml' | ||
| - '.github/workflows/lint-config-checks.yaml' | ||
| branches: [ main ] | ||
|
|
||
| jobs: | ||
| lint-config-check: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6 | ||
|
|
||
| - name: Setup Go | ||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6 | ||
| with: | ||
| go-version-file: 'go.mod' | ||
|
|
||
| - name: Verify linter configuration | ||
| run: make lint-config |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,14 +1,62 @@ | ||
| # Configuration for the golangci-lint tool - ensuring that dot imports do not trigger an ST1001 warning. | ||
|
|
||
| version: "2" | ||
| run: | ||
| allow-parallel-runners: true | ||
|
|
||
| linters: | ||
| default: none | ||
| enable: | ||
| - errcheck | ||
| - govet | ||
| - ineffassign | ||
| - misspell | ||
| - nakedret | ||
| - staticcheck | ||
| - unconvert | ||
| - unused | ||
| # TODO(asoro): Enable these linters from the operator-sdk scaffold once the | ||
| # existing violations are fixed. Tracked as tech debt. | ||
| #- copyloopvar | ||
| #- dupl | ||
| #- ginkgolinter | ||
| #- goconst | ||
| #- gocyclo | ||
| #- lll | ||
| #- prealloc | ||
| #- revive | ||
| #- unparam | ||
| # TODO(asoro): Re-add revive settings when the linter is enabled | ||
| #settings: | ||
| # revive: | ||
| # rules: | ||
| # - name: comment-spacings | ||
| # - name: import-shadowing | ||
| exclusions: | ||
| generated: lax | ||
| rules: | ||
| - path: '^integration_tests/|^tests/|[^/]+_test\.go' | ||
| linters: | ||
| - staticcheck | ||
| # exclude dot-imports checks on test-related files | ||
| text: "ST1001:" | ||
| text: "ST1001:" | ||
| # TODO(asoro): Re-add these exclusions when lll and dupl are enabled | ||
| #- linters: | ||
| # - lll | ||
| # path: api/* | ||
| #- linters: | ||
| # - dupl | ||
| # - lll | ||
| # path: internal/* | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
| formatters: | ||
| enable: | ||
| - gofmt | ||
| - goimports | ||
| exclusions: | ||
| generated: lax | ||
| paths: | ||
| - third_party$ | ||
| - builtin$ | ||
| - examples$ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tracked as follow-up tech debt issue in https://redhat.atlassian.net/browse/RHDHBUGS-3358