Skip to content
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

Use controller-gen instead of operator-sdk #279

Merged
merged 2 commits into from
May 13, 2022

Conversation

kvaps
Copy link
Member

@kvaps kvaps commented Feb 28, 2022

operator-sdk v0.19.4 is quite old and already deprecated, as it generates resources wrong.
I just tried to implement podTemplate field and it wasn't working for Kubernetes >1.18

see kubernetes/kubernetes#91395

controller-gen which is used by default in newer operator-sdk versions is working fine.

Copy link
Member

@WanzenBug WanzenBug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes generally look good and much less painful than I expected. I'd make one change if it's feasible for everyone to use go 1.17.

Makefile Outdated Show resolved Hide resolved
@WanzenBug
Copy link
Member

Also, as a general heads-up, I won't merge this for 1.8.0

@kvaps kvaps force-pushed the controller-gen branch 2 times, most recently from 279f2f1 to c7e5232 Compare March 1, 2022 12:52
@kvaps kvaps mentioned this pull request Mar 5, 2022
@WanzenBug
Copy link
Member

@kvaps I think you need to update the github actions to use go 1.17

kvaps added 2 commits May 12, 2022 17:52
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
Copy link
Member

@WanzenBug WanzenBug left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks a lot easier than I would have expected 👍

@WanzenBug WanzenBug merged commit 2a59348 into piraeusdatastore:master May 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants