-
Notifications
You must be signed in to change notification settings - Fork 377
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
[Bug] Unable to download grafana.com dashboards - x509: certificate signed by unknown authority #591
Comments
Hello, We're having the same issue |
So I've managed to get it to work by running the ubi-minimal image locally and copying the ca-bundle.crt as so:
Create a Add a volume mount to the operator deployment something like so: volumeMounts:
- mountPath: /etc/pki/tls/certs/ca-bundle.crt
subPath: ca-bundle.crt
name: ca-bundle
readOnly: true
volumes:
- name: ca-bundle
configMap:
name: ca-bundle |
What would the maintainers prefer a PR do? Use ubi-minimal as the base image in the Dockerfile? Or use another stage in the Dockerfile to copy from ubi-minimal? |
First of all thanks for reporting the issue and taking such a deep look at it. So copying the certs from ubi-minimal sounds like a good idea to me. Sure it will increase the build time a bit but build only happens once. |
Any EAT regarding this? |
Signed-off-by: dan-j <5727701+dan-j@users.noreply.github.com>
Signed-off-by: dan-j <5727701+dan-j@users.noreply.github.com>
Signed-off-by: dan-j <5727701+dan-j@users.noreply.github.com>
Signed-off-by: dan-j <5727701+dan-j@users.noreply.github.com>
About now :D |
Describe the bug
Unable to use
GrafanaDashboard
with remote HTTPS URLs. This is the error from the logs:The base docker image for the operator is
registry.access.redhat.com/ubi8/ubi-micro:8.4
, this image doesn't include the trusted CA bundle so all HTTPS requests which should be trusted aren't.Discussed on slack, but creating this issue to make it more easily discoverable.
Version
v4.0.1
To Reproduce
Create a
GrafanaDashboard
like so:Expected behavior
The dashboard from grafana.com should be downloaded and no errors appear in the operator logs.
Suspect component/Location where the bug might be occuring
Docker image doesn't contain trusted CA bundles.
Runtime (please complete the following information):
The text was updated successfully, but these errors were encountered: