Skip to content

Refuse deleting a secret an image names - #26

Merged
vitramir merged 2 commits into
mainfrom
image-credential-by-reference
Aug 13, 2026
Merged

vitramir merged 2 commits into
mainfrom
image-credential-by-reference

Conversation

@vitramir

Copy link
Copy Markdown
Contributor

Depends on agynio/api#190 and pairs with agynio/images#3.

An Image now holds its registry credential by reference, which puts it in the same position as an EgressRule's inject and a Subscription's secret_id: the credential it reads with can be deleted out from under it. DeleteSecret gains the third check.

Adds ImagesClient mirroring llm.go and egress_rules.go, and folds it into ensureSecretUnreferenced so every class of reference is still reported in one error rather than one refusal at a time.

Fails closed when IMAGES_GRPC_TARGET is unset, as the other two do — the umbrella wires it in agynio/platform-charts.

An Image holds its registry credential by reference, so the credential it reads with could be deleted out from under it. Adds an Images client and folds it into the DeleteSecret reference check alongside egress rules and subscriptions.

Fails closed when IMAGES_GRPC_TARGET is unset, as the other two do.
Four workflow steps each spelled out the buf path list, so adding images/v1 to the Makefile left the image build generating without it and failing to compile. One list now.
@vitramir
vitramir merged commit df55dcb into main Aug 13, 2026
3 checks passed
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.

1 participant