-
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
Removing credsSecret required field in tenant spec #1009
Conversation
63af002
to
3e8f1fb
Compare
836e5c5
to
0926ccd
Compare
0926ccd
to
e47c4d0
Compare
e47c4d0
to
0d45be6
Compare
0c39bc2
to
1c9740a
Compare
1c9740a
to
c2a4b0d
Compare
PTAL @Alevsk at conflicts |
Can we rebase this and take it in @Alevsk ? |
Working on this today @harshavardhana |
c2a4b0d
to
bb0720c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall, few comments
bb0720c
to
940b048
Compare
940b048
to
85be30b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Alevsk please resolve the conflicts 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm hitting an NPE with a tenant which has no config file
goroutine 361 [running]:
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0x4dd574})
k8s.io/apimachinery@v0.20.6/pkg/util/runtime/runtime.go:55 +0xd8
panic({0x16ad080, 0x2759220})
runtime/panic.go:1038 +0x215
k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc000294250})
k8s.io/apimachinery@v0.20.6/pkg/util/runtime/runtime.go:55 +0xd8
panic({0x16ad080, 0x2759220})
runtime/panic.go:1038 +0x215
github.com/minio/operator/pkg/controller/cluster.(*Controller).checkForUpgrades(0xc000450480, {0x1af9218, 0xc000042028}, 0xc000e5f180)
github.com/minio/operator/pkg/controller/cluster/upgrades.go:93 +0xaca
github.com/minio/operator/pkg/controller/cluster.(*Controller).syncHandler(0xc000450480, {0xc001235bc0, 0x17})
github.com/minio/operator/pkg/controller/cluster/main-controller.go:650 +0x5ab
github.com/minio/operator/pkg/controller/cluster.(*Controller).processNextWorkItem.func1({0x163e060, 0xc000294250})
github.com/minio/operator/pkg/controller/cluster/main-controller.go:560 +0x245
github.com/minio/operator/pkg/controller/cluster.(*Controller).processNextWorkItem(0xc000450480)
github.com/minio/operator/pkg/controller/cluster/main-controller.go:572 +0x62
github.com/minio/operator/pkg/controller/cluster.(*Controller).runWorker(0x0)
github.com/minio/operator/pkg/controller/cluster/main-controller.go:512 +0x70
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1(0x7fe77453cd60)
k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:155 +0x67
k8s.io/apimachinery/pkg/util/wait.BackoffUntil(0xc0003e90e0, {0x1acbfc0, 0xc0006f4e70}, 0x1, 0xc00008f620)
k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:156 +0xb6
k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc000998520, 0x3b9aca00, 0x0, 0x28, 0xc0003e9140)
k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:133 +0x89
k8s.io/apimachinery/pkg/util/wait.Until(0xc000998590, 0xc0001c6480, 0xc00099c7e0)
k8s.io/apimachinery@v0.20.6/pkg/util/wait/wait.go:90 +0x25
created by github.com/minio/operator/pkg/controller/cluster.(*Controller).Start.func1
github.com/minio/operator/pkg/controller/cluster/main-controller.go:397 +0x3c5
Stream closed EOF for minio-operator/minio-operator-6f4f49887d-55pj4 (minio-operator)
85be30b
to
6746eb6
Compare
If tenant has no config file we should throw an error and stop execution for that tenant, meaning if theres a version of that tenant already running thats fine, but we should not apply any new incoming changes, that sounds good? |
13e954e
to
eb372fc
Compare
eb372fc
to
4bd3b42
Compare
49a5a93
to
aa5879a
Compare
- Removing required credsSecret field in tenant spec - Migration from creddsSecret to Configuration field for old tenants - Added helm lint verification to install_tenant test Signed-off-by: Lenin Alevski <alevsk.8772@gmail.com>
aa5879a
to
bd32c2f
Compare
Are we ready to make v5.0.0 @dvaldivia ? |
Signed-off-by: Lenin Alevski alevsk.8772@gmail.com