Skip to content

bug: Failed to install Platform Operator, ghcr.io says 403 Forbidden #223

Closed

Description

@esnible

Describe the bug

uv run kagenti-installer --silent fails with

╭─────────────────────╮
│ Installing Operator │
╰─────────────────────╯
Using Platform Operator version: 0.2.0-alpha.7
[10:28:10] ✗ Installing the Platform Operator failed.                                                       utils.py:133
           Error: Error: failed to authorize: failed to fetch oauth token: unexpected status from GET       utils.py:136
           request to                                                                                                   
           https://ghcr.io/token?scope=repository%3Akagenti%2Fkagenti-operator%2Fkagenti-platform-operator-             
           chart%3Apull&service=ghcr.io: 403 Forbidden  

Steps To Reproduce

  1. Go to kagenti/installer with configured .env file
  2. From shell do uv run kagenti-installer --silent

Expected Behavior

Success installing

Additional Context

The failing command is

helm upgrade --install kagenti-platform-operator \
           oci://ghcr.io/kagenti/kagenti-operator/kagenti-platform-operator-chart \
           --create-namespace \
           --namespace kagenti-system --version 0.2.0-alpha.7 \
           --set controllerManager.container.image.tag=0.2.0-alpha.7

This chart requires permissions; helm pull oci://ghcr.io/kagenti/kagenti-operator/kagenti-platform-operator-chart --version 0.2.0-alpha.7 fails with the same message.

Activity

  1. self-assigned this
    on Sep 22, 2025
  2. esnible commented on Sep 22, 2025

    @esnible
    MemberAuthor

    The fix for this is

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions