Skip to content

Switch to OIDC Federation Service instead of GitHub App#917

Merged
gardener-prow[bot] merged 1 commit intomasterfrom
8R0WNI3-github-oidc
Mar 4, 2026
Merged

Switch to OIDC Federation Service instead of GitHub App#917
gardener-prow[bot] merged 1 commit intomasterfrom
8R0WNI3-github-oidc

Conversation

@8R0WNI3
Copy link
Member

@8R0WNI3 8R0WNI3 commented Feb 20, 2026

How to categorize this PR?
/area delivery
/kind enhancement

What this PR does / why we need it:
Currently, the Gardener GitHub-Actions App is used to provide more privileged access than available via the default GITHUB_TOKEN, for example to circumvent branch protection rules (GitHub Apps can be configured as bypassers) or cross repository privileges. To prevent sharing the GitHub App secret with each and every repository/workflow which requires usage of it, the GitHub OIDC Federation Service has been developed. In essence, it holds the credentials for a central GitHub App and creates short-lived access tokens with a configured scope based on a centrally configured OIDC configuration. See related changes which have been necessary for this repository:

Special notes for your reviewer:
This change requires the organisation variable FEDERATED_GITHUB_ACCESS_TOKEN_SERVER to be made accessible first.

Release note:


@8R0WNI3 8R0WNI3 requested a review from a team as a code owner February 20, 2026 10:34
@gardener-prow gardener-prow bot added area/delivery Delivery related kind/enhancement Enhancement, improvement, extension cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Feb 20, 2026
@gardener-github-actions gardener-github-actions bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Feb 20, 2026
@github-actions github-actions bot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. and removed ok-to-test Indicates a non-member PR verified by an org member that is safe to test. labels Feb 20, 2026
Currently, the [Gardener GitHub-Actions App](https://github.com/apps/gardener-github-actions)
is used to provide more privileged access than available via the default `GITHUB_TOKEN`, for
example to circumvent branch protection rules (GitHub Apps can be configured as bypassers) or
cross repository privileges. To prevent sharing the GitHub App secret with each and every
repository/workflow which requires usage of it, the
[GitHub OIDC Federation Service](https://github.com/gardener/github-oidc-federation) has been
developed. In essence, it holds the credentials for a central GitHub App and creates short-lived
access tokens with a configured scope based on a centrally configured OIDC configuration. See
related changes which have been necessary for this repository:

- gardener/.github-oidc@b803037

Signed-off-by: Jonas Brand (i538859) <j.brand@sap.com>
@8R0WNI3 8R0WNI3 force-pushed the 8R0WNI3-github-oidc branch from 4b5ff09 to 0fe0995 Compare February 23, 2026 15:14
@gardener-github-actions gardener-github-actions bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Feb 23, 2026
@github-actions github-actions bot removed the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Feb 23, 2026
Copy link
Member

@hendrikKahl hendrikKahl left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 4, 2026
@gardener-prow
Copy link

gardener-prow bot commented Mar 4, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hendrikKahl

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

@gardener-prow
Copy link

gardener-prow bot commented Mar 4, 2026

LGTM label has been added.

DetailsGit tree hash: b0ae93cf3e0b2b726c8a232423301894d53545e0

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 4, 2026
@gardener-prow gardener-prow bot merged commit 8ffa515 into master Mar 4, 2026
66 of 67 checks passed
@gardener-prow gardener-prow bot deleted the 8R0WNI3-github-oidc branch March 4, 2026 09:53
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. area/delivery Delivery related cla: yes Indicates the PR's author has signed the cla-assistant.io CLA. kind/enhancement Enhancement, improvement, extension lgtm Indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants