Skip to content

Switch to OIDC Federation Service instead of GitHub App#81

Merged
gardener-prow[bot] merged 1 commit intomainfrom
8R0WNI3-github-oidc
Feb 23, 2026
Merged

Switch to OIDC Federation Service instead of GitHub App#81
gardener-prow[bot] merged 1 commit intomainfrom
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:

Release note:


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@392274f

Signed-off-by: Jonas Brand (i538859) <j.brand@sap.com>
@8R0WNI3 8R0WNI3 requested a review from a team as a code owner February 20, 2026 14:42
@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/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Feb 20, 2026
@gardener-prow gardener-prow bot added the lgtm Indicates that a PR is ready to be merged. label Feb 23, 2026
@gardener-prow
Copy link

gardener-prow bot commented Feb 23, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: shreyas-s-rao

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 Feb 23, 2026

LGTM label has been added.

DetailsGit tree hash: 73740a0f4b69e4e6293498cdbea3f2f932b0860f

@gardener-prow gardener-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 23, 2026
@gardener-prow gardener-prow bot merged commit 38bc2fc into main Feb 23, 2026
36 of 37 checks passed
@shreyas-s-rao shreyas-s-rao deleted the 8R0WNI3-github-oidc branch February 23, 2026 08:25
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. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants