← Back to Pull requests

Update kubeflow/notebooks manifests to v2.0.0-beta.0 #3584

Merged
christian-heusel merged 28 files (1263 lines) on Aug 24, 2026 11:47 UTC
View on GitHub
christian-heusel christian-heusel commented on Aug 20, 2026 21:10 UTC
Author

Pull Request Template for Kubeflow Manifests

✏️ Summary of Changes

Synchronize the changes from the latest Kubeflow Workspaces release:
https://github.com/kubeflow/notebooks/releases/tag/v2.0.0-beta.0

📦 Dependencies

_None_

🐛 Related Issues

_None_

✅ Contributor Checklist

  • I have tested these changes with kustomize. See Installation Prerequisites.

  • All commits are _signed-off_ to satisfy the DCO check.

  • I have considered adding my company to the adopters page to support Kubeflow and help the community, since I expect help from the community for my issue (see 1. and 2.).
  • Diff: 1263 lines (+1109 / -154) across 28 files Reviewer: juliusvonkohout Review duration: 5196m
    All Vouch review confidence checks passed
    Residual risk 0.09 = Change Risk (0.95) × (1 − Review Confidence (0.91)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.95 · 1263 lines diff across 28 files
    0.95
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.90 · 5 substantive comment(s)
    0.90
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    90%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.400
    Sensitive Paths sensitive_paths
    0.095
    Mass File Touch mass_file_touch
    0.080
    Real PR Conversation Timeline
    23 items
    juliusvonkohout juliusvonkohout commented on Aug 21, 2026 07:13 UTC
    Contributor

    May we also get a tiny dashboard release? There were a lot of security fixes.

    Copilot Copilot commented on code on Aug 21, 2026 07:16 UTC
    Code Review
    tests/workspacekind.test.yaml:1
    @@ -0,0 +1,267 @@
    +## Test-only copy of the upstream JupyterLab WorkspaceKind sample
    +## (applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml),
    +## trimmed to what the pipeline run test needs. The only functional difference
    +## from the upstream sample is the `serviceAccount.clusterRoles` grant below.

    This fixture still includes filter rules, activity rules, three unused image configurations, and two unused pod configurations, although the test selects only jupyter-scipy:v1.10.0 and tiny_cpu. Unrelated sample or schema changes can therefore break this pipeline test and require duplicate maintenance. Reduce the fixture to the minimum WorkspaceKind required by the selected image, pod configuration, and ServiceAccount grants.

    Copilot Copilot commented on code on Aug 21, 2026 07:16 UTC
    Code Review
    tests/workspaces_pipeline_run_test.sh:1
    @@ -3,7 +3,7 @@ set -euxo pipefail
     
     KF_PROFILE=${1:-kubeflow-user-example-com}
     
    -kubectl apply -f applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml
    +kubectl apply -f tests/workspacekind.test.yaml

    The workflow path filter tracks this script but not the newly referenced fixture. A change limited to tests/workspacekind.test.yaml will therefore skip the end-to-end test that consumes it. Add that fixture to .github/workflows/workspaces_pipeline_run_test.yaml so fixture changes are validated.

    Copilot Copilot commented on code on Aug 21, 2026 07:16 UTC
    Code Review
    tests/workspacekind.test.yaml:1
    @@ -0,0 +1,267 @@
    +## Test-only copy of the upstream JupyterLab WorkspaceKind sample
    +## (applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml),
    +## trimmed to what the pipeline run test needs. The only functional difference
    +## from the upstream sample is the `serviceAccount.clusterRoles` grant below.
    +apiVersion: kubeflow.org/v1beta1
    +kind: WorkspaceKind
    +metadata:
    +  name: jupyterlab
    +spec:
    +  spawner:
    +    displayName: "JupyterLab Notebook"
    +    description: "A Workspace which runs JupyterLab in a Pod"
    +    hidden: false
    +    deprecated: false
    +    icon:
    +      url: "https://jupyter.org/assets/favicons/apple-touch-icon-152x152.png"
    +    logo:
    +      url: "https://upload.wikimedia.org/wikipedia/commons/3/38/Jupyter_logo.svg"
    +
    +  filterRules:
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  activityRules:
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300
    +      match:
    +        matchNamespace:
    +          selector:
    +            matchLabels:
    +              tier: development
    +      effect:
    +        pauseWorkspace: true
    +    - config:
    +        secondsSinceActive: 86400
    +      match: {}
    +      effect:
    +        pauseWorkspace: true
    +
    +  podTemplate:
    +    podMetadata:
    +      labels:
    +        my-workspace-kind-label: "my-value"
    +      annotations:
    +        my-workspace-kind-annotation: "my-value"
    +    ## Grant the per-Workspace ServiceAccount ("ws-{WORKSPACE_NAME}") access to
    +    ## Kubeflow Pipelines. As of Workspaces v2.0.0-beta.0 this SA is no longer

    Use the precise Kubernetes resource name ServiceAccount instead of the abbreviation SA, matching the terminology used in the surrounding explanation.

    copilot-pull-request-reviewer[bot] copilot-pull-request-reviewer[bot] commented on Aug 21, 2026 07:16 UTC
    Reviewer

    Pull request overview

    Synchronizes Kubeflow Workspaces manifests with v2.0.0-beta.0 and adapts pipeline testing to per-Workspace ServiceAccounts.

    Changes:

  • Updates component images, CRDs, RBAC, samples, and observability resources.

  • Introduces activity rules, filtering, and per-Workspace ServiceAccounts.

  • Adds a pipeline-test WorkspaceKind with Pipeline permissions.
  • Reviewed changes

    Copilot reviewed 27 out of 27 changed files in this pull request and generated 3 comments.

    <details>
    <summary>Show a summary per file</summary>

    | File | Description |
    | ---- | ----------- |
    | tests/workspaces_pipeline_run_test.sh | Uses the test-specific WorkspaceKind. |
    | tests/workspacekind.test.yaml | Adds the pipeline-test WorkspaceKind. |
    | scripts/synchronize-kubeflow-workspaces-manifests.sh | Pins the new release. |
    | applications/workspaces/upstream/frontend/components/istio/authorization-policy.yaml | Updates selector labels. |
    | applications/workspaces/upstream/frontend/components/common/kustomization.yaml | Separates selector and template labels. |
    | applications/workspaces/upstream/frontend/base/kustomization.yaml | Updates the frontend image. |
    | applications/workspaces/upstream/controller/samples/rstudio_v1beta1_workspacekind.yaml | Updates the RStudio sample. |
    | applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml | Documents new WorkspaceKind capabilities. |
    | applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspace.yaml | Adds a display name example. |
    | applications/workspaces/upstream/controller/samples/common/workspace_service_account.yaml | Removes the obsolete ServiceAccount. |
    | applications/workspaces/upstream/controller/samples/common/kustomization.yaml | Removes the obsolete sample resource. |
    | applications/workspaces/upstream/controller/samples/codeserver_v1beta1_workspacekind.yaml | Updates the code-server sample. |
    | applications/workspaces/upstream/controller/overlays/istio-prometheus/kustomization.yaml | Adds the Prometheus overlay. |
    | applications/workspaces/upstream/controller/components/prometheus/network-policy.yaml | Allows metrics scraping. |
    | applications/workspaces/upstream/controller/components/prometheus/monitor.yaml | Updates monitor selectors. |
    | applications/workspaces/upstream/controller/components/prometheus/kustomization.yaml | Includes the metrics network policy. |
    | applications/workspaces/upstream/controller/components/common/kustomization.yaml | Separates selector and template labels. |
    | applications/workspaces/upstream/controller/base/manager/user_cluster_roles.yaml | Adds WorkspaceKind administrator permissions. |
    | applications/workspaces/upstream/controller/base/manager/role.yaml | Expands controller permissions. |
    | applications/workspaces/upstream/controller/base/manager/kustomization.yaml | Updates the controller image. |
    | applications/workspaces/upstream/controller/base/crd/kubeflow.org_workspaces.yaml | Extends Workspace fields and status. |
    | applications/workspaces/upstream/controller/base/crd/kubeflow.org_workspacekinds.yaml | Adds filtering, activity, and ServiceAccount schemas. |
    | applications/workspaces/upstream/backend/components/istio/authorization-policy.yaml | Updates selector labels. |
    | applications/workspaces/upstream/backend/components/common/kustomization.yaml | Separates selector and template labels. |
    | applications/workspaces/upstream/backend/base/rbac.yaml | Adds logs and metrics permissions. |
    | applications/workspaces/upstream/backend/base/kustomization.yaml | Updates the backend image. |
    | applications/workspaces/upstream/backend/base/deployment.yaml | Removes the obsolete authentication flag. |
    </details>

    ---

    💡 <a href="/kubeflow/community-distribution/new/master?filename=.github/skills/code-review/SKILL.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add a code-review agent skill</a> or configure MCP servers for context-aware, tailored reviews. <a href="https://docs.github.com/en/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review#mcp-servers-and-agent-skills" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn more in the docs.</a>

    juliusvonkohout juliusvonkohout commented on code on Aug 21, 2026 11:18 UTC
    Code Review
    applications/workspaces/upstream/backend/base/rbac.yaml:1
    @@ -44,6 +44,12 @@ rules:
       - get
       - list
       - watch
    +- apiGroups:
    +  - ""
    +  resources:
    +  - pods/log

    For what is this needed ?

    juliusvonkohout juliusvonkohout commented on code on Aug 21, 2026 11:20 UTC
    Code Review
    applications/workspaces/upstream/controller/base/manager/role.yaml:1
    @@ -79,3 +87,21 @@ rules:
       - patch
       - update
       - watch
    +- apiGroups:
    +  - rbac.authorization.k8s.io
    +  resources:
    +  - clusterroles

    for what is this needed ?

    juliusvonkohout juliusvonkohout commented on code on Aug 21, 2026 11:22 UTC
    Code Review
    applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml:1
    @@ -46,6 +53,88 @@ spec:
           #   key: "logo.svg"
           #   mediaType: "image/svg+xml"
     
    +  ## ================================================================
    +  ## FILTER RULES
    +  ##  - admin-defined rules used by the backend API server to dynamically filter
    +  ##    which WorkspaceKinds, imageConfig values, and podConfig values are visible
    +  ##    or allowed in a given context
    +  ##  - the controller does NOT evaluate these rules, it only persists and validates them
    +  ## ================================================================
    +  filterRules:
    +
    +    ## hide this WorkspaceKind in namespaces which are not labeled 'workspace_team=team_1'
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  ## ================================================================
    +  ## ACTIVITY RULES
    +  ##  - policies for handling inactivity in Workspaces of this kind
    +  ##  - rules are evaluated sequentially from top to bottom (first-match-wins semantics)
    +  ##    independently for each configured effect type (e.g., pauseWorkspace)
    +  ## ================================================================
    +  activityRules:
    +
    +    ## activityRule to pause workspaces which (AND)
    +    ##  - have the namespaces with the label 'tier=development' set
    +    ##  - have been running for at least 5 minutes (300 seconds)
    +    ##  - have been inactive for at least 2 hours (7200 seconds)
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300

    THat is exactly what i was looking forward to :-) when i dsicussed the requirements

    juliusvonkohout juliusvonkohout commented on code on Aug 21, 2026 11:22 UTC
    Code Review
    applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml:1
    @@ -46,6 +53,88 @@ spec:
           #   key: "logo.svg"
           #   mediaType: "image/svg+xml"
     
    +  ## ================================================================
    +  ## FILTER RULES
    +  ##  - admin-defined rules used by the backend API server to dynamically filter
    +  ##    which WorkspaceKinds, imageConfig values, and podConfig values are visible
    +  ##    or allowed in a given context
    +  ##  - the controller does NOT evaluate these rules, it only persists and validates them
    +  ## ================================================================
    +  filterRules:
    +
    +    ## hide this WorkspaceKind in namespaces which are not labeled 'workspace_team=team_1'
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  ## ================================================================
    +  ## ACTIVITY RULES
    +  ##  - policies for handling inactivity in Workspaces of this kind
    +  ##  - rules are evaluated sequentially from top to bottom (first-match-wins semantics)
    +  ##    independently for each configured effect type (e.g., pauseWorkspace)
    +  ## ================================================================
    +  activityRules:
    +
    +    ## activityRule to pause workspaces which (AND)
    +    ##  - have the namespaces with the label 'tier=development' set
    +    ##  - have been running for at least 5 minutes (300 seconds)
    +    ##  - have been inactive for at least 2 hours (7200 seconds)
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300

    What is missing is a maximum lifetime with or without activity.

    juliusvonkohout juliusvonkohout commented on code on Aug 21, 2026 11:23 UTC
    Code Review
    applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml:1
    @@ -46,6 +53,88 @@ spec:
           #   key: "logo.svg"
           #   mediaType: "image/svg+xml"
     
    +  ## ================================================================
    +  ## FILTER RULES
    +  ##  - admin-defined rules used by the backend API server to dynamically filter
    +  ##    which WorkspaceKinds, imageConfig values, and podConfig values are visible
    +  ##    or allowed in a given context
    +  ##  - the controller does NOT evaluate these rules, it only persists and validates them
    +  ## ================================================================
    +  filterRules:
    +
    +    ## hide this WorkspaceKind in namespaces which are not labeled 'workspace_team=team_1'
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  ## ================================================================
    +  ## ACTIVITY RULES
    +  ##  - policies for handling inactivity in Workspaces of this kind
    +  ##  - rules are evaluated sequentially from top to bottom (first-match-wins semantics)
    +  ##    independently for each configured effect type (e.g., pauseWorkspace)
    +  ## ================================================================
    +  activityRules:
    +
    +    ## activityRule to pause workspaces which (AND)
    +    ##  - have the namespaces with the label 'tier=development' set
    +    ##  - have been running for at least 5 minutes (300 seconds)
    +    ##  - have been inactive for at least 2 hours (7200 seconds)
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300

    so maxRunningSeconds

    christian-heusel christian-heusel commented on code on Aug 23, 2026 10:08 UTC
    Code Review
    applications/workspaces/upstream/backend/base/rbac.yaml:1
    @@ -44,6 +44,12 @@ rules:
       - get
       - list
       - watch
    +- apiGroups:
    +  - ""
    +  resources:
    +  - pods/log
    christian-heusel christian-heusel commented on code on Aug 23, 2026 10:10 UTC
    Code Review
    applications/workspaces/upstream/controller/base/manager/role.yaml:1
    @@ -79,3 +87,21 @@ rules:
       - patch
       - update
       - watch
    +- apiGroups:
    +  - rbac.authorization.k8s.io
    +  resources:
    +  - clusterroles

    See the new feature that I also used in 4aff0fcedb2d3caa06f8d8b52217d65a5c1d11c8 which dynamically generates the service account for the Workspace: https://github.com/kubeflow/notebooks/pull/1311

    christian-heusel christian-heusel commented on code on Aug 23, 2026 10:14 UTC
    Code Review
    applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml:1
    @@ -46,6 +53,88 @@ spec:
           #   key: "logo.svg"
           #   mediaType: "image/svg+xml"
     
    +  ## ================================================================
    +  ## FILTER RULES
    +  ##  - admin-defined rules used by the backend API server to dynamically filter
    +  ##    which WorkspaceKinds, imageConfig values, and podConfig values are visible
    +  ##    or allowed in a given context
    +  ##  - the controller does NOT evaluate these rules, it only persists and validates them
    +  ## ================================================================
    +  filterRules:
    +
    +    ## hide this WorkspaceKind in namespaces which are not labeled 'workspace_team=team_1'
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  ## ================================================================
    +  ## ACTIVITY RULES
    +  ##  - policies for handling inactivity in Workspaces of this kind
    +  ##  - rules are evaluated sequentially from top to bottom (first-match-wins semantics)
    +  ##    independently for each configured effect type (e.g., pauseWorkspace)
    +  ## ================================================================
    +  activityRules:
    +
    +    ## activityRule to pause workspaces which (AND)
    +    ##  - have the namespaces with the label 'tier=development' set
    +    ##  - have been running for at least 5 minutes (300 seconds)
    +    ##  - have been inactive for at least 2 hours (7200 seconds)
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300

    I don't understand the question, could you clarify? 🤔 Currently there is no maxRunningSeconds, the idea is that this is something that always depends on the activity of the workspace (although cluster admins can define themselves what "being active" actually means) 😊

    https://github.com/kubeflow/notebooks/blob/8b6105775132f4ea0af2a1dc3833519789651233/workspaces/controller/api/v1beta1/workspacekind_types.go#L92-L105

    juliusvonkohout juliusvonkohout commented on code on Aug 23, 2026 22:33 UTC
    Code Review
    applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml:1
    @@ -46,6 +53,88 @@ spec:
           #   key: "logo.svg"
           #   mediaType: "image/svg+xml"
     
    +  ## ================================================================
    +  ## FILTER RULES
    +  ##  - admin-defined rules used by the backend API server to dynamically filter
    +  ##    which WorkspaceKinds, imageConfig values, and podConfig values are visible
    +  ##    or allowed in a given context
    +  ##  - the controller does NOT evaluate these rules, it only persists and validates them
    +  ## ================================================================
    +  filterRules:
    +
    +    ## hide this WorkspaceKind in namespaces which are not labeled 'workspace_team=team_1'
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  ## ================================================================
    +  ## ACTIVITY RULES
    +  ##  - policies for handling inactivity in Workspaces of this kind
    +  ##  - rules are evaluated sequentially from top to bottom (first-match-wins semantics)
    +  ##    independently for each configured effect type (e.g., pauseWorkspace)
    +  ## ================================================================
    +  activityRules:
    +
    +    ## activityRule to pause workspaces which (AND)
    +    ##  - have the namespaces with the label 'tier=development' set
    +    ##  - have been running for at least 5 minutes (300 seconds)
    +    ##  - have been inactive for at least 2 hours (7200 seconds)
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300

    Yes I need maxRunningSeconds so something independent of the activity. This can be helpful to make sure that workspaces are not abused for long-running jobs.For example by setting a not yet implemente limit of 5 days for the work week in maxRunningSeconds and paired with 2 days secondsSinceActive that would make sure that over the weekend everything is cleaned up.

    juliusvonkohout juliusvonkohout commented on code on Aug 23, 2026 22:36 UTC
    Code Review
    applications/workspaces/upstream/controller/base/manager/role.yaml:1
    @@ -79,3 +87,21 @@ rules:
       - patch
       - update
       - watch
    +- apiGroups:
    +  - rbac.authorization.k8s.io
    +  resources:
    +  - clusterroles

    That is a big problem for many implementations. Is there a way to disable that and keep the default-editor for now for all Workspaces? many external automation at companies rely on using default-editor.

    christian-heusel christian-heusel commented on code on Aug 24, 2026 09:02 UTC
    Code Review
    applications/workspaces/upstream/controller/samples/jupyterlab_v1beta1_workspacekind.yaml:1
    @@ -46,6 +53,88 @@ spec:
           #   key: "logo.svg"
           #   mediaType: "image/svg+xml"
     
    +  ## ================================================================
    +  ## FILTER RULES
    +  ##  - admin-defined rules used by the backend API server to dynamically filter
    +  ##    which WorkspaceKinds, imageConfig values, and podConfig values are visible
    +  ##    or allowed in a given context
    +  ##  - the controller does NOT evaluate these rules, it only persists and validates them
    +  ## ================================================================
    +  filterRules:
    +
    +    ## hide this WorkspaceKind in namespaces which are not labeled 'workspace_team=team_1'
    +    - scope: WORKSPACE_KIND
    +      effect:
    +        ui:
    +          hide: true
    +      match:
    +        - matchNamespace:
    +            selector:
    +              matchExpressions:
    +                - key: "workspace_team"
    +                  operator: NotIn
    +                  values: ["team_1"]
    +
    +  ## ================================================================
    +  ## ACTIVITY RULES
    +  ##  - policies for handling inactivity in Workspaces of this kind
    +  ##  - rules are evaluated sequentially from top to bottom (first-match-wins semantics)
    +  ##    independently for each configured effect type (e.g., pauseWorkspace)
    +  ## ================================================================
    +  activityRules:
    +
    +    ## activityRule to pause workspaces which (AND)
    +    ##  - have the namespaces with the label 'tier=development' set
    +    ##  - have been running for at least 5 minutes (300 seconds)
    +    ##  - have been inactive for at least 2 hours (7200 seconds)
    +    - config:
    +        secondsSinceActive: 7200
    +        minRunningSeconds: 300

    If that is a usecase for your please collaborate on kubeflow/notebooks to make it happen 🤗

    christian-heusel christian-heusel commented on code on Aug 24, 2026 09:07 UTC
    Code Review
    applications/workspaces/upstream/controller/base/manager/role.yaml:1
    @@ -79,3 +87,21 @@ rules:
       - patch
       - update
       - watch
    +- apiGroups:
    +  - rbac.authorization.k8s.io
    +  resources:
    +  - clusterroles

    I'm not sure I follow totally, can't they just re-assign the previous permissions?

    spec:
      podTemplate:
        serviceAccount:
          clusterRoles:
            - name: "kubeflow-edit"   # or whichever ClusterRole was previously bound to default-editor
    

    Also, especially from a security standpoint it is really not a good idea to give everyone default-editor 😅

    christian-heusel christian-heusel commented on code on Aug 24, 2026 09:08 UTC
    Code Review
    applications/workspaces/upstream/controller/base/manager/role.yaml:1
    @@ -79,3 +87,21 @@ rules:
       - patch
       - update
       - watch
    +- apiGroups:
    +  - rbac.authorization.k8s.io
    +  resources:
    +  - clusterroles

    Anyways, this discussion is beyond the scope of this sync PR 😅

    christian-heusel christian-heusel commented on Aug 24, 2026 09:09 UTC
    Author

    @juliusvonkohout @tarekabouzeid could we get this merged? 😊

    juliusvonkohout juliusvonkohout commented on code on Aug 24, 2026 11:07 UTC
    Code Review
    applications/workspaces/upstream/controller/base/manager/role.yaml:1
    @@ -79,3 +87,21 @@ rules:
       - patch
       - update
       - watch
    +- apiGroups:
    +  - rbac.authorization.k8s.io
    +  resources:
    +  - clusterroles

    It is about workload identity and other things. Is it better security wise yes, but that means a lot of external integration that targets default-editor has to be adapted.

    juliusvonkohout juliusvonkohout commented on Aug 24, 2026 11:08 UTC
    Contributor

    /lgtm
    /approve

    google-oss-prow[bot] google-oss-prow[bot] commented on Aug 24, 2026 11:08 UTC
    Bot

    [APPROVALNOTIFIER] This PR is APPROVED

    This pull-request has been approved by: <a href="https://github.com/kubeflow/community-distribution/pull/3584#issuecomment-5394355206" title="Approved">juliusvonkohout</a>

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

    The pull request process is described here

    <details >
    Needs approval from an approver in each of these files:

  • ~~OWNERS~~ [juliusvonkohout]
  • Approvers can indicate their approval by writing /approve in a comment
    Approvers can cancel approval by writing /approve cancel in a comment
    </details>
    <!-- META={"approvers":[]} -->

    Assignees
    christian-heusel christian-heusel
    Labels
    risk: low confidence: 90.9% reviewed sensitive_module
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 94.7% (HIGH) · Higher = larger blast radius
    94.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 90.9% · Lower = rushed or shallow review
    90.9%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 8.6% · Safe to merge
    8.6%