Skip to content

Remove three orphaned manager image definitions#2572

Merged
berendt merged 1 commit into
mainfrom
remove-orphaned-manager-images
Jul 13, 2026
Merged

Remove three orphaned manager image definitions#2572
berendt merged 1 commit into
mainfrom
remove-orphaned-manager-images

Conversation

@ideaship

@ideaship ideaship commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Part of the osism/issues#1405 cleanup — remove three manager image
definitions that the render emits but nothing deploys (flagged by the
drift detector's image_orphan check: nginx, registry, osism_netbox).

This is the release side:

  • latest/base.yml — drop the nginx and registry docker_images pins.
  • etc/images.yml — drop the osism_netbox, nginx, registry registry-path entries.

netbox (a distinct, consumed image) is left untouched. The matching
render-template emits are removed in the two companion PRs (generics +
container-image-osism-ansible).

Verified: image_orphan drops from 3 to 0.

Part of osism/issues#1405.

The drift detector's image_orphan check flags nginx, registry, and
osism_netbox: the manager render emits <alias>_image for each, but no
role or manager playbook consumes {{ <alias>_image }}. All three are
genuine leftovers -- nginx's consumer (the netbox role's nginx proxy)
was removed in osism/ansible-collection-services#170, osism_netbox's in
#1775 (replaced by the generic osism_image), and registry never had a
consumer (metalbox runs a hardcoded library/registry:3, independent of
this pin).

Remove the release side of the cleanup: the nginx and registry pins from
latest/base.yml docker_images, and the osism_netbox, nginx, and registry
registry-path entries from etc/images.yml. netbox (a distinct, consumed
image) is left untouched. The matching render-template emits are removed
in osism/generics and osism/container-image-osism-ansible.

Resolves osism/issues#1405. Verified: image_orphan drops from 3 to 0.

Assisted-by: Claude:claude-opus-4-8
Signed-off-by: Roger Luethi <luethi@osism.tech>
@ideaship ideaship marked this pull request as ready for review July 13, 2026 04:45
@ideaship ideaship moved this from New to Ready for review in Human Board Jul 13, 2026
@ideaship ideaship requested a review from berendt July 13, 2026 07:36
@ideaship ideaship moved this from Ready for review to In review in Human Board Jul 13, 2026
@berendt berendt merged commit 2f3d9e4 into main Jul 13, 2026
3 checks passed
@berendt berendt deleted the remove-orphaned-manager-images branch July 13, 2026 07:40
@github-project-automation github-project-automation Bot moved this from In review to Done in Human Board Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants