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

FLATNOTES_PORT is not documented an conflicts with the kubernetes default environment variable assignment #187

Open
sparksis opened this issue May 26, 2024 · 0 comments
Labels
triage required Requires input from a maintainer

Comments

@sparksis
Copy link

Given a services resource named flatnotes kubernetes will create and automatically inject an environment variable FLATNOTES_PORT=tcp://10.152.183.133:80 into all containers within the namespace. This conflicts with these.

Given that the services resource port does not necessarily align with the contain port the best solution may be to skip processing that portion of the script in entrypoint.sh if KUBERNETES_PORT is not empty ([[ -z "${KUBERNETES_PORT}" ]]).

I think it would also be valuable to document the existence and usage of FLATNOTES_PORT.

@dullage dullage added the triage required Requires input from a maintainer label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage required Requires input from a maintainer
Projects
None yet
Development

No branches or pull requests

2 participants