Skip to content

fix: make deploy supports release branch#981

Merged
google-oss-prow[bot] merged 1 commit into
kubeflow:notebooks-v2from
andyatmiami:fix/kustomize-on-release-branch
Mar 24, 2026
Merged

fix: make deploy supports release branch#981
google-oss-prow[bot] merged 1 commit into
kubeflow:notebooks-v2from
andyatmiami:fix/kustomize-on-release-branch

Conversation

@andyatmiami
Copy link
Copy Markdown
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 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
Copy Markdown
Contributor Author

/ok-to-test

@thesuperzapper
Copy link
Copy Markdown
Member

Thanks, look good to merge, I will rebase the release PR after merging.

/approve

@google-oss-prow
Copy link
Copy Markdown

[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

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 merged commit 5856075 into kubeflow:notebooks-v2 Mar 24, 2026
20 checks passed
@github-project-automation github-project-automation Bot moved this from Needs Triage to Done in Kubeflow Notebooks Mar 24, 2026
thesuperzapper pushed a commit that referenced this pull request Mar 24, 2026
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.

Signed-off-by: Andy Stoneberg <astonebe@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved 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

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants