GithubHelp home page GithubHelp logo

Comments (6)

hbagdi avatar hbagdi commented on May 21, 2024 1

This is simply a naming thing and we likely won't fix it.

We can substitute the . with - in the template if the need be. Welcome a PR if you would like to add that.
An improvement to the doc is also welcome.

Please close this ticket if your issue is resolved. Thanks!

from charts.

hbagdi avatar hbagdi commented on May 21, 2024

What if you change the name of the secret from my-secret to mysecret?

from charts.

oscarlofwenhamn avatar oscarlofwenhamn commented on May 21, 2024

My bad: previous secret name was on the form domain.com-wildcard, and thus

env:
  ssl_cert: /etc/secrets/domain.com-wildcard/tls.crt
  ssl_cert_key: /etc/secrets/domain.com-wildcard/tls.key

secretVolumes:
- domain.com-wildcard

Changing it to domain-wildcard fixed the error!
I imagine the issue being that punctuation in directory names have implications in the container OS. Is there any know naming convention for Kubernetes objects that recommends . not to be used in object names?
If not, I can't really think of an easy fix other than perhaps including in the chart a noted recommendation in naming convention for the secretVolumes entry.

from charts.

oscarlofwenhamn avatar oscarlofwenhamn commented on May 21, 2024

I just realized the error message states as much as well:

Invalid value: "domain.com-wildcard": 
a DNS-1123 label must consist of lower case alphanumeric characters or '-', 
and must start and end with an alphanumeric character 
(e.g. 'my-name',  or '123-abc', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?')

from charts.

oscarlofwenhamn avatar oscarlofwenhamn commented on May 21, 2024

Doc PR done, might give another try to sorting the replace route if I find more time.

from charts.

oscarlofwenhamn avatar oscarlofwenhamn commented on May 21, 2024

Closing since the core issue is a wontfix either way, remaining discussion can (if needed) be held in the PR comments instead.

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.