Skip to content

fix: make deploy supports release branch#981

Open
andyatmiami wants to merge 1 commit intokubeflow:notebooks-v2from
andyatmiami:fix/kustomize-on-release-branch
Open

fix: make deploy supports release branch#981
andyatmiami wants to merge 1 commit intokubeflow:notebooks-v2from
andyatmiami:fix/kustomize-on-release-branch

Conversation

@andyatmiami
Copy link
Contributor

The deploy target's kustomize edit set image was never actually overriding the base kustomization's image tag. This was masked on non-release branches because the base newTag (latest) happened to match the hardcoded test image tag. On release branches, the base newTag changes to the release version, exposing the mismatch and causing e2e test pods to stay Pending (image not found in Kind).

Fix by:

  • Copying kustomize to .output/ so edits don't modify tracked files
  • Matching both short name and registry-prefixed name to ensure the override works regardless of base kustomization state

Extracted from #763.

The deploy target's `kustomize edit set image` was never actually overriding the base kustomization's image tag. This was masked on non-release branches because the base newTag (latest) happened to
match the hardcoded test image tag. On release branches, the base newTag changes to the release version, exposing the mismatch and causing e2e test pods to stay Pending (image not found in Kind).

Fix by:
- Copying kustomize to .output/ so edits don't modify tracked files
- Matching both short name and registry-prefixed name to ensure the override works regardless of base kustomization state

Extracted from kubeflow#763.

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
@github-project-automation github-project-automation bot moved this to Needs Triage in Kubeflow Notebooks Mar 20, 2026
@google-oss-prow google-oss-prow bot added the area/backend area - related to backend components label Mar 20, 2026
@google-oss-prow google-oss-prow bot requested a review from kimwnasptd March 20, 2026 12:16
@google-oss-prow
Copy link

[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 kimwnasptd 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

@google-oss-prow google-oss-prow bot requested a review from paulovmr March 20, 2026 12:16
@google-oss-prow google-oss-prow bot added area/controller area - related to controller components area/frontend area - related to frontend components area/v2 area - version - kubeflow notebooks v2 size/M labels Mar 20, 2026
@andyatmiami
Copy link
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/frontend area - related to frontend components area/v2 area - version - kubeflow notebooks v2 lgtm ok-to-test size/M

Projects

Status: Needs Triage

Development

Successfully merging this pull request may close these issues.

2 participants