Skip to content

enable immutable tags on production artifact registries #8010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
BenTheElder opened this issue Apr 17, 2025 · 3 comments
Open

enable immutable tags on production artifact registries #8010

BenTheElder opened this issue Apr 17, 2025 · 3 comments
Labels
area/infra/gcp Issues or PRs related to Kubernetes GCP infrastructure area/release-eng Issues or PRs related to the Release Engineering subproject priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra.
Milestone

Comments

@BenTheElder
Copy link
Member

I don't think we've done this yet, we can gain a little more peace of mind if we know the promoter jobs don't have access to this, only the terraform automation (and ideally not even that, we should really only let a handful of infra leads and the CNCF have access to manipulate the GCP project hosting release images).

note: immutable tags are incompatible with cleanup policies, for this and other reasons we should only enable them for production registries and not staging

note: deleting untagged images is still permitted in this mode, so this mode is not a complete "append-only" option xref #8008

https://cloud.google.com/artifact-registry/docs/docker/names#versions

@ameukam
Copy link
Member

ameukam commented Apr 17, 2025

/sig k8s-infra
/priority important-longterm
/milestone v1.34
/area infra/gcp
/area release-eng

@k8s-ci-robot k8s-ci-robot added this to the v1.34 milestone Apr 17, 2025
@k8s-ci-robot k8s-ci-robot added sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra. priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. area/infra/gcp Issues or PRs related to Kubernetes GCP infrastructure area/release-eng Issues or PRs related to the Release Engineering subproject labels Apr 17, 2025
@ameukam
Copy link
Member

ameukam commented Apr 17, 2025

Probably start by converting our bash tooling handling the prod registries to HCL.

@BenTheElder
Copy link
Member Author

Probably start by converting our bash tooling handling the prod registries to HCL.

well, again, as mentioned in #8008, I'm wary of granting many things access to manipulate these, and I'm pretty happy with rarely having a small number of humans modify settings for these particular resources

the risk to compromise is great

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/infra/gcp Issues or PRs related to Kubernetes GCP infrastructure area/release-eng Issues or PRs related to the Release Engineering subproject priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. sig/k8s-infra Categorizes an issue or PR as relevant to SIG K8s Infra.
Projects
Status: No status
Development

No branches or pull requests

3 participants