Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Optional registry_auth variable is not actually optionalΒ #38

@willbrownecs

Description

@willbrownecs

πŸ› Summary

Deploying a Thorium cluster without the registry_auth config option results in a partial deployment state.

To reproduce

Steps to reproduce the behavior:

  1. Deploy all of the prerequisite infrastructure (steps 5.2.1-5.2.7)
  2. Apply a minimal ThoriumCluster spec using the public ghcr.io images without a registry_auth section
  3. Observe that the scaler pod fails to create due to docker-skopeo secret not existing

Adding a valid registry_auth entry like the following resolves the issue:

...
spec:
  registry_auth:
    ghcr.io: <secret>
...

Expected behavior

All images pull successfully without providing a registry_auth due to using public images provided by Thorium Github.
All pods start without requiring the optional registry_auth section.

Metadata

Metadata

Assignees

No one assigned

    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