GithubHelp home page GithubHelp logo

Comments (10)

voltane avatar voltane commented on May 28, 2024 7

I found a solution by the way :D It was announced on TrueCharts Discrod 7.11.2023.

Cert-Manager update issues

Users having problems with updating cert-manager from the operators train will have to run:
k3s kubectl delete --grace-period 30 --v=4 -k https://github.com/truecharts/manifests/delete4
Then try the update again
Do an edit of cluster-issuer without any changes and save...

In edgecases where this does not work correctly, please follow the instructions below at your own risk
Find out if there are any crd objects left by running k3s kubectl get crd -A | grep "cert-manager"

Run the following, replacing "REPLACE" with the name of the object identified with the command above:
k3s kubectl delete crd REPLACE (Note, if stuck for a minute or two, just hit ctrl+c and continue)
k3s kubectl patch crd/REPLACE -p '{"metadata":{"finalizers":[]}}' --type=merge

For me after first suggested command to run, cert-manager updated correctly to latest version. Cheers!

from cert-manager.

BeatSpark avatar BeatSpark commented on May 28, 2024 1

Darn. Now's a bad time to mention that I just filed the ticket.

Though it's still something that'd be handy for them to fix.

truecharts/charts#16561

from cert-manager.

voltane avatar voltane commented on May 28, 2024

I'm pretty sure that this error has nothing to do with cert-manager itself. Its rather related with cert-manager definition created by TrueCharts for TrueNAS environment. Better file a ticket here: https://github.com/truecharts/charts/issues.
Anyways, i'm also getting the same error and still looking for solution ;)

from cert-manager.

BeatSpark avatar BeatSpark commented on May 28, 2024

Cheers. I'll go and close this and refile a fresh ticket over there.

I'll add in a link for you to the new one before I close this tho.

from cert-manager.

BeatSpark avatar BeatSpark commented on May 28, 2024

Just for my own reference, since I really don't know how to do much when it comes to the non-gui side, minus your general navigation of a Linux file system, how would I go about doing this fix?

from cert-manager.

voltane avatar voltane commented on May 28, 2024

On Your TrueNAS Scale go to System Settings > Shell. There You can run commands mentioned above.

from cert-manager.

BeatSpark avatar BeatSpark commented on May 28, 2024

I had tried that initially, given it's a copy-paste solution, although it threw up this error:
WARN[0000] Unable to read /etc/rancher/k3s/k3s.yaml, please start server with --write-kubeconfig-mode to modify kube config permissions error: error loading config file "/etc/rancher/k3s/k3s.yaml": open /etc/rancher/k3s/k3s.yaml: permission denied

Unless I need to login as root-

from cert-manager.

voltane avatar voltane commented on May 28, 2024

Indeed You have to login as root.

from cert-manager.

BeatSpark avatar BeatSpark commented on May 28, 2024

Yep, cool, got that sorted.

Glad to see that the 'Updates available' tag is gone now. Holy crap.

from cert-manager.

voltane avatar voltane commented on May 28, 2024

Good to hear that. Besides that i'm not a discord-guy and i'm not using it on my daily basis, i encourge You to join their Discord here https://truecharts.org/s/discord. A lot of issues has a solution there which are not available elsewhere.

from cert-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.