-
Notifications
You must be signed in to change notification settings - Fork 460
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
Kubernetes MinIO Operator installation issue ""operator TLS secret not found: secrets "operator-tls" not found"" #1320
Comments
@ravipokala what is the operator version? |
v4.5.2 |
@harshavardhana : Minio version is v4.5.2 |
@ravipokala it looks like the operator TLS certificate is only approved but not issued. Can you describe your CSR, |
Please find the requested information below.
Our K8S cluster kube-controller-manager can't include signing key info as described @ https://min.io/docs/minio/kubernetes/upstream/operations/installation.html?ref=docs-redirect#kubernetes-tls-certificate-api |
Hi,
Cert-Manager generates certificate with "tls.crt" I don't see a way change that to "public.crt" |
Any pointer to fix the issue is much appreciated. |
Same issue. |
I'm also seeing errors about the |
@chancez could you please open a separate issue for your case since it's not the same. |
Fair enough. Filed #1839 |
NOTE
All GitHub issues are addressed on a best-effort basis at MinIO's sole discretion. There are no Service Level Agreements (SLA) or Objectives (SLO). Remember our Code of Conduct when engaging with MinIO Engineers and the larger community.
For urgent issues (e.g. production down, etc.), subscribe to SUBNET for direct to engineering support.
I am trying to install MinIO Operator in K8S with kubectl minio plug-in. Operator and related resources are installed but not able create the tenants because of issue with TLS, Pod logs show the error message operator TLS secret not found: secrets "operator-tls" not found
Operator CSR is approved.
k get csr
NAME AGE SIGNERNAME REQUESTOR CONDITION
operator-minio-operator-csr 2m4s kubernetes.io/legacy-unknown system:serviceaccount:minio-operator:minio-operator Approved
Expected Behavior
Current Behavior
k logs pod/minio-operator-765bf7584f-p2kk8
I1022 06:34:27.872349 1 main.go:70] Starting MinIO Operator
E1022 06:34:28.390319 1 main.go:167] Error updating CRD with caBundle: Operation cannot be fulfilled on customresourcedefinitions.apiextensions.k8s.io "tenants.minio.min.io": the object has been modified; please apply your changes to the latest version and try again
I1022 06:34:28.390376 1 main.go:169] caBundle on CRD updated
I1022 06:34:28.391414 1 main-controller.go:244] Setting up event handlers
I1022 06:34:28.391695 1 leaderelection.go:248] attempting to acquire leader lease minio-operator/minio-operator-lock...
I1022 06:34:28.397812 1 main-controller.go:496] minio-operator-765bf7584f-zz7g9: is the leader, removing any leader labels that I 'minio-operator-765bf7584f-p2kk8' might have
ravikp@engtech-dev-01 /homes/ravikp/k8/charts>k logs pod/minio-operator-765bf7584f-zz7g9
I1022 06:34:27.871084 1 main.go:70] Starting MinIO Operator
I1022 06:34:28.319476 1 main.go:169] caBundle on CRD updated
I1022 06:34:28.320264 1 main-controller.go:244] Setting up event handlers
I1022 06:34:28.320530 1 leaderelection.go:248] attempting to acquire leader lease minio-operator/minio-operator-lock...
I1022 06:34:28.337811 1 leaderelection.go:258] successfully acquired lease minio-operator/minio-operator-lock
I1022 06:34:28.337901 1 main-controller.go:478] minio-operator-765bf7584f-zz7g9: I am the leader, applying leader labels on myself
I1022 06:34:28.337981 1 main-controller.go:390] Waiting for API to start
I1022 06:34:28.338018 1 main-controller.go:382] Starting HTTP Upgrade Tenant Image server
I1022 06:34:28.354749 1 main-controller.go:351] Using Kubernetes CSR Version: v1beta1
I1022 06:34:28.376184 1 operator.go:94] operator TLS secret not found: secrets "operator-tls" not found
W1022 06:34:28.378842 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
W1022 06:34:28.396406 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
I1022 06:34:28.397936 1 operator.go:94] operator TLS secret not found: secrets "operator-tls" not found
W1022 06:34:28.399456 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
W1022 06:34:28.404946 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
W1022 06:34:28.416114 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
I1022 06:34:28.416291 1 csr.go:183] Start polling for certificate of csr/operator-minio-operator-csr, every 5s, timeout after 20m0s
W1022 06:34:33.420469 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
W1022 06:34:38.419672 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
W1022 06:34:43.419079 1 warnings.go:70] certificates.k8s.io/v1beta1 CertificateSigningRequest is deprecated in v1.19+, unavailable in v1.22+; use certificates.k8s.io/v1 CertificateSigningRequest
Possible Solution
Steps to Reproduce (for bugs)
Context
Regression
Your Environment
minio --version
):uname -a
):The text was updated successfully, but these errors were encountered: