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

Insecure Skip verify for mimir helm chart. #5425

Open
dpreston-wss opened this issue Jul 5, 2023 · 1 comment
Open

Insecure Skip verify for mimir helm chart. #5425

dpreston-wss opened this issue Jul 5, 2023 · 1 comment

Comments

@dpreston-wss
Copy link

Deploying Mimr utilizing an already existing secure minio setup. Running into issues with the storage pods connecting to minio buckets.

Using insecure = false, fails because it does now

To Reproduce

When installing the helm chart (after disabling the minio container creation), using insecure = true fails due to minio redirecting from http to https.

Using insecure = false, fails because it fails to verify cerificate.

Expected behavior

A clear and concise description of what you expected to happen.

Environment

  • Infrastructure: Kubernetes
  • Deployment tool: helm

Is there a way to implement Insecure_skip_verify?
Is there a way with the helm chart to add our internal certificates so that it can connect to the existing secure minio?

@dimitarvdimitrov
Copy link
Contributor

When installing the helm chart (after disabling the minio container creation), using insecure = true fails due to minio redirecting from http to https.

looks like setting an https scheme for the minio URL should fix this.

there are a couple of open issues related to this - #1796 and #1981


But you should be able to verify certs as well.

Technically it should be possible to mount the certificate files onto the Mimir pods on specific locations and the go runtime should pick them up and trust them by default. Juding from the code the locations are

	"/etc/ssl/certs",               // SLES10/SLES11, https://golang.org/issue/12139
	"/etc/pki/tls/certs",           // Fedora/RHEL
	"/system/etc/security/cacerts", // Android

You can try mounting the self-seigned certificates of Minio somewhere under /etc/ssl/certs. Maybe /etc/ssl/certs/minio.pem.

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