-
Notifications
You must be signed in to change notification settings - Fork 459
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
requestAutoCert makes tenant stuck in "Provisioning default buckets", operator can't find Kubernetes CA (CN=kubernetes) #1845
Comments
https://github.com/minio/operator#4-connect-to-the-tenant says that the ca.crt must be copied over. Let me try that May use the Go config (instead use SSL_CERTS_DIR https://pkg.go.dev/crypto/x509) |
Setting SSL_CERTS_DIR and CURL_CA_BUNDLE environment variables to the But any input on the "minio" service-naming convention and about Prometheus integration will be appreciated |
The prometheus integration seems to be resolved by setting PROMETHEUS_NAMESPACE env var to the operator. But the Tenant is in a continuous/infinite loop w/ the [provisionedBucketStatus]. (https://github.com/minio/operator/blob/fc3d3f4b9039d749b58bc48ec79dd2e311dac205/pkg/controller/status.go#L183C72-L183C72). Operator checks the tenant every 5 seconds, and there is some issue there, should it stop at the error in helper.
|
this is version 5.0.10 -- looks like there are some code changes on this feature, as part #1840 ? should we not do provisionedBuckets until then? |
Trying to use a default setup of the minio-operator and a tenant, using Helm charts version 5.0.10. The operator is installed in
minio-operator
namespace, and tenant isappzero
intenant-ns
namespace, with 3 buckets defined. This is the tenant yaml file. therequestAutoCert
istrue
by default in the Tenant helm values.yamlExpected Behavior
I expect this to work, with this tenant and the three buckets created
Current Behavior
additionally, there are three services created for the tenant in the
tenant-ns
namespace.appzero-console
,appzero-hl
, and justminio
. Why is theminio
service created without the prefix of the tenant name (should beappzero-minio
)? Is it because of the ingress configuration for the tenant?an unrelated -- if I set
prometheusOperator: true
, it looks at the default namespace, is there a way to specify the namespace for the Prometheus?Additional information
SSL certificate problem: unable to get local issuer certificate
** the
minio.tenant-ns
service is showingsubject: O=system:nodes; CN=system:node:*.appzero-hl.tenant-ns.svc.cluster.local start date: Oct 31 23:05:16 2023 GMT expire date: Oct 30 23:05:16 2024 GMT issuer: CN=kubernetes
curl -k https://minio.tenant-ns.svc.cluster.local/bkt1
) works. curl uses only/etc/pki/tls/certs/ca-bundle.crt
to validate certsPossible Solution
requestAutoCert: false
so as to get a closure to this issueSteps to Reproduce (for bugs)
Context
Thank you!
Regression
Your Environment
minio-operator
): 5.0.17uname -a
):The text was updated successfully, but these errors were encountered: