Skip to content

wip: work on bumping KB#6514

Closed
varshaprasad96 wants to merge 17 commits intooperator-framework:masterfrom
varshaprasad96:bump/k8s-1.27
Closed

wip: work on bumping KB#6514
varshaprasad96 wants to merge 17 commits intooperator-framework:masterfrom
varshaprasad96:bump/k8s-1.27

Conversation

@varshaprasad96
Copy link
Copy Markdown
Member

@varshaprasad96 varshaprasad96 commented Jul 25, 2023

Things to do:

Description of the change:

Motivation for the change:

Checklist

If the pull request includes user-facing changes, extra documentation is required:

closes: #6571

@openshift-ci openshift-ci Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jul 25, 2023
@varshaprasad96
Copy link
Copy Markdown
Member Author

/hold
Please hold from reviewing. A bunch of changes need to be done, work in progress.

@varshaprasad96
Copy link
Copy Markdown
Member Author

Blocked by kubernetes-sigs/controller-runtime#2427

Comment thread go.mod Outdated
Comment thread go.mod Outdated
Bumping versions of dependencies for k8s 1.27

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
This commit fixes most of the OLM client and helm controller
code to accomodate the changes made in controller-runtime.

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
This commit fixes some of the dependency versions which need
to be pinned specifically in the project to be able to run
successfully. It also fixes the handler code base in ansible.

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
This commit is the first iteration towards fixing breaking changes in
ansible to bump k8s dependencies.

Signed-off-by: Varsha Prasad Narsing <varshaprasad96@gmail.com>
@Neo2308
Copy link
Copy Markdown
Contributor

Neo2308 commented Sep 2, 2023

@varshaprasad96 raised a PR to this branch with the fix for scorecard. (Tested for go e2e)

@varshaprasad96 varshaprasad96 temporarily deployed to deploy September 6, 2023 21:06 — with GitHub Actions Inactive
@varshaprasad96 varshaprasad96 temporarily deployed to deploy September 6, 2023 21:06 — with GitHub Actions Inactive
@varshaprasad96
Copy link
Copy Markdown
Member Author

varshaprasad96 commented Sep 6, 2023

@Neo2308 I have merged your pull request.

  • To fix the sanity: Can you bump the local operator-sdk version which you have to the latest (1.31) and run make generate. That should fix the diffs.
  • To fix unit tests: The new handler package in ansible is using envtest binaries. The KUBEBUILDER_ASSETS var should be set to point to the right location where binaries are downloaded using setup-envtest. Similar to how it is done here:
    KUBEBUILDER_ASSETS = $(PWD)/$(shell go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest && $(shell go env GOPATH)/bin/setup-envtest use $(K8S_VERSION) --bin-dir tools/bin/ -p path)
    . Either we can set this up before calling the unit test target, or remove the handler tests package from in here and have it tested separately.

Thanks for working on this! Feel free to lmk if you have any questions.

Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
Signed-off-by: Neo2308 <pradha.krishna.cse17@itbhu.ac.in>
@Neo2308
Copy link
Copy Markdown
Contributor

Neo2308 commented Sep 7, 2023

@varshaprasad96 raised a PR to this branch with the fix for unit & sanity tests.

Need help on fixing the e2e tests.

@varshaprasad96
Copy link
Copy Markdown
Member Author

@Neo2308 Thanks for the fix. Looking into the CI, it seems like the e2e tests are failing on the run packagemanifests tests for OLM. Before we start looking into it and figure out the issue, I'm wondering if it is even required. Packagemanifests have been deprecated for long, are not being used widely, since folks have moved to using operator bundles. So it should be fine to remove them. I've created a slack thread to confirm with other maintainers: https://kubernetes.slack.com/archives/C017UU45SHL/p1694445066414709

@openshift-merge-robot
Copy link
Copy Markdown

PR needs rebase.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@Neo2308
Copy link
Copy Markdown
Contributor

Neo2308 commented Sep 22, 2023

@varshaprasad96 did we hear back on the slack thread? I dont have access to this slack organisation.

@varshaprasad96
Copy link
Copy Markdown
Member Author

varshaprasad96 commented Sep 22, 2023

@Neo2308 I have not received any reply on this. But to unblock for now, I'd say to proceed with removing tests for package manifests but ensure that run bundle works as expected. Those can be added back in, if there is any strong opinion against removing them during reviews.

@Neo2308
Copy link
Copy Markdown
Contributor

Neo2308 commented Sep 23, 2023

@varshaprasad96 could you take this up since I am not sure what exactly needs to be removed?

@everettraven
Copy link
Copy Markdown
Contributor

/assign @oceanc80

acornett21 and others added 2 commits October 9, 2023 11:40
Signed-off-by: Adam D. Cornett <adc@redhat.com>
@Neo2308
Copy link
Copy Markdown
Contributor

Neo2308 commented Dec 11, 2023

@varshaprasad96 / @oceanc80 What are the next steps here? Is there something I can help with?
Considering that k8s 1.29 is scheduled to be released this week, we would be 3 versions behind the master.

@Neo2308
Copy link
Copy Markdown
Contributor

Neo2308 commented Dec 30, 2023

@varshaprasad96 could we close this PR since its been covered in #6613 and available in https://github.com/operator-framework/operator-sdk/releases/tag/v1.33.0

@openshift-bot
Copy link
Copy Markdown

Issues go stale after 90d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle stale

@openshift-bot
Copy link
Copy Markdown

Stale issues rot after 30d of inactivity.

Mark the issue as fresh by commenting /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
Exclude this issue from closing by commenting /lifecycle frozen.

If this issue is safe to close now please do so with /close.

/lifecycle rotten
/remove-lifecycle stale

@openshift-bot
Copy link
Copy Markdown

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 30, 2024

@openshift-bot: Closed this PR.

Details

In response to this:

Rotten issues close after 30d of inactivity.

Reopen the issue by commenting /reopen.
Mark the issue as fresh by commenting /remove-lifecycle rotten.
Exclude this issue from closing again by commenting /lifecycle frozen.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot make install after updating java-operator-plugins

8 participants