jenkins-x-plugins / jx-gitops

a simple CLI tool for working with kubernetes resources files in a GitOps repository
Apache License 2.0
32 stars 50 forks source link

fix: upgrade kubectl #932

Closed msvticket closed 1 year ago

msvticket commented 1 year ago

Especially to get rid of error in jx boot job

error: error retrieving RESTMappings to prune: invalid resource batch/v1beta1, Kind=CronJob, Namespaced=true: no matches for kind "CronJob" in version "batch/v1beta1"

Related to jenkins-x/jx#8454

msvticket commented 1 year ago

/cc ankitm123 tomhobson babadofar

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

jenkins-x-bot commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: tomhobson

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

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/jenkins-x-plugins/jx-gitops/blob/main/OWNERS)~~ [tomhobson] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
jenkins-x-bot commented 1 year ago

Failed to merge this PR due to:

failed merging [932]: [Method Not Allowed]

codetestdeployrepeat commented 1 year ago

How do I apply this version?

jx upgrade plugins

does not upgrade to gitops 0.14.9

I'd like to manually apply the updates if possible so our cluster may be able to run jx boot successfully.


nvm, figured out I just have to update versionStream/git-operator jobs and upgrade jx-boot manually to pre-release 3.10.86. We are about to run jx-boot successfully now.

Thank you for the fixes!