Skip to content

Conversation

@dprince
Copy link
Contributor

@dprince dprince commented Nov 6, 2025

This change introduces the ability to override default tool versions used by install_yamls devsetup. Users can now customize versions for:
- OPM (cifmw_install_yamls_opm_version)
- Operator SDK (cifmw_install_yamls_sdk_version)
- Golang (cifmw_install_yamls_go_version)
- Kustomize (cifmw_install_yamls_kustomize_version)

The new customize_devsetup_vars.yml task updates the install_yamls devsetup/vars/default.yaml file when any of these variables are defined.

@dprince dprince requested a review from a team as a code owner November 6, 2025 14:24
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 6, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dprince dprince force-pushed the install_yamls_devestup_vars branch from c7b0d71 to fa5695f Compare November 6, 2025 14:33
danpawlik
danpawlik previously approved these changes Nov 6, 2025
@danpawlik
Copy link
Contributor

I see that spell check does not pass, because opm word. Could you add it into docs/dictionary/en-custom.txt please?

@danpawlik danpawlik requested a review from a team November 6, 2025 15:57
@dprince dprince force-pushed the install_yamls_devestup_vars branch from fa5695f to 367cf3c Compare November 6, 2025 16:29
danpawlik
danpawlik previously approved these changes Nov 6, 2025
brjackma
brjackma previously approved these changes Nov 6, 2025
@danpawlik danpawlik enabled auto-merge (rebase) November 6, 2025 16:47
@dprince
Copy link
Contributor Author

dprince commented Nov 6, 2025

/test images

3 similar comments
@dprince
Copy link
Contributor Author

dprince commented Nov 6, 2025

/test images

@dprince
Copy link
Contributor Author

dprince commented Nov 6, 2025

/test images

@dprince
Copy link
Contributor Author

dprince commented Nov 6, 2025

/test images

dprince added a commit to dprince/openstack-operator that referenced this pull request Nov 6, 2025
This upgrades the operator-sdk to version 1.41.1, which includes migrating
to the Kubebuilder v4 layout and modernizing the project structure.

Key changes:
  - Re-scaffold the project with operator-sdk 1.41.1
  - Update both main.go to support the latest kubebuilder features. This
    includes using WithAuthenticationAndAuthorization to guard metrics
    endpoints. This drops use of kube-rbac-proxy for openstack-operator.
  - Migrated from Kubebuilder v3 to v4 layout (PROJECT file updated)
  - Renamed apis/ directory to api/ following Kubebuilder v4 conventions
  - Updated all import paths throughout the codebase to use api/ instead of apis/
  - Moved main.go to cmd/main.go per new project structure
  - Partially updated webhook implementations to use new validation/defaulting patterns. More
    work can be done to consolidate the webhook code in the internal/webhook directory in the future.
  - Added missing webhook configurations for OpenStackClient, OpenStackDataPlaneService, and
    OpenStackDataPlaneDeployment to PROJECT
  - Upgraded kustomize from v5.5.0 to v5.6.0
  - Updated controller-gen paths to reflect new directory structure
  - Updated all Makefile targets and test paths

Co-Authored-By: Claude <[email protected]>

Depends-On: openstack-k8s-operators/ci-framework#3462
Jira: OSPRH-21438
@dprince
Copy link
Contributor Author

dprince commented Nov 6, 2025

/test images

@dprince
Copy link
Contributor Author

dprince commented Nov 6, 2025

/test images

This change introduces the ability to override default tool versions used by install_yamls devsetup.

Users can now customize versions for:
- OPM (cifmw_install_yamls_opm_version)
- Operator SDK (cifmw_install_yamls_sdk_version)
- Golang (cifmw_install_yamls_go_version)
- Kustomize (cifmw_install_yamls_kustomize_version)

The new customize_devsetup_vars.yml task updates the install_yamls devsetup/vars/default.yaml file when any of these variables are defined.

Signed-off-by: Dan Prince <[email protected]>
@dprince dprince force-pushed the install_yamls_devestup_vars branch from 0d80a23 to 1b3274e Compare November 6, 2025 21:56
@dprince dprince requested a review from danpawlik November 10, 2025 01:17
@dprince dprince requested a review from brjackma November 10, 2025 01:17
@danpawlik danpawlik merged commit 0032196 into openstack-k8s-operators:main Nov 10, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants