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

feat: install operator-sdk and document new resource scaffolding #864

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

rriski
Copy link
Contributor

@rriski rriski commented Jan 13, 2025

  • Install operator-sdk

    • v1.36.0 is chosen as it supports 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
    Capture

@rriski rriski requested a review from a team as a code owner January 13, 2025 14:25
@rriski rriski requested a review from byashimov January 13, 2025 14:25
@rriski rriski force-pushed the rriski-install-operator-sdk branch from 7d6b7fe to caff29e Compare January 13, 2025 14:26
Copy link
Contributor

@byashimov byashimov left a comment

Choose a reason for hiding this comment

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

Nice job.

@rriski rriski force-pushed the rriski-install-operator-sdk branch from caff29e to d96e9f5 Compare January 14, 2025 15:30
@rriski rriski merged commit ff85356 into main Jan 15, 2025
7 checks passed
@rriski rriski deleted the rriski-install-operator-sdk branch January 15, 2025 06:29
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.

2 participants