-
Notifications
You must be signed in to change notification settings - Fork 461
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
operator 5.0.1 ignores CLUSTER_DOMAIN env for MINIO_ARGS env #1535
Comments
Hey @an-tex perhaps after upgrade the value of |
We had the same problem, but at the end we realized, that we had a typo when upgrading the Operator using "kubectl minio init --cluster-domain ....". It seems, that if you have a typo in your cluster domain, the Operator falls back to the default "cluster.local". Initializing with the correct domain solved the problem for me. |
I'm using ArgoCD for the operator installation. All I'm changing is the version field in the Helm Application CRD so there shouldn't be any other differences. I've tried a few times changing it back and forth between the old and new version (and also a fresh installation), always with the same result |
Any solution for the issue? |
I am again having problems again with another installation. No typo today, and i cant get my minio tenants running. all pods try to connect to cluster.local. Minio Operator 5.0.2 |
Actually my comment 2 weeks ago was on a cluster where minio Operator 4.5.8 runs. So this comment does not affect the problem with 5.X Operator. |
Ah, damn. Operator constantly deletes my changes in the STS and tenants stop working short after getting green. |
Workaround until the next version of the operator is out: Scale down Operator to 0, edit STSs of tenants. |
Expected Behavior
setting a custom CLUSTER_DOMAIN env when using operator 4.5.8, the MINIO_VARARGS settings correctly contain that cluster domain in the
operator-webhook-secret
, e.g.MINIO_ARGS: env+tls://xx:xx.minio-operator.svc.my.domain:4222/webhook/v1/getenv/admin/minio
and i guess the operator returns the correct minio_args. the minio pods come up as intended
Current Behavior
using the new operator 5.0.1 (probably 5.0.0 affected too) with the same CLUSTER_DOMAIN env, the new sidecar creates the following config
hence it uses the default
cluster.local
domain and the minio pods fail to startup withYour Environment
minio-operator
): 5.0.1uname -a
): Linux fsn2 5.15.0-60-generic K66-Ubuntu SMP Fri Jan 20 14:29:49 UTC 2023 x86_64 x86_64 x86_64 GNU/LinuxThe text was updated successfully, but these errors were encountered: