Skip to content

chore(deps): Replace k8s deps that have version 0.0.0#1088

Open
olivergondza wants to merge 2 commits intoredhat-developer:masterfrom
olivergondza:fix-intellij-idea-integration
Open

chore(deps): Replace k8s deps that have version 0.0.0#1088
olivergondza wants to merge 2 commits intoredhat-developer:masterfrom
olivergondza:fix-intellij-idea-integration

Conversation

@olivergondza
Copy link
Collaborator

What type of PR is this?

Uncomment only one /kind line, and delete the rest.
For example, > /kind bug would simply become: /kind bug

/kind bug
/kind cleanup
/kind failing-test
/kind enhancement
/kind documentation
/kind code-refactoring

What does this PR do / why we need it:

Intellij integration relies on project introspection by go list -m all. Resolving these modules is failing otherwise:

go: k8s.io/cloud-provider@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/cluster-bootstrap@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/cri-api@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/cri-client@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/csi-translation-lib@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/dynamic-resource-allocation@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/endpointslice@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/externaljwt@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/kube-controller-manager@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/kube-proxy@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/kube-scheduler@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/kubelet@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/mount-utils@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/pod-security-admission@v0.0.0: invalid version: unknown revision v0.0.0
go: k8s.io/sample-apiserver@v0.0.0: invalid version: unknown revision v0.0.0

Have you updated the necessary documentation?

  • [no] Documentation update is required by this PR.
  • [no] Documentation has been updated.

Which issue(s) this PR fixes:

None

Test acceptance criteria:

  • [no] Unit Test
  • [no] E2E Test

How to test changes / Special notes to the reviewer:

@openshift-ci openshift-ci bot added the kind/enhancement New feature or request label Feb 25, 2026
@openshift-ci openshift-ci bot requested review from AdamSaleh and wtam2018 February 25, 2026 12:47
@olivergondza
Copy link
Collaborator Author

/retest


// Avoid CVE-2022-28948
gopkg.in/yaml.v3 => gopkg.in/yaml.v3 v3.0.1

Copy link
Member

@jgwest jgwest Feb 26, 2026

Choose a reason for hiding this comment

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

I wonder if we should use an exact copy of the same block that we use in upstream argocd-operator:

Why? This makes it easy to keep argocd-operator/gitops operator replace blocks in sync (and both in sync with argocd, which both heavily depend on).

Anyways, +1 from me for this change, we had this replace block before @svghadi recently removed it, so can check with him first to see what his reasoning was. (But as above, my preference is just stay exactly in sync with upstream arogcd replace block for convenience)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Sounds like a good idea. FTR, here I have pinned the versions that intellij was struggling with, I have not aligned it with any other project.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@jgwest, Synced in the last commit in this PR. argocd-operator needed a tweak too argoproj-labs/argocd-operator#2101.

Copy link
Member

Choose a reason for hiding this comment

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

My intention was to clean up the replace statements since we had many of them and were running into issues during upgrades. But if copying the replaces from upstream works fine, we can go with that approach.

@olivergondza olivergondza force-pushed the fix-intellij-idea-integration branch 4 times, most recently from d589cab to 5573063 Compare March 3, 2026 13:41
Copy link
Member

@svghadi svghadi left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@olivergondza
Copy link
Collaborator Author

@jgwest, ok to lift your request for changes?

@olivergondza olivergondza requested a review from jgwest March 5, 2026 10:49
Intellij integration relies on project introspection by `go list -m all`. Resolving
these modules is failing otherwise.

Signed-off-by: Oliver Gondža <ogondza@gmail.com>
Signed-off-by: Oliver Gondža <ogondza@gmail.com>
@olivergondza olivergondza force-pushed the fix-intellij-idea-integration branch from 5573063 to 2b2bcb3 Compare March 5, 2026 10:50
@openshift-ci
Copy link

openshift-ci bot commented Mar 5, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: svghadi

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved kind/enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants