Commit abc5deb
Switch to OIDC Federation Service instead of GitHub App (#51)
<!-- markdownlint-disable MD041 -->
#### What this PR does / why we need it
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:
- open-component-model/.github-oidc#1
#### Which issue(s) this PR fixes
<!--
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
-->
Signed-off-by: Jonas Brand (8R0WNI3) <j.brand@sap.com>
Co-authored-by: Fabian Burth <fabian.burth@sap.com>1 parent 8aade18 commit abc5deb
3 files changed
+1
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
| |||
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | | - | |
22 | 20 | | |
23 | 21 | | |
24 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | | - | |
27 | 25 | | |
28 | 26 | | |
29 | 27 | | |
| |||
0 commit comments