From 98024f89c76ececacefebd98c0ea871e37aaf5e5 Mon Sep 17 00:00:00 2001 From: Brendan Kellam Date: Tue, 3 Nov 2026 13:12:41 -0800 Subject: [PATCH 1/2] chore: pull the Sourcebot image from ghcr.io instead of docker.sourcebot.dev docker.sourcebot.dev is a third-party pull-tracking proxy. Its fallback mode answers with a 307 redirect to ghcr.io, and Podman, skopeo, Buildah and CRI-O (OpenShift) drop the bearer token on that cross-host redirect, so pulls fail with "unauthorized". Pulling from ghcr.io directly works. Refs SOU-2804 Co-Authored-By: Claude Opus 5.5 --- charts/sourcebot/README.md | 2 +- charts/sourcebot/tests/basic_test.yaml | 4 ++-- charts/sourcebot/values.yaml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/sourcebot/README.md b/charts/sourcebot/README.md index 88dc51e..02e25d4 100644 --- a/charts/sourcebot/README.md +++ b/charts/sourcebot/README.md @@ -81,7 +81,7 @@ Sourcebot is a self-hosted tool that helps you understand your codebase. | sourcebot.image.digest | string | `""` | Container image digest (used instead of tag if set) | | sourcebot.image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | sourcebot.image.pullSecrets | list | `[]` | Configure image pull secrets for private registries | -| sourcebot.image.repository | string | `"docker.sourcebot.dev/sourcebot-dev/sourcebot"` | Container image repository | +| sourcebot.image.repository | string | `"ghcr.io/sourcebot-dev/sourcebot"` | Container image repository | | sourcebot.image.tag | string | `""` | Container image tag. Falls back to appVersion if not set. | | sourcebot.ingress.annotations | object | `{}` | Ingress annotations | | sourcebot.ingress.className | string | `""` | Ingress class name | diff --git a/charts/sourcebot/tests/basic_test.yaml b/charts/sourcebot/tests/basic_test.yaml index 69d8555..565189b 100644 --- a/charts/sourcebot/tests/basic_test.yaml +++ b/charts/sourcebot/tests/basic_test.yaml @@ -97,7 +97,7 @@ tests: asserts: - matchRegex: path: spec.template.spec.containers[0].image - pattern: "docker.sourcebot.dev/sourcebot-dev/sourcebot:v1.2.3$" + pattern: "ghcr.io/sourcebot-dev/sourcebot:v1.2.3$" template: deployment.yaml - it: should use digest when specified @@ -108,7 +108,7 @@ tests: asserts: - matchRegex: path: spec.template.spec.containers[0].image - pattern: "docker.sourcebot.dev/sourcebot-dev/sourcebot@sha256:abcdef123456$" + pattern: "ghcr.io/sourcebot-dev/sourcebot@sha256:abcdef123456$" template: deployment.yaml - it: should set replica count diff --git a/charts/sourcebot/values.yaml b/charts/sourcebot/values.yaml index 17e046a..45076c3 100644 --- a/charts/sourcebot/values.yaml +++ b/charts/sourcebot/values.yaml @@ -33,7 +33,7 @@ sourcebot: # Image configuration image: # -- Container image repository - repository: docker.sourcebot.dev/sourcebot-dev/sourcebot + repository: ghcr.io/sourcebot-dev/sourcebot # -- Container image tag. Falls back to appVersion if not set. tag: "" # -- Container image digest (used instead of tag if set) From 906448812404b2ae4735a14bb15f7c0aa9cfeca6 Mon Sep 17 00:00:00 2001 From: Brendan Kellam Date: Tue, 3 Nov 2026 13:13:16 -0800 Subject: [PATCH 2/2] chore: add CHANGELOG entry Refs SOU-2804 Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f10623..4f70182 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Changed the default `sourcebot.image.repository` to `ghcr.io/sourcebot-dev/sourcebot`, fixing `unauthorized` pull errors with CRI-O (OpenShift) and Podman. [#153](https://github.com/sourcebot-dev/sourcebot-helm-chart/pull/153) + ## [0.1.118] - 2026-10-31 ### Changed