Skip to content

Conversation

andyatmiami
Copy link
Contributor

@andyatmiami andyatmiami commented Sep 12, 2025

ℹ️ : NO GH ISSUE

This commit brings about various changes to improve naming consistency across the workspaces/ components.

The original controller/ manifests were generated by kubebuilder and were not aligned with the conventions we have established in the backend and frontend components. Changing the manifests also had a "trickle effect" of requiring minor modifications to the Makefile as well as some e2e tests and documentation.

Key manifest changes:

  • dropped namePrefix transformation
  • standardized on kubeflow-workspaces namespace
  • leveraged name of workspaces-controller where sensible
  • Standardized app.kubernetes.io/* labels across all resources
    • leveraging labels transformation as much as possible
      • selectively applied includeSelectors: true when appropriate
  • Removed legacy control-plane=controller-manager labels
    • replaced with appropriate app.kubernetes.io/* labels to keep behavioral parity

@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks Sep 12, 2025
@google-oss-prow google-oss-prow bot added the area/controller area - related to controller components label Sep 12, 2025
@google-oss-prow google-oss-prow bot added area/v2 area - version - kubeflow notebooks v2 size/L labels Sep 12, 2025
@andyatmiami andyatmiami force-pushed the chore/controller-kustomize-consistency branch from 0e63f95 to 53dd15a Compare September 12, 2025 18:35
@andyatmiami
Copy link
Contributor Author

/ok-to-test

@andyatmiami andyatmiami force-pushed the chore/controller-kustomize-consistency branch 2 times, most recently from 9fa0e74 to aa26b04 Compare September 18, 2025 21:06
This commit brings about various changes to improve naming consistency across the `workspaces/` components.

The original `controller/` manifests were generated by kubebuilder and were not aligned with the conventions we have established in the `backend` and `frontend` components.  Changing the manifests also had a "trickle effect" of requiring minor modifications to the `Makefile` as well as some e2e tests and documentation.

Key manifest changes:
- dropped `namePrefix` transformation
- standardized on `kubeflow-workspaces` namespace
- leveraged name of `workspaces-controller` where sensible
- Standardized `app.kubernetes.io/*` labels across all resources
    - leveraging `labels` transformation as much as possible
        - selectively applied `includeSelectors: true` when appropriate
- Removed legacy control-plane=controller-manager labels
    - replaced with appropriate `app.kubernetes.io/*` labels to keep behavioral parity

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
@andyatmiami andyatmiami force-pushed the chore/controller-kustomize-consistency branch from aa26b04 to 0c33757 Compare September 25, 2025 20:04
@thesuperzapper thesuperzapper changed the title chore: update controller manifests to follow conventions chore: update controller manifests Sep 25, 2025
Copy link
Member

@thesuperzapper thesuperzapper left a comment

Choose a reason for hiding this comment

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

Thanks @andyatmiami

/approve

Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: thesuperzapper

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

The pull request process is described here

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

@google-oss-prow google-oss-prow bot merged commit 68d9466 into kubeflow:notebooks-v2 Sep 25, 2025
13 of 14 checks passed
@github-project-automation github-project-automation bot moved this from Needs Triage to Done in Kubeflow Notebooks Sep 25, 2025
@andyatmiami andyatmiami deleted the chore/controller-kustomize-consistency branch October 6, 2025 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 lgtm ok-to-test size/L
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants