feat: install operator-sdk and document new resource scaffolding #864
+19
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Install
operator-sdk
go.kubebuilder.io/v3
version which we use in PROJECT. This version is deprecated and we should migrate our project structure to v3. See https://kubebuilder.io/migration/migration_guide_gov3_to_gov4❯ ./bin/operator-sdk-v1.36.0 create api --version v1alpha1 --kind Valkey --force ./bin/operator-sdk-v1.36.0 create webhook --version v1alpha1 --kind Valkey --defaulting --programmatic-validation --conversion [Deprecation Notice] This version is deprecated.The `go/v3` cannot scaffold projects using kustomize versions v4x+ and cannot fully support Kubernetes 1.25+.It is recommended to upgrade your project to the latest versions available (go/v4).Please, check the migration guide to learn how to upgrade your project ...
Documents commands used to scaffold new resources in the "Developer guide" page