-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
"error obtaining PEM" from Secrets not referenced by Ingress rule #1709
Comments
@jfoy thank you for the report.
|
One of the issues (besides the bug) is that we cannot filter the informers or just watch a list of objects |
I just upgraded to 0.13.0 and started getting these type of log entries not referenced for TLS, but for basic auth. Is there a regression?
|
@aledbf I also see the error described by @whereisaaron |
@jpalomaki please update to 0.14.0 |
@aledbf will do |
@aledbf running 0.14.0, I still get
|
@aledbf should this issue be re-opened? |
@jpalomaki no. Please open a new issue |
Is this a request for help?: No
What keywords did you search in NGINX Ingress controller issues before filing this one?: "error obtaining PEM"
Is this a BUG REPORT or FEATURE REQUEST? (choose one): Bug report
NGINX Ingress controller version: 0.9.0-beta.17
Kubernetes version (use
kubectl version
): v1.7.6+coreos.0Environment:
uname -a
): 4.12.10-coreosWhat happened: When we installed nginx-ingress-controller on a cluster, we saw a steady stream of messages with the warning below. The Secret in the error is not referenced by any Ingress rules.
We traced the frequency of warnings to a faulty controller that was spuriously updating the Secret, but it's still a mystery why we would get this warning for any Secret that isn't associated with Ingress.
What you expected to happen: We shouldn't see warnings about Secrets that aren't (and never have been) associated with Ingress rules.
How to reproduce it (as minimally and precisely as possible):
Start nginx-ingress-controller as described above. In a namespace watched for Ingress changes, update any Secret that doesn't contain a .pem file.
Anything else we need to know:
It seems strange that we're scanning every Secret unconditionally for Ingress credentials on every update. Would something like this be more correct?
That change passes both
make test
andmake e2e-test
. I'll be happy to submit it as a PR as soon as our CLA is up-to-date.The text was updated successfully, but these errors were encountered: