Skip to content

GSM: updater service accounts are opt-in per collection - #620

Merged
openshift-merge-bot[bot] merged 2 commits into
openshift:mainfrom
psalajova:gsm-updater-service-accounts
Sep 9, 2026
Merged

GSM: updater service accounts are opt-in per collection#620
openshift-merge-bot[bot] merged 2 commits into
openshift:mainfrom
psalajova:gsm-updater-service-accounts

Conversation

@psalajova

@psalajova psalajova commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Until now every secret collection got a GCP updater service account automatically. openshift/ci-tools#5401 makes them opt-in, so teams that need one have to ask for it — and teams that do not should be able to tell that they have nothing to do.

adding-a-new-secret-to-ci-gsm.md — new subsection in Step 1: what the Rover group already gets, when a service account is the answer instead (automation that cannot authenticate as a group member, e.g. a Jenkins job), how to request one, where its key ends up, and that withdrawing one revokes its keys.

cli-secret-manager.md — this page was actively wrong once the behaviour changes. It said "Each secret collection has a dedicated write-only service account associated with it" and described sm get-sa as returning the credentials for the one "already associated with the specified collection". For most collections there will be nothing to return. Corrected in the four places that claimed otherwise, plus a troubleshooting entry — a failing get-sa on a collection you can otherwise manage reads like a permissions problem, when it just means the collection has no service account.

Depends on openshift/ci-tools#5401 and openshift/release#84712.

@openshift-ci openshift-ci Bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 7, 2026
The page never mentioned them, which was fine while every collection got one automatically.
They are becoming opt-in, so a team that needs one now has to ask, and a team that does not
should know it has nothing to do.

Says what the Rover group already gets, when a service account is the answer instead, how to
request it, where the key ends up, and that withdrawing one revokes its keys.
@psalajova
psalajova force-pushed the gsm-updater-service-accounts branch from 704d7ee to 4c12c57 Compare September 7, 2026 15:34
…tion

The page said each collection has a dedicated service account and described get-sa as
returning the one already associated with any collection. Service accounts are becoming
opt-in, so for most collections get-sa will have nothing to return.

Corrects the four places that claimed otherwise and adds a troubleshooting entry, since a
failing get-sa on a collection the user can otherwise manage looks like a permissions
problem rather than a collection that simply has no service account.
@psalajova psalajova changed the title adding-a-new-secret-to-ci-gsm: document updater service accounts GSM: updater service accounts are opt-in per collection Sep 7, 2026
@openshift-ci

openshift-ci Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

@psalajova: all tests passed!

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@openshift-ci openshift-ci Bot added the lgtm Indicates that a PR is ready to be merged. label Sep 9, 2026
@openshift-ci

openshift-ci Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Prucek, psalajova

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot
openshift-merge-bot Bot merged commit 32d45b2 into openshift:main Sep 9, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants