-
Notifications
You must be signed in to change notification settings - Fork 30
Merge https://github.com/kubernetes-sigs/cluster-api:v1.13.3 (cf0f6c0) into main #298
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
base: main
Are you sure you want to change the base?
Changes from all commits
8f76674
29e8563
e7e4706
3197ba6
196f79c
8a265e7
63e227b
2056a9f
e0ddf6e
0980174
287382f
5cea86e
7658261
d9c04db
1cda09f
ace6889
53c17ed
b1206ef
39be7a6
fb41240
c358ae0
a1ecda8
c08615a
852e504
120918f
dc00d00
e57b0e0
a71d8c4
19458c7
d9e5fcf
84cdbba
9128965
aee8f31
76eca19
81f2e36
7a21619
2d39d1b
b535fe7
a044cd6
0f7ce69
744228a
244c1ac
f2ed364
548119b
069fc28
5e0211c
18dabc5
58bc868
0d286b5
18cb219
c1df810
a60fd32
159668e
87b73f6
5b26304
6f3acb5
794f091
4cd7867
df02223
4c81f12
4348956
06a5e8d
410e5ab
84ffd0f
f5dfe0f
544b27a
7b41ae4
a6e50df
e7fd086
bc04cb7
3d80062
90ae469
cef68b8
9fd2359
a67f5c0
a13a9de
6ffde56
5c94b63
0e8c2ec
818000c
e6d18e4
e4c63df
e0ab12f
701c831
d409473
d9124dd
0e46697
89d30ad
d4c6c7e
712b97e
40261f0
7fb66fc
0a0a940
5ceaf39
219c4a3
dc6b71e
ea1c24b
db74af0
4e5e052
2655c8f
15166b7
bdc0bfd
a6e8c15
e3f5495
a125832
953da9f
e186dbb
b5e62fa
4a85285
57a42c5
4d042e5
21b420f
d7e0b74
355d755
5ef6b3c
1af5c5e
9c84cb8
5ad8026
248e9df
2a5f7de
e14f085
7ccb167
a63bd56
17e36c7
3640165
30b8d1a
8ce6dac
21fdc56
0891808
60721b9
a901e3b
72b41fb
ef1b68b
a5172d2
7a01aee
e8064a3
49528b0
537dc19
59c3b9e
73abb72
156ac13
343f400
001b378
b3200e7
2a1335a
549535e
a8ff1b4
68d8d43
7f8f358
1243d78
57ad85b
d8a1314
651da52
9489e81
faca160
dfa4b91
7e677f2
a3558e6
b31d991
783e853
ca25db6
df5b8fb
70c3dad
2323fa7
0ee8064
6581665
3fb7e3f
ddaf28f
c2a34bc
0eb568e
cf3d8f8
8120271
cde2ce1
fc21ac3
30c4665
0e4e307
3447269
fd28d0b
16d0a65
291dc5a
548d7cb
c8771c6
fca6793
3ad1c7b
641fb3f
06146b6
9ff1e9d
df1987d
29a3ff8
cee540f
33bc5c1
bc5e594
8a163c9
05b6caf
0dcbb67
502f5d5
e218cef
f777b26
9b814bc
ebd807c
eed7d2c
4b39e34
15d14ae
f24597c
1f6dab6
2eed0b6
cf6b39d
dfbded8
4f9bd03
6a8b4a1
bacde40
8d90601
8e5ff72
1c6580f
2592f8c
ed906c3
4ee0280
e1d10d6
88430af
fa8e5dd
ad1efe8
190a931
61356cf
9829e18
81c0a11
6782093
cf0f6c0
21b36bd
cfefb0e
591c42a
639fda7
d33957b
bd5c597
cbd681c
ba1be77
80b5048
6ed62e7
82bca9e
3a06603
8d83e94
1fd61f9
27f3a27
189651b
db6d545
7911008
1313635
29dbbfe
d116b22
8189e2a
c44dfe3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -58,4 +58,4 @@ go.work.sum | |
| **/.DS_Store | ||
| **/*.swp | ||
|
|
||
| tmp/ | ||
| tmp/ | ||
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -17,12 +17,12 @@ jobs: | |||||||||||||||||||
| release_tag: ${{ steps.release-version.outputs.release_version }} | ||||||||||||||||||||
| steps: | ||||||||||||||||||||
| - name: Checkout code | ||||||||||||||||||||
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0 | ||||||||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2 | ||||||||||||||||||||
| with: | ||||||||||||||||||||
| fetch-depth: 0 | ||||||||||||||||||||
|
Comment on lines
+20
to
22
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Harden checkout in tag-push job. This job has Suggested fix - name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
with:
fetch-depth: 0
+ persist-credentials: falseAs per coding guidelines "CI/CD security (prodsec-skills): ... Least privilege: minimize GITHUB_TOKEN permissions". 📝 Committable suggestion
Suggested change
🧰 Tools🪛 zizmor (1.25.2)[warning] 19-22: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) 🤖 Prompt for AI Agents |
||||||||||||||||||||
| - name: Get changed files | ||||||||||||||||||||
| id: changed-files | ||||||||||||||||||||
| uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # tag=v47.0.0 | ||||||||||||||||||||
| uses: tj-actions/changed-files@22103cc46bda19c2b464ffe86db46df6922fd323 # tag=v47.0.5 | ||||||||||||||||||||
| - name: Get release version | ||||||||||||||||||||
| id: release-version | ||||||||||||||||||||
| run: | | ||||||||||||||||||||
|
|
@@ -88,14 +88,14 @@ jobs: | |||||||||||||||||||
| env: | ||||||||||||||||||||
| RELEASE_TAG: ${{needs.push_release_tags.outputs.release_tag}} | ||||||||||||||||||||
| - name: checkout code | ||||||||||||||||||||
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0 | ||||||||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2 | ||||||||||||||||||||
| with: | ||||||||||||||||||||
| fetch-depth: 0 | ||||||||||||||||||||
| ref: ${{ env.RELEASE_TAG }} | ||||||||||||||||||||
|
Comment on lines
+91
to
94
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also disable credential persistence in release job checkout. Same hardening is needed for the second checkout step. Suggested fix - name: checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
with:
fetch-depth: 0
ref: ${{ env.RELEASE_TAG }}
+ persist-credentials: falseAs per coding guidelines "CI/CD security (prodsec-skills): ... Least privilege: minimize GITHUB_TOKEN permissions". 📝 Committable suggestion
Suggested change
🧰 Tools🪛 zizmor (1.25.2)[warning] 90-94: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) 🤖 Prompt for AI Agents |
||||||||||||||||||||
| - name: Calculate go version | ||||||||||||||||||||
| run: echo "go_version=$(make go-version)" >> $GITHUB_ENV | ||||||||||||||||||||
| - name: Set up Go | ||||||||||||||||||||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # tag=v6.1.0 | ||||||||||||||||||||
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # tag=v6.4.0 | ||||||||||||||||||||
| with: | ||||||||||||||||||||
| go-version: ${{ env.go_version }} | ||||||||||||||||||||
|
Comment on lines
+98
to
100
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Explicitly disable setup-go cache in release workflow. For a release pipeline, avoid implicit cache restore/save to reduce cache poisoning surface. Suggested fix - name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # tag=v6.4.0
with:
go-version: ${{ env.go_version }}
+ cache: falseAs per coding guidelines "CI/CD security (prodsec-skills): ... SAST/SCA steps in pipeline" and least-privilege hardening expectations for CI. 📝 Committable suggestion
Suggested change
🧰 Tools🪛 zizmor (1.25.2)[error] 98-98: runtime artifacts potentially vulnerable to a cache poisoning attack (cache-poisoning): enables caching by default (cache-poisoning) 🤖 Prompt for AI Agents |
||||||||||||||||||||
| - name: generate release artifacts | ||||||||||||||||||||
|
|
@@ -106,7 +106,7 @@ jobs: | |||||||||||||||||||
| curl -L "https://raw.githubusercontent.com/${{ github.repository }}/main/CHANGELOG/${{ env.RELEASE_TAG }}.md" \ | ||||||||||||||||||||
| -o "${{ env.RELEASE_TAG }}.md" | ||||||||||||||||||||
| - name: Release | ||||||||||||||||||||
| uses: softprops/action-gh-release@a06a81a03ee405af7f2048a818ed3f03bbf83c7b # tag=v2.5.0 | ||||||||||||||||||||
| uses: softprops/action-gh-release@153bb8e04406b158c6c84fc1615b65b24149a1fe # tag=v2.6.1 | ||||||||||||||||||||
| with: | ||||||||||||||||||||
| draft: true | ||||||||||||||||||||
| files: out/* | ||||||||||||||||||||
|
|
||||||||||||||||||||
| Original file line number | Diff line number | Diff line change | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -13,19 +13,19 @@ jobs: | |||||||||||||||
| strategy: | ||||||||||||||||
| fail-fast: false | ||||||||||||||||
| matrix: | ||||||||||||||||
| branch: [ main, release-1.11, release-1.10, release-1.9 ] | ||||||||||||||||
| branch: [ main, release-1.12, release-1.11 ] | ||||||||||||||||
| name: Trivy | ||||||||||||||||
| runs-on: ubuntu-latest | ||||||||||||||||
| steps: | ||||||||||||||||
| - name: Check out code | ||||||||||||||||
| uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # tag=v6.0.0 | ||||||||||||||||
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2 | ||||||||||||||||
| with: | ||||||||||||||||
| ref: ${{ matrix.branch }} | ||||||||||||||||
|
Comment on lines
+21
to
23
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Set Please disable token persistence in this checkout step as well. Suggested fix - name: Check out code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # tag=v6.0.2
with:
ref: ${{ matrix.branch }}
+ persist-credentials: falseAs per coding guidelines "CI/CD security (prodsec-skills): ... Least privilege: minimize GITHUB_TOKEN permissions". 📝 Committable suggestion
Suggested change
🧰 Tools🪛 zizmor (1.25.2)[warning] 20-23: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false (artipacked) 🤖 Prompt for AI Agents |
||||||||||||||||
| - name: Calculate go version | ||||||||||||||||
| id: vars | ||||||||||||||||
| run: echo "go_version=$(make go-version)" >> $GITHUB_OUTPUT | ||||||||||||||||
| - name: Set up Go | ||||||||||||||||
| uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # tag=v6.1.0 | ||||||||||||||||
| uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # tag=v6.4.0 | ||||||||||||||||
| with: | ||||||||||||||||
| go-version: ${{ steps.vars.outputs.go_version }} | ||||||||||||||||
| - name: Run verify security target | ||||||||||||||||
|
|
||||||||||||||||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| ## 👌 Kubernetes version support | ||
|
|
||
| - Management Cluster: v1.28.x -> v1.33.x | ||
| - Workload Cluster: v1.26.x -> v1.33.x | ||
|
|
||
| [More information about version support can be found here](https://cluster-api.sigs.k8s.io/reference/versions.html) | ||
|
|
||
| ## Changes since v1.10.9 | ||
| ## :chart_with_upwards_trend: Overview | ||
| - 1 new commit merged | ||
| - 1 bug fixed 🐛 | ||
|
|
||
| ## :bug: Bug Fixes | ||
| - Runtime SDK: Improve client cert/key rotation of the RuntimeSDK client (#13215) | ||
|
|
||
| ## Dependencies | ||
|
|
||
| ### Added | ||
| _Nothing has changed._ | ||
|
|
||
| ### Changed | ||
| _Nothing has changed._ | ||
|
|
||
| ### Removed | ||
| _Nothing has changed._ | ||
|
|
||
| _Thanks to all our contributors!_ 😊 |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| ## 👌 Kubernetes version support | ||
|
|
||
| - Management Cluster: v1.28.x -> v1.33.x | ||
| - Workload Cluster: v1.26.x -> v1.33.x | ||
|
|
||
| [More information about version support can be found here](https://cluster-api.sigs.k8s.io/reference/versions.html) | ||
|
|
||
| ## Changes since v1.10.8 | ||
| ## :chart_with_upwards_trend: Overview | ||
| - 10 new commits merged | ||
| - 1 bug fixed 🐛 | ||
|
|
||
| ## :bug: Bug Fixes | ||
| - ClusterClass: Do not overwrite global http.DefaultClient TLSConfig (#13061) | ||
|
|
||
| ## :seedling: Others | ||
| - CI: Ignore CVE-2025-47914 & CVE-2025-58181 in trivy scans (#13038) | ||
| - Dependency: [release-1.10] Bump Go to v1.24.11 (#13132) | ||
| - Dependency: Also set godebug on modules (#12967) | ||
| - Dependency: Bump Go to v1.24.10 (#12964) | ||
| - Dependency: Bump Go version to 1.24.9 (#12945) | ||
| - e2e: Skip test using outdated docker client (#13129) | ||
| - e2e: Temporarily disable KAL in CI (#13128) | ||
| - e2e: Use crane to pre-pull images instead of docker pull (#13131) | ||
| - Runtime SDK: Add httpClientCache to runtime client (#13084) | ||
|
|
||
| ## Dependencies | ||
|
|
||
| ### Added | ||
| _Nothing has changed._ | ||
|
|
||
| ### Changed | ||
| _Nothing has changed._ | ||
|
|
||
| ### Removed | ||
| _Nothing has changed._ | ||
|
|
||
| _Thanks to all our contributors!_ 😊 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Disable token persistence in checkout step.
actions/checkoutshould setpersist-credentials: falseto avoid persisting the workflow token in git config.Suggested fix
As per coding guidelines "CI/CD security (prodsec-skills): ... Least privilege: minimize GITHUB_TOKEN permissions".
📝 Committable suggestion
🧰 Tools
🪛 zizmor (1.25.2)
[warning] 17-17: credential persistence through GitHub Actions artifacts (artipacked): does not set persist-credentials: false
(artipacked)
🤖 Prompt for AI Agents