Skip to content
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

fix: ensure /etc/kubernetes/certs exists before generating serving cert with openssl #5577

Closed
wants to merge 161 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
9a3d354
sync(dev): Fix 24.04 ARM64 pipeline (#5181) (#5185)
cameronmeissner Oct 30, 2024
6279c49
chore: add dev branch to required PR workflow triggers (#5186)
cameronmeissner Oct 30, 2024
4f0281f
fix: append existing env variables to provision cmd (#5187)
lilypan26 Oct 31, 2024
ced4be1
test: add e2e test for kubelet configs (#5180)
bravebeaver Oct 31, 2024
bc8fb32
fix lint errors (#5174)
r2k1 Nov 3, 2024
654ed86
Rename node-bootstrapper => aks-node-controller (#5191)
r2k1 Nov 3, 2024
7342099
rename nbccontract => aksnodeconfig (#5193)
r2k1 Nov 3, 2024
0229dfc
Renovate config fix for AKS GPU CUDA and GRID updates (all types of v…
ganeshkumarashok Nov 4, 2024
69e31e4
feat: allow configuring base/target branch for automatic release note…
cameronmeissner Nov 4, 2024
2306976
chore: automated PR to update ReleaseNotes for 202411.03.0 VHD (#5221)
cameronmeissner Nov 4, 2024
6d63962
chore: automated PR to update VHDVersion for 202411.03.0 VHD (#5220)
cameronmeissner Nov 4, 2024
9a42fce
fix: add retry for initial trivy scan to handle 429's from ghcr on DB…
cameronmeissner Nov 5, 2024
d0a5460
feat: add scriptless bootstrap status poller (#5173)
lilypan26 Nov 5, 2024
2c4d823
Use nvidia container toolkit version from components.json, for Az Lin…
ganeshkumarashok Nov 5, 2024
37c7006
adding Trivy DB fallbacks (#5225)
djsly Nov 5, 2024
ae7e79c
chore: add tests for aks-node-controller provision wait (#5226)
lilypan26 Nov 6, 2024
23af207
bump to latest cri-tools 1.31.1 for CVE fixes (#5228)
djsly Nov 7, 2024
e3df88e
test: add e2e test for customkubeletconfig on azure linux v2 (#5183)
bravebeaver Nov 7, 2024
cebe606
chore: set default automation target branch to dev (#5238)
cameronmeissner Nov 11, 2024
bb5a6c9
chore: automated PR to update ReleaseNotes for 202411.10.0 VHD (#5240)
cameronmeissner Nov 11, 2024
bc3a602
chore: add binaries for 1.27.101 lts (#5200)
wenhug Nov 11, 2024
071d3b5
chore: add aks-node-controller doc (#5248)
lilypan26 Nov 12, 2024
645c502
fix components.json for aks 1.27.101 (#5250)
wenhug Nov 12, 2024
2a9548d
chore: cleanup + refactor for test infra migration (#5235)
cameronmeissner Nov 12, 2024
67bec7f
chore: set default abe2e branch selector to dev (#5255)
cameronmeissner Nov 12, 2024
a3120c3
feat: bump windows base image 2024-11B for Windows 2019, 2022, and 23…
timmy-wright Nov 13, 2024
a812b7e
try not to fail if performance data file is not set (#5262)
timmy-wright Nov 14, 2024
d874464
feat: update windows release notes for 2024-11 (#5272)
AbelHu Nov 15, 2024
c82920d
fix vhd_name env variable for trivy script (#5219)
jason1028kr Nov 15, 2024
686a986
revert: automated PR to update ReleaseNotes for 202411.10.0 VHD (#5275)
cameronmeissner Nov 15, 2024
c97624f
chore: automated PR to update ReleaseNotes for 202411.12.0 VHD (#5254)
cameronmeissner Nov 15, 2024
196afeb
chore: rename nbcontract to AKSNodeConfig (#5276)
Devinwong Nov 15, 2024
421a38c
chore: automated PR to update VHDVersion for 202411.12.0 VHD (#5253)
cameronmeissner Nov 15, 2024
a46c5d5
chore: rename leading aKS to aks in tests (#5279)
Devinwong Nov 16, 2024
4c84bee
feat: onboard kubernetes-binaries, azure-acr-credential-provider and …
Devinwong Nov 16, 2024
216a1b8
fix: packer vnet RG name resolution for prod builds (#5282)
cameronmeissner Nov 18, 2024
79dce3f
feat: add dedicated pipeline variable to determine whether to publish…
cameronmeissner Nov 18, 2024
1ed6c39
feat: use aks-node-assistant for VHD automation (#5287)
cameronmeissner Nov 18, 2024
e179c0c
Clean public interface for aks-node-controller (#5285)
r2k1 Nov 19, 2024
ce6c3dd
fix: add start and end symbols for source branch validation (#5263)
junjiezhang1997 Nov 19, 2024
84ff546
feat: Update WS2022 gen2 base image to 2024-11B (#5291)
AbelHu Nov 19, 2024
7e32b44
fix: add vhdbuilder sub-modules to go.work (#5294)
cameronmeissner Nov 19, 2024
78facfd
run buf workflow only on proto files change (#5290)
r2k1 Nov 19, 2024
5e26a68
feat: change from a bool value for bootstrapping auth method to an en…
timmy-wright Nov 19, 2024
ee19195
chore: fix readme (#5296)
timmy-wright Nov 19, 2024
8bf4ab5
chore: update assignee and tab for azure-acr-credential-provider (#5295)
Devinwong Nov 19, 2024
f40de5b
fix: ensure /mnt is mounted before bind-mount.service (#5297)
lilypan26 Nov 19, 2024
ac9dabf
fix e2e (#5302)
r2k1 Nov 20, 2024
b130298
docs: add release notes for WS2022 gen2 with 2024.11B (#5308)
AbelHu Nov 20, 2024
0ea9430
fix: handle missing MC resource group on abe2e clusters (#5314)
cameronmeissner Nov 21, 2024
2cb434c
Improve proto generation (#5312)
r2k1 Nov 21, 2024
0d97c1d
use azurelinux from mcr as a base image for protoc (#5324)
r2k1 Nov 22, 2024
569b722
bug: cve-2013-3900 (#5323)
timmy-wright Nov 22, 2024
72d76d9
fix: change vhds for ubuntu2204 network isolated tests (#5313)
AlisonB319 Nov 22, 2024
c0724c2
chore: more descriptive pod logs (#5326)
AlisonB319 Nov 23, 2024
0a42e31
fix: updates packages for cvm (#5328)
zachary-bailey Nov 25, 2024
fc7bb92
chore(deps): update dependency moby-containerd to v1.7.24-ubuntu20.04…
renovate[bot] Nov 25, 2024
1d96357
chore(deps): update dependency moby-containerd to v1.7.24-ubuntu22.04…
renovate[bot] Nov 25, 2024
b5c63c8
chore(deps): bump google.golang.org/protobuf from 1.33.0 to 1.35.2 (#…
dependabot[bot] Nov 25, 2024
5559546
fix airgapped cluster e2e image pull (#5316)
fseldow Nov 26, 2024
9af40f8
chore: update CODEOWNERS with nodecustomdata.yml and README (#5333)
lilypan26 Nov 26, 2024
ddf36a2
Windows E2E (#5249)
r2k1 Nov 27, 2024
9d4e495
Make E2E validation more flexible. (#5334)
r2k1 Nov 29, 2024
364c79c
Fix e2e (#5336)
r2k1 Nov 30, 2024
a609fdb
fix: git config for VHD automation (#5341)
cameronmeissner Dec 2, 2024
5468150
feat: dedicated garbage collection pipeline (#5325)
cameronmeissner Dec 3, 2024
3b8660a
test: run real GPU workload (#5337)
r2k1 Dec 4, 2024
0888591
fix: python package vuln (#5357)
zachary-bailey Dec 4, 2024
60fda2e
fix: have scanning VMs use correct vnet subnet (#5360)
cameronmeissner Dec 4, 2024
4b273ca
fix: confidential machine CVEs for December (#5363)
zachary-bailey Dec 4, 2024
9badd0d
feat: delete acr and recreate if cache rule is wrong (#5354)
AlisonB319 Dec 4, 2024
0a176ad
chore(deps): update aks/aks-gpu-cuda docker tag to v550.127.08-202412…
renovate[bot] Dec 4, 2024
5993fd1
fix: resolve Azure Linux nvidia-container-toolkit posttrans error (#5…
henryli001 Dec 5, 2024
04d10b7
chore(deps): update aks/aks-gpu-grid docker tag to v535.161.08-202412…
renovate[bot] Dec 5, 2024
c4de1e6
fix: scanning and resource group tags, use packer subnet for linux te…
cameronmeissner Dec 5, 2024
5e626a1
chore: rename airgap e2e resources with dev (#5374)
AlisonB319 Dec 5, 2024
a8cf455
fix: stop dnf from overwriting motd on azure linux nodes if motd is e…
UtheMan Dec 5, 2024
4b8502a
feat: use github app for VHD automation tasks (#5379)
cameronmeissner Dec 6, 2024
9d8d22d
feat: ensure user provided motd is displayed on ubuntu nodes when dyn…
UtheMan Dec 6, 2024
6ca6be9
chore: automated PR to update ReleaseNotes for 202412.04.0 VHD (#5376)
Dec 6, 2024
a5e8ea5
chore: automated PR to update VHDVersion for 202412.04.0 VHD (#5375)
Dec 6, 2024
bee9cc9
chore: upgrade oras version (#5385)
AlisonB319 Dec 6, 2024
c0f8cc2
refactor: packer vnet resolution (#5347)
cameronmeissner Dec 8, 2024
43298e8
fix: cgroup enablement syntax bug (#5388)
zachary-bailey Dec 9, 2024
082bf9f
chore: update Kubernetes versions add binary for 1.29.11,1.30.7,1.31.…
wenhug Dec 9, 2024
e8d5a1d
chore: add myself as a codeowner (#5399)
zachary-bailey Dec 9, 2024
f7ffe60
test: e2e fixes and improvements (#5362)
r2k1 Dec 10, 2024
bbd3ba6
chore: update 2404 base image and turn on weekly builds to be in sync…
anujmaheshwari1 Dec 10, 2024
eb360a6
chore: onboard windows automation to aks-node-sig-release-assistant (…
cameronmeissner Dec 10, 2024
16c95f2
fix: always specify agent identity ID when logging into azure for lin…
cameronmeissner Dec 11, 2024
c0a50d0
test: log SSH instructions (#5413)
r2k1 Dec 12, 2024
b531a3e
security: Windows update to 2024-12b (#5409)
timmy-wright Dec 13, 2024
1efe1be
fixing codeql warnings (#5421)
djsly Dec 13, 2024
9cae229
fix: codeql reports that go toolchain want 1.N.P format (#5426)
djsly Dec 14, 2024
be74e9b
chore: automated PR to update ReleaseNotes for 202412.10.0 VHD (#5405)
aks-node-sig-release-assistant[bot] Dec 15, 2024
f13a779
chore: automated PR to update VHDVersion for 202412.10.0 VHD (#5404)
aks-node-sig-release-assistant[bot] Dec 15, 2024
341885f
chore: use jq to bump image version rather than string replace (#5432)
timmy-wright Dec 16, 2024
848a56b
bug: set mode (#5436)
timmy-wright Dec 16, 2024
e1110bd
feat: use token for attaching ua (#5423)
cameronmeissner Dec 16, 2024
fd8cfed
Remove go workspaces (#5428)
r2k1 Dec 16, 2024
05a3f9b
chore(deps): bump golang.org/x/crypto from 0.27.0 to 0.31.0 in /e2e (…
dependabot[bot] Dec 16, 2024
b914cd3
chore: explicitly declare ua token variable group (#5440)
cameronmeissner Dec 16, 2024
cc3145c
fix: remove kubelet flag azure-container-registry-config (#5438)
AlisonB319 Dec 17, 2024
1b473cf
Fix: output curl output on error for retrycmd_curl_file (#5424)
djsly Dec 17, 2024
e74b23a
chore(deps): cache CNI/CNS v1.4.58 (#5441)
behzad-mir Dec 17, 2024
eec1cb9
chore: add dedicated pipeline variable for E2E location (#5447)
cameronmeissner Dec 18, 2024
e6b6d5d
cleanup: delete stale owners file (#5449)
anujmaheshwari1 Dec 18, 2024
4030f1c
cleanup: combine Linux/Windows test E2E pipelines (#5358)
r2k1 Dec 18, 2024
82a140b
chore: don't run e2e in PR when VHD builds fail (#5448)
timmy-wright Dec 18, 2024
97ff23a
chore: Update .NET patch version for Windows (#5445)
timmy-wright Dec 18, 2024
4c7a34d
test: Testing 💚: add e2e for seccomp on ARM64 (#5435)
bravebeaver Dec 18, 2024
08cdb03
chore: windows VHD build pipeline tweaks (#5453)
timmy-wright Dec 19, 2024
52ddca4
chore: bump oras version (#5459)
AlisonB319 Dec 19, 2024
bbc9b32
fix: bumping golang/x/net for cve-2024-45338 (#5458)
djsly Dec 19, 2024
e3da597
fix: Kubelet restarts initiated by nvidia-modprobe service (#5450)
benjamin-brady Dec 20, 2024
9add70b
feat: add pipeline variable to skip scanning during linux VHD builds …
cameronmeissner Dec 20, 2024
594d3d0
chore: new addon version (#5467)
anlandu Dec 20, 2024
ca43a93
chore: don't run PR e2e pipelines when merging release notes (#5472)
timmy-wright Dec 23, 2024
680b15d
fix: install missing udev rules for v6 vm sku (#5444)
andyzhangx Dec 23, 2024
e2fe20d
cleanup: CSI driver images (#5476)
andyzhangx Dec 23, 2024
2cf7545
ci: update cilium agent MCR usage to containernetworking (#5359)
jpayne3506 Dec 23, 2024
a049e44
increase timeout for SIG image garbage collection (#5372)
ganeshkumarashok Dec 26, 2024
3615195
bug: fix VHD 2204 to use correct distro 2204 (#5480)
bravebeaver Dec 31, 2024
ae6b89c
feat: add containerd 2.0 to ubuntu24.04 (#5481)
bravebeaver Jan 1, 2025
f8d9d1c
test: Testing 💚 e2e for ubuntu2404 with containerd2 (#5490)
bravebeaver Jan 1, 2025
7c0b03f
feat: use runc 1.2 for ubuntu24.04 (#5491)
bravebeaver Jan 1, 2025
1c9cc29
test: add e2e to verify no deprecated properties are used in config.t…
bravebeaver Jan 1, 2025
60ff05a
test: e2e to check runc versions after components upgrade (#5492)
bravebeaver Jan 1, 2025
1ac058f
feat: remove ulimit from containerd2 (#5500)
bravebeaver Jan 5, 2025
d5f65ff
Timmy/release notes for dev (#5504)
timmy-wright Jan 5, 2025
51407f2
add target branch for windows release notes (#5503)
timmy-wright Jan 5, 2025
5dfd5e9
test: Testing 💚 update e2e checks for NRI plugin enabled status (#5501)
bravebeaver Jan 6, 2025
36744c2
feat: Add --dry-run option to aks-node-controller (#5512)
r2k1 Jan 7, 2025
910ae0e
chore: upgrade Azure Disk CSI driver versions in vhd image (#5506)
andyzhangx Jan 7, 2025
771f52f
test: add testData for new baker test scenario ubuntu 2404 (#5505)
bravebeaver Jan 7, 2025
5f3f075
feat: add AzureLinuxV3 support to autonotes (#5517)
cameronmeissner Jan 7, 2025
639f1d5
chore: new gk version (#5521)
anlandu Jan 8, 2025
5bd750e
feat: upgrade blobfuse version to v2.4.0 on Ubuntu 22.04 & 24.04 (#5498)
andyzhangx Jan 8, 2025
b5b94bd
chore: upgrade Azure File CSI driver versions in vhd image (#5514)
andyzhangx Jan 8, 2025
f7939af
feat: Add trusted launch for Azure Linux 3.0 (#5499)
dallasd1 Jan 8, 2025
8da2fc7
refactor: manually generate self-signed kubelet serving cert when opt…
cameronmeissner Jan 8, 2025
7fc48ac
chore: use cns/cni version 1.6.18 (#5513)
santhoshmprabhu Jan 9, 2025
1b64501
chore: remove obsolete registry changes (#5478)
timmy-wright Jan 9, 2025
4b2a053
chore: log stderr and stdout in some e2e tests (#5534)
timmy-wright Jan 10, 2025
9f4e607
chore: automated PR to update VHDVersion for 202501.05.0 VHD (#5529)
aks-node-sig-release-assistant[bot] Jan 10, 2025
d91a466
chore: automated PR to update ReleaseNotes for 202501.05.0 VHD (#5527)
aks-node-sig-release-assistant[bot] Jan 10, 2025
3041708
Revert "chore: automated PR to update ReleaseNotes for 202501.05.0 VH…
djsly Jan 10, 2025
d415be3
feat: Add support for setting a different CNI config on cilium cluste…
santhoshmprabhu Jan 10, 2025
7b51dad
Revert "chore: automated PR to update VHDVersion for 202501.05.0 VHD"…
djsly Jan 10, 2025
93471bf
Cherry pick missing rn (#5542)
djsly Jan 10, 2025
311a6c1
chore: bumping image version to 202501.05.0 (#5543)
djsly Jan 10, 2025
9bb37ed
chore: automated PR to update ReleaseNotes for 202501.05.0 VHD (#5545)
aks-node-sig-release-assistant[bot] Jan 10, 2025
0bc7cdf
Update Az Linux nvidia container toolkit to 1.17.3 (#5546)
ganeshkumarashok Jan 10, 2025
ee75fdd
fix: retire gpu dedicated aks image (#5548)
zachary-bailey Jan 11, 2025
291738b
feat: create vmss tag to skip binary cleanup during CSE (#5524)
AlisonB319 Jan 11, 2025
97637de
chore(deps): update aks/ip-masq-agent-v2 docker tag to v0.1.15 (#5509)
renovate[bot] Jan 13, 2025
484fb54
removing unreleased notes for 202412.15 (#5562)
djsly Jan 13, 2025
7e2fe02
feat: add containerd 2.0 to azureLinux 3.0 (#5510)
liunan-ms Jan 14, 2025
c53010d
fix: ensure /etc/kubernetes/certs exists before generating serving ce…
Jan 15, 2025
fa8b55f
fix: ensure /etc/kubernetes/certs exists before generating serving ce…
Jan 15, 2025
5711a73
chore: fix shellspec
Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
{
"name": "Go",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/go:1-1.20-bullseye",
"image": "mcr.microsoft.com/devcontainers/go:1-1.22-bullseye",
"features": {
"ghcr.io/devcontainers-contrib/features/protoc:1": {}
"ghcr.io/devcontainers-contrib/features/protoc:1": {},
"ghcr.io/devcontainers/features/azure-cli:1": {}
},

// Features to add to the dev container. More info: https://containers.dev/features.
Expand Down
50 changes: 46 additions & 4 deletions .github/README-RENOVATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
- [Okay, I just have 5 minutes. Please just tell me how to onboard a new package/container now to Renovate.json for auto-update.](#okay-i-just-have-5-minutes-please-just-tell-me-how-to-onboard-a-new-packagecontainer-now-to-renovatejson-for-auto-update)
- [What is the responsibility of a PR assignee?](#what-is-the-responsibility-of-a-pr-assignee)
- [What components are onboarded to Renovate for auto-update and what are not yet?](#what-components-are-onboarded-to-renovate-for-auto-update-and-what-are-not-yet)

- [Details on supporting the MAR OCI artifacts.](#details-on-supporting-the-mar-oci-artifacts)
# TL;DR
This readme is mainly describing how the renovate.json is constructed and the reasoning behind. If you are adding a new component to be cached in VHD, please refer to this [Readme-components](../parts/linux/cloud-init/artifacts/README-COMPONENTS.md) for tutorial. If you are onboarding a newly added component to Renovate automatic updates, you can jump to the [Hands-on guide and FAQ](#hands-on-guide-and-faq).

Expand Down Expand Up @@ -343,9 +343,51 @@ If your GitHub ID is placed in the `assignees` array, you are responsible for th
## What components are onboarded to Renovate for auto-update and what are not yet?
In general, if a component has the `"renovateTag": "<DO_NOT_UPDATE>"`, it means it's not monitored by Renovate and won't be updated automatically.

As of 9/18/2024,
As of 11/12/2024,
- All the container images are onboarded to Renovate for auto-update.
- PMC hosted packages, namely `runc` and `containerd`, are onboarded for auto-update.
- Acs-mirror hosted packages/binaries, namely `cni-plugins`, `azure-cni`, `cri-tools`, `kubernetes-binaries` and `azure-acr-credential-provider`, are NOT onboarded for auto-update yet. There are plans to move the acs-mirror hosted packages to MCR OCI which will be downloaded by Oras. We will wait for this transition to be completed to understand the details how to manage them.
- OCI artifacts hosted on MAR(aka MCR) such as `kubernetes-binaries`, `azure-acr-credential-provider` and `containerd-wasm-shims` are onboarded for auto-update.
- Acs-mirror hosted packages/binaries, namely `cni-plugins`, `azure-cni`, `cri-tools`, etc., are NOT onboarded for auto-update yet. There are plans to move the acs-mirror hosted packages to MCR OCI which will be downloaded by Oras. We will wait for this transition to be completed to understand the details how to manage them.

For the most up-to-date information, please refer to the actual configuration file `components.json`.

## Details on supporting the MAR OCI artifacts.
MAR OCI artifact is a bit special. The artifact is hosted/stored in a container registry (e.g. MCR, now rebranded to MAR), while it's not necessarily a container image. Instead it could be any format such as Helm charts, Software Bill of Materials (SBOM), a package or a tar/tgz file.
The `renovate.json` file is configured to support OCI artifact now. There is a packageRule like below to support auto updating OCI artifact, which is,
```
{
"matchDatasources": ["docker"],
"matchPackageNames": ["oss/binaries/kubernetes/kubernetes-node", "oss/binaries/kubernetes/azure-acr-credential-provider", "oss/binaries/deislabs/containerd-wasm-shims"],
"extractVersion": "^(?P<version>.*?)-[^-]*-[^-]*$"
},
```
Explanations as below.
1. The `datasource` should be `docker`.
2. The `packageName` should be one of those in the list.
3. In `extractVersion`, we use a regex to extract only part of the tag as the version to be stored in `latestVersion` in `components.json`.

Take `kubernetes-binaries` as an example. If you view all the tags from this list https://mcr.microsoft.com/v2/oss/binaries/kubernetes/kubernetes-node/tags/list?n=10000, you will notice that the format of the tags is quite varied, like, `v1.27.100-akslts-linux-amd64` , `v1.30.0-linux-amd64`, `v1.31.1-linux-arm64`. This regex is to capture only the values before the second-to-last dash (-). For example, if the tag is `v1.27.100-akslts-linux-amd64`, we capture `v1.27.100-akslts` as the version to be stored in `latestVersion` in `components.json`. If the tag is `v1.30.0-linux-amd64`, we capture `v1.30.0`. We do not capture the CPU architecture (amd64|arm64) to keep it generic, avoiding the need to define the same thing for both `amd64` and `arm64`.

For the most up-to-date information, please refer to the actual configuration file `components.json`.
3 packages in `components.json` are onboarded now: `oss/binaries/kubernetes/kubernetes-node`, `oss/binaries/kubernetes/azure-acr-credential-provider` and `oss/binaries/deislabs/containerd-wasm-shims`. You will see a new tag `OCI_registry` in `renovateTag`.

Continue using `kubernetes-binaries` as an example. Here is a block of version information defined as follows.
```
{
"k8sVersion": "1.31",
"renovateTag": "OCI_registry=https://mcr.microsoft.com, name=oss/binaries/kubernetes/kubernetes-node",
"latestVersion": "v1.31.2",
"previousLatestVersion": "v1.31.1"
}
```
where
1. `k8sVersion` is optional and specifies that it is tied to Kubernetes v1.31.
1. `renovateTag` defines the OCI registry and artifact name that Renovate should look up from its datasource.
1. `latestVersion` and `previousLatestVersion` define the versions to be cached as usual.

And next you will see
```
"downloadURL": "mcr.microsoft.com/oss/binaries/kubernetes/kubernetes-node:${version}-linux-${CPU_ARCH}"
```
where
- `${version}` will be resolved at runtime with the `latestVersion` and `previousLatestVersion` defined above.
- `${CPU_ARCH}` will be resolved at runtime depending on the CPU architecture of the Node (VM) under provisioning.
9 changes: 0 additions & 9 deletions .github/README.md

This file was deleted.

33 changes: 31 additions & 2 deletions .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@
"assignees": ["devinwong", "anujmaheshwari1", "cameronmeissner", "AlisonB319", "lilypan26", "djsly", "jason1028kr", "UtheMan", "zachary-bailey", "ganeshkumarashok"]
},
{
"matchPackageNames": ["azure-cni", "azure-cns", "containernetworking/azure-cni", "containernetworking/azure-cns"],
"assignees": ["rbtr", "behzad-mir", "QxBytes"]
"matchPackageNames": ["azure-cni", "azure-cns", "containernetworking/azure-cni", "containernetworking/azure-cns", "containernetworking/cilium/cilium"],
"assignees": ["rbtr", "behzad-mir", "QxBytes", "jpayne3506"]
},
{
"matchPackageNames": ["aks/aks-node-ca-watcher"],
Expand All @@ -84,9 +84,25 @@
"matchPackageNames": ["oss/kubernetes/coredns", "oss/v2/kubernetes/coredns"],
"assignees": ["SriHarsha001"]
},
{
"matchPackageNames": ["oss/binaries/kubernetes/azure-acr-credential-provider"],
"assignees": ["mainred"]
},
{
"matchPackageNames": ["moby-runc", "moby-containerd"],
"extractVersion": "^v?(?<version>.+)$"
},
{
"matchDatasources": ["docker"],
"matchPackageNames": ["oss/binaries/kubernetes/kubernetes-node", "oss/binaries/kubernetes/azure-acr-credential-provider", "oss/binaries/deislabs/containerd-wasm-shims"],
"extractVersion": "^(?P<version>.*?)-[^-]*-[^-]*$"
},
{
"matchPackageNames": ["aks/aks-gpu-cuda", "aks/aks-gpu-grid"],
"versioning": "regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<prerelease>\\d{14})$",
"automerge": false,
"enabled": true,
"ignoreUnstable": false
}
],
"customManagers": [
Expand All @@ -103,6 +119,19 @@
"datasourceTemplate": "docker",
"autoReplaceStringTemplate": "\"renovateTag\": \"registry={{{registryUrl}}}, name={{{packageName}}}\",\n \"latestVersion\": \"{{{newValue}}}\"{{#if depType}},\n \"previousLatestVersion\": \"{{{currentValue}}}\"{{/if}}"
},
{
"customType": "regex",
"description": "auto update OCI artifacts in components.json",
"fileMatch": [
"parts/linux/cloud-init/artifacts/components.json"
],
"matchStringsStrategy": "any",
"matchStrings": [
"\"renovateTag\":\\s*\"OCI_registry=(?<registryUrl>[^,]+), name=(?<packageName>[^\"]+)\",\\s*\"latestVersion\":\\s*\"(?<currentValue>[^\"]+)\"(?:[^}]*\"previousLatestVersion\":\\s*\"(?<depType>[^\"]+)\")?"
],
"datasourceTemplate": "docker",
"autoReplaceStringTemplate": "\"renovateTag\": \"OCI_registry={{{registryUrl}}}, name={{{packageName}}}\",\n \"latestVersion\": \"{{{newValue}}}\"{{#if depType}},\n \"previousLatestVersion\": \"{{{currentValue}}}\"{{/if}}"
},
{
"customType": "regex",
"description": "auto update packages for OS ubuntu 18.04 in components.json",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/auto-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
Auto:
name: Auto-update
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: tibdex/auto-update@v2
with:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Buf CI
on:
push:
paths:
- "aks-node-controller/proto/**"
- "aks-node-controller/buf.yaml"
- ".github/workflows/buf.yaml"
pull_request:
types: [opened, synchronize, reopened, labeled, unlabeled]
paths:
- "aks-node-controller/proto/**"
- "aks-node-controller/buf.yaml"
- ".github/workflows/buf.yaml"
permissions:
contents: read
pull-requests: write
jobs:
buf:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: bufbuild/buf-action@v1
with:
input: aks-node-controller
2 changes: 1 addition & 1 deletion .github/workflows/cflite_batch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions: read-all

jobs:
BatchFuzzing:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cflite_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
permissions: read-all
jobs:
Build:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
concurrency:
group: ${{ github.workflow }}-${{ matrix.sanitizer }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cflite_prune.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ permissions: read-all

jobs:
Pruning:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Build Fuzzers
id: build
Expand All @@ -34,7 +34,7 @@ jobs:
storage-repo-branch: main # Optional. Defaults to "main"
storage-repo-branch-coverage: gh-pages # Optional. Defaults to "gh-pages".
Coverage:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Build Fuzzers
id: build
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/check-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,9 @@ permissions:
id-token: write
contents: read

env:
SUBSCRIPTION_ID: "8ecadfc9-d1a3-4ea4-b844-0d9f87e4d7c8"
RESOURCE_GROUP_NAME: "agentbaker-e2e-tests"
LOCATION: "eastus"
CLUSTER_NAME: "agentbaker-e2e-test-cluster"
AZURE_TENANT_ID: "72f988bf-86f1-41af-91ab-2d7cd011db47"

jobs:
unit_tests:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Install Go
if: success()
Expand Down Expand Up @@ -43,7 +36,7 @@ jobs:
finish:
needs: [unit_tests]
if: ${{ success() }}
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@v2
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:
jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
permissions:
actions: read
contents: read
Expand All @@ -48,7 +48,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -62,7 +62,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
Expand All @@ -75,4 +75,4 @@ jobs:
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/generate-kubelet-flags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:

jobs:
generate-kubelet-flags:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- name: Set up containerd
uses: crazy-max/ghaction-setup-containerd@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/go-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
go-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
Expand Down
45 changes: 0 additions & 45 deletions .github/workflows/golangci-lint-pr.yml

This file was deleted.

6 changes: 5 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
branches:
- master
- main
pull_request:
branches:
- master
- main

permissions:
contents: read
Expand All @@ -13,7 +17,7 @@ permissions:
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/setup-go@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
shellcheck:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/shellspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
shellspec:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-components.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
cue:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
environment: test
steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validate-image-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on: pull_request

jobs:
validate-image-version:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- run: |
Expand Down
Loading
Loading