Coder Social home page Coder Social logo

[clusterissuer] certificate authority input validation fails after update to dragonfish with custom certificate authority about charts HOT 4 CLOSED

jasonmhite avatar jasonmhite commented on July 24, 2024
[clusterissuer] certificate authority input validation fails after update to dragonfish with custom certificate authority

from charts.

Comments (4)

stavros-k avatar stavros-k commented on July 24, 2024 2

Please follow this
https://ixsystems.atlassian.net/browse/NAS-128590

from charts.

stavros-k avatar stavros-k commented on July 24, 2024 2

Hence the linked issue I’ve asked you to follow is reopened.

from charts.

jasonmhite avatar jasonmhite commented on July 24, 2024

@stavros-k Thanks for pointing me to that. This still seems to be a bug with the chart or something on iX's side, the max_length in the clusterissuer chart is 10240, but I'm still seeing the validation error. This is also new after Dragonfish, but the commit to update in the clusterissuer chart that changes the length to 10240 is over a year old, so I think something new is broken. Or did you mean that I should follow up on iX's bug tracker?

from charts.

jasonmhite avatar jasonmhite commented on July 24, 2024

Just for anybody who hits this issue, upstream has pushed a patch but it'll probably be a while before it makes it into a release. This is a show-stopper for me causing all sorts of problems, but I wasn't super keen to switch to the nightly release train, so I manually backported the fix and it's working. Beware that editing requires unsetting readonly on the system volume, so this is probably risky, but if you want a quick solution that works for now...

As root/sudo:

  • zfs set readonly=off boot-pool/ROOT/24.04.0/usr
  • edit /usr/lib/python3/dist-packages/middlewared/plugins/chart_releases_linux/schema.py and make these changes.
  • zfs set readonly=on boot-pool/ROOT/24.04.0/usr
  • systemctl restart middlewared (or reboot)

Again be warned that this is risky, maybe down the line I'll pay if there is some issue with editing the filesystem when it comes time to update but I know how to work around it, ymmv.

from charts.

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.