Code Monkey home page Code Monkey logo

Comments (5)

james-d-elliott avatar james-d-elliott commented on June 1, 2024

Is this not what you're after? https://github.com/authelia/chartrepo/blob/master/charts/authelia/values.yaml#L170-L173

from chartrepo.

bnapalm avatar bnapalm commented on June 1, 2024

I tried that option. It is for specifying an existing TLSOption, and though it would seem that it should work for the "default" option as well, by just specifying the option "default" in the correct namespace, I receive errors in traefik dashboard saying that such TLSOption doesn't exist.

unknown TLS options: network-default@kubernetescrd
note that my default option is named "default" and is in namespace "network", it's not a typo. And also all other IngressRoutes I have (without the option defined at all) correctly use the expected default option and don't present any errors, so my default option works as expected.

According to the Traefik documentation linked above, the "default" option does not have a namespace (even though of corse, technically, the kubernetes object does belong to one, but traefik itself seems to ignore it).

As mentioned above, in this case, the ingress does end up using the default option, but not without forever showing error for the respective router. I assume this is because it falls back to the default option when the defined option is deemed non-existent.

So, it seems that this option can only be properly chosen (without presenting errors) by not defining any tlsoption at all. In essence, what would satisfy this is ability to completely omit this block, including the "Option" subkey on line 53.: https://github.com/authelia/chartrepo/blob/master/charts/authelia/templates/traefikCRD/ingressRoute.yaml#L53-L59
right now I need to either specify an existing option, or a new one gets generated for me. Also, as far as I know, Traefik has its own defined default option, so the deployment should still work even if the user has no TLSOption in the IngressRoute defined, nor a manual "default" option.

from chartrepo.

james-d-elliott avatar james-d-elliott commented on June 1, 2024

https://doc.traefik.io/traefik/routing/providers/kubernetes-crd/#kind-ingressroute

Per their docs that should work, but looks like we made a mistake:

https://github.com/authelia/chartrepo/blob/master/charts/authelia/templates/traefikCRD/ingressRoute.yaml#L57-L58

Either way when I fix it I can probably add a method to disable it.

from chartrepo.

bnapalm avatar bnapalm commented on June 1, 2024

Confirming that with #134 this works as expected in my use case.
Thanks!

from chartrepo.

james-d-elliott avatar james-d-elliott commented on June 1, 2024

No worries!

from chartrepo.

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.