Skip to content

environments/base>variables.yml: Add authentication for Docker proxy …#344

Open
irt-shpc wants to merge 2 commits into
develfrom
PLAT-1106-auth-registry
Open

environments/base>variables.yml: Add authentication for Docker proxy …#344
irt-shpc wants to merge 2 commits into
develfrom
PLAT-1106-auth-registry

Conversation

@irt-shpc

Copy link
Copy Markdown
Contributor

…registry

Add authentication for the Harbor hosted proxy for docker.io.

PLAT-1106

This is the partner of PR #1259 in ansible-collection-azimuth-ops and requires that change to correctly provision a cluster

@irt-shpc irt-shpc requested review from amanning9 and maxstack June 15, 2026 10:33
- registry_url: "registry.{{ ingress_base_domain }}.dockerhub-public"
basic_auth:
username: admin
password: "{{ harbor_admin_password }}"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think ideally we'd use a less privileged user here, as this is written to disk on every node of every CAPI cluster that is deployed by this Azimuth and would be trivial for a user to find and use to have full admin access to the Azimuth central Harbor.

I think we can create a password for a user with just pull rights to the dockerhub proxycache project in https://github.com/azimuth-cloud/azimuth-config/blob/devel/bin/generate-secrets, then create the user using tasks in azimuth-ops and finally splat the registryAuth into the capi-operator values.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added a proxy user to harbor

irt-shpc added 2 commits June 22, 2026 13:22
Add authentication for the Harbor hosted proxy for `docker.io`.

PLAT-1106
Generate a password for the Docker hub proxy user.

PLAT-1106
@irt-shpc irt-shpc force-pushed the PLAT-1106-auth-registry branch from 40b9c87 to 425f7da Compare June 22, 2026 12:22
@irt-shpc irt-shpc requested a review from m-bull June 22, 2026 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants