Skip to content

fix: use correct updateStrategy for Workspace sts#997

Draft
christian-heusel wants to merge 4 commits intokubeflow:notebooks-v2from
christian-heusel:fix/sts-update-strategy
Draft

fix: use correct updateStrategy for Workspace sts#997
christian-heusel wants to merge 4 commits intokubeflow:notebooks-v2from
christian-heusel:fix/sts-update-strategy

Conversation

@christian-heusel
Copy link
Copy Markdown
Contributor

No description provided.

@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks Mar 27, 2026
@google-oss-prow google-oss-prow bot added do-not-merge/work-in-progress area/controller area - related to controller components labels Mar 27, 2026
@google-oss-prow google-oss-prow bot added area/v2 area - version - kubeflow notebooks v2 size/S labels Mar 27, 2026
@christian-heusel christian-heusel force-pushed the fix/sts-update-strategy branch from 3f85fc4 to a14d6a6 Compare March 27, 2026 21:19
@google-oss-prow google-oss-prow bot added size/XL and removed size/S labels Mar 27, 2026
@christian-heusel christian-heusel force-pushed the fix/sts-update-strategy branch 3 times, most recently from 4b0f5f0 to 81412c7 Compare March 27, 2026 21:31
@google-oss-prow google-oss-prow bot added the area/backend area - related to backend components label Mar 27, 2026
@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign andyatmiami for approval. For more information see the Kubernetes Code Review Process.

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

christian-heusel and others added 4 commits March 27, 2026 23:43
Signed-off-by: Christian Heusel <christian@heusel.eu>
Signed-off-by: Christian Heusel <christian@heusel.eu>
Fixes errors surfaced by upgrading golangci-lint from v1.61.0 to
v2.11.4 (using the v2 module path).

- gosec (G118): suppress false-positive in server.go where
  context.Background() is intentionally used for HTTP server shutdown
  after the parent context has already been canceled

- staticcheck (QF1008): remove redundant embedded field selectors in
  secrets/types_write.go (s.secretBase.validateBase -> s.validateBase)

- prealloc: eliminate pre-declared nil slices that are only ever grown
  via append, by either using direct assignment from the first function
  call or inline append(a, b...) for two-call patterns; also preallocate
  test-case slices in validation_test.go using the capacities suggested
  by the linter

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Christian Heusel <christian@heusel.eu>
Signed-off-by: Christian Heusel <christian@heusel.eu>
@christian-heusel christian-heusel force-pushed the fix/sts-update-strategy branch from d07cb76 to 095e070 Compare March 27, 2026 23:05
@christian-heusel
Copy link
Copy Markdown
Contributor Author

/ok-to-test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/backend area - related to backend components area/controller area - related to controller components area/v2 area - version - kubeflow notebooks v2 do-not-merge/work-in-progress ok-to-test size/XXL

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

1 participant