-
Notifications
You must be signed in to change notification settings - Fork 88
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
Change crashLoop setup to allow to select container #1472
Conversation
@johscheuer : Not sure what It happening, but I'm getting this error for build. Seems like there is a codegen to convert Go types to whatever kube yaml or whatever it understands., and it doesn't know how to convert this particular type? Which doesn't make sense as map is made of primitive values (string) here, it's just nested. Figuring out a way around this.
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
f32df10
to
f660a8e
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
9460a64
to
0b88052
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
0b88052
to
c14df68
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.
You can use the NormalizeClusterSpec method to convert the existing CrashLoop
into the new format. That makes the internal handling easier and we only have to work with the CrashLoopContainers. You can put the conversion method here: https://github.com/FoundationDB/fdb-kubernetes-operator/blob/main/internal/deprecations.go#L59 (between the custom parameter validation and the if statement).
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
4e4301c
to
e5f361b
Compare
Are we using existing |
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
81afd82
to
bf7c337
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
bf7c337
to
f8e789c
Compare
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
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.
The failure is unrelated to the changes and we have an issue to investigate that failure.I'm fine with merging this PR as it is and continue working on the feature in #1484.
Thanks!
Result of fdb-kubernetes-operator-pr on Linux CentOS 7
|
Fixes: #1438