Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't map two secrets to /etc/secrets #9

Open
bitmage opened this issue Mar 30, 2017 · 2 comments
Open

Can't map two secrets to /etc/secrets #9

bitmage opened this issue Mar 30, 2017 · 2 comments

Comments

@bitmage
Copy link

bitmage commented Mar 30, 2017

Kubernetes doesn't support mapping two secrets to the same directory... They're mounted as volumes and you can't put one volume inside another or merge the keys in any way.

In the meantime, is there something we can do with this container to make it easier to work with? Possible solutions:

  1. Make the auth secret location configurable, e.g. AUTH_LOCATION.
  2. Put the auth secret in a different place, e.g. /etc/auth/htpasswd.

1 would be more backward compatible, but is anyone successfully utilizing the current configuration? 2 avoids adding an additional config parameter, and feels a little bit more aware of the present kubernetes limitations.

@alexcouper
Copy link
Member

alexcouper commented Mar 30, 2017

I'm assuming that you're wanting to use a single nginx proxy for multiple letsencrypt (or otherwise) provided certs and hosts.

Up until now I've been running one per domain name - but yes this seems less than ideal.

But maybe this isn't what you're saying because there would be more issues than just this - for example the servername only allows one at the moment etc.

So maybe you could provide some more (zoomed out) details of what it is you're trying to do?

@bitmage
Copy link
Author

bitmage commented Apr 1, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants