-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Prometheus cert provisioning is broken on istio-1.5.0-beta.5 #21843
Comments
Cause for #21843: outputKeyCertToDir used by Prometheus cert provisioning reads its value from the environmental variable OUTPUT_KEY_CERT_TO_DIRECTORY. On release-1.5 branch, a commit in istio-1.5.0-beta.5 changes outputKeyCertToDir to read its value from the environmental variable OUTPUT_CERTS, which was not set in the Prometheus deployment. The master branch does not have the problem in #21843 because the commit in istio-1.5.0-beta.5 that changes outputKeyCertToDir to read its value from the environmental variable OUTPUT_CERTS is only merged in the release-1.5 branch but not in the master branch. |
The fix for this issue: #21848. |
For Istio 1.5.0 users, here's how to manually fix this issue:
When the deploy config is opened, find the Wait for the new Prometheus instance to come up. Check the key and certificates are loaded by:
|
Bug description
Prometheus cert provisioning works on istio-1.5.0-beta.4 but is broken on istio-1.5.0-beta.5. The new commits (e.g., the ones that change Istio Agent) in istio-1.5.0-beta.5 may be related to this problem.
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ X] Policies and Telemetry
[X ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Expected behavior
Prometheus cert provisioning works for istio-1.5.0-beta.5.
Steps to reproduce the bug
Use the steps in the guide https://github.com/istio/istio.io/pull/6554/files, which works for istio-1.5.0-beta.4 but breaks for istio-1.5.0-beta.5.
Version (include the output of
istioctl version --remote
andkubectl version
andhelm version
if you used Helm)istio-1.5.0-beta.5
How was Istio installed?
istioctl
Environment where bug was observed (cloud vendor, OS, etc)
MacOS.
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.
The text was updated successfully, but these errors were encountered: