Skip to content

[cherry-pick] fix: fetch getting-started-sample regardless of disableInternalRegistry - #1669

Merged
svor merged 1 commit into
7.121.xfrom
7.121.x_PR1668
Sep 10, 2026
Merged

[cherry-pick] fix: fetch getting-started-sample regardless of disableInternalRegistry#1669
svor merged 1 commit into
7.121.xfrom
7.121.x_PR1668

Conversation

@olexii4

@olexii4 olexii4 commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

This PR fixes empty Get Started sample cards when disableInternalRegistry: true is set in the CheCluster CR.

cherry-pick of #1668 to the 7.121.x branch

What issues does this PR fix or reference?

fixes https://redhat.atlassian.net/browse/CRW-13015

Is it tested? How?

  1. Deploy Eclipse Che with the dashboard image from this PR.
  2. Set spec.components.devfileRegistry.disableInternalRegistry: true in the CheCluster CR.
  3. Create a getting-started-samples ConfigMap with custom sample entries.
  4. Navigate to the Get Started page.
  5. Verify: custom sample cards from the ConfigMap are displayed.
  6. Without this fix: the Get Started page is empty when disableInternalRegistry is true and no external registries are configured.

Release Notes

N/A - regression fix; no user-facing changes.

Docs PR

N/A

The disableInternalRegistry flag is meant to hide only the built-in
airgap samples, not user-provided samples from ConfigMaps. A recent
refactor accidentally gated both endpoints behind the same condition,
leaving the Get Started page empty when custom samples were the only
source.

Fixes: https://redhat.atlassian.net/browse/CRW-13015

Assisted-by: Claude Opus 4.6
Signed-off-by: Oleksii Orel <oorel@redhat.com>
@che-bot

che-bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Click here to review and test in web IDE: Contribute

@olexii4
olexii4 requested a review from svor September 10, 2026 13:27
@github-actions

Copy link
Copy Markdown

Docker image build succeeded: quay.io/eclipse/che-dashboard:pr-1669 (linux/amd64, linux/arm64, linux/s390x)

kubectl patch command
kubectl patch -n eclipse-che "checluster/eclipse-che" --type=json -p="[{"op": "replace", "path": "/spec/components/dashboard/deployment", "value": {containers: [{image: "quay.io/eclipse/che-dashboard:pr-1669", name: che-dashboard}]}}]"

@openshift-ci

openshift-ci Bot commented Sep 10, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: olexii4, svor

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

@svor
svor merged commit bbb6aad into 7.121.x Sep 10, 2026
10 checks passed
@svor
svor deleted the 7.121.x_PR1668 branch September 10, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants