Commit Graph
5862 Commits
Author SHA1 Message Date
Max Gautier 4b7dfaef87 fix/ansible 2.19: etcd: don't rely on final evaluation (#13475)
Suggested-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-09-08 08:04:32 +00:00
Sandaru Wijewardhana 2dd05e4841 Bump nerdctl to v2.3.5 (#13437)
Signed-off-by: sandaruwijewardhana <sandaruwijewardhana@gmail.com>
2026-09-08 07:44:30 +00:00
Nikhil Kumar 33a26fb9e3 openSUSE: add Leap 16.0 support and CI coverage (#13473) 2026-09-07 14:58:29 +00:00
Max Gautier 85cfaa2cef fix/ansible-core 2.19: docker: bool implict conversion (#13471) 2026-09-07 09:00:28 +00:00
Alexander Skiba (MANZ Solutions) 12355b7e0a Fix lint violation: jinja[invalid] to make pre-commit pass (#13337) 2026-09-07 07:24:28 +00:00
Max Gautier 490253f6f0 fix/ansible-core 2.19: ntp_timezone implicit string -> bool (#13469) 2026-09-05 04:46:22 +00:00
Ali Afsharzadeh e125a30b16 Fix k8s-certs-renew renewing on nodes without super-admin.conf (#13414)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-09-03 14:30:21 +00:00
Abhishek Kanyahal cf0e68ee98 Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment (#13225)
* #13157: Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment

Signed-off-by: root <kanyahal.abhishek@gmail.com>

* Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment

* Updates in the calico config and template to support disabling ipv4 pools during pure ipv6 deployment

---------

Signed-off-by: root <kanyahal.abhishek@gmail.com>
2026-09-03 13:10:27 +00:00
Dhakshin Raghav 1daa5c4af0 Bump Flannel version to v0.28.9 (#13436) 2026-09-03 12:32:19 +00:00
Mehrdad Biukian a369d66c43 fix(calico): make IPv6 pool validation actually run (#13450)
Three defects in the IPv6 branch of check.yml kept the IPv6 pool
assertion from ever executing:

1. 'alico_ipv6 is defined' - typo of calico_ipv6, so the set_fact
   was always skipped (Jinja2 treats the undefined var as False).
2. The set_fact stored the pool as calico_pool_conf, overwriting the
   IPv4 pool fact on dual-stack clusters, while the IPv6 assertion
   gated on calico_pool_ipv6_conf - a name that was never set.
3. The assertion body also read calico_pool_conf, so even with the
   gate fixed it would validate against the IPv4 pool's values.

Store the IPv6 pool as calico_pool_ipv6_conf, gate the set_fact on
the registered calico_ipv6 result, and make the assertion read the
IPv6 fact - mirroring the IPv4 pattern directly above.

Verified with ansible-playbook on mocked calicoctl output:
- old code: set_fact skipped, no validation (reproduces the report)
- new code: mismatched blockSize caught with a clear assertion msg
- matching config passes through unchanged

Signed-off-by: Mehrdad Biukian Naeini <mehrdadbiukian@gmail.com>
2026-09-03 10:32:21 +00:00
Kay Yan 990d3035a1 Fix custom_cni manifest apply failure for multi-namespace resources (#13091)
* fix(custom_cni): make namespace optional

Keep kube-system as the default for existing manifests. An empty custom_cni_namespace omits kubectl's namespace flag so manifests spanning multiple namespaces can be applied without changing legacy behavior.

Signed-off-by: Kay Yan <kay.yan@daocloud.io>

* docs(custom_cni): document multi-namespace manifests

Signed-off-by: Kay Yan <kay.yan@daocloud.io>

---------

Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2026-09-02 09:38:20 +00:00
Mehrdad Biukian f7b0af0d60 fix: render routingMode native when cilium_tunnel_mode is disabled (#13427)
* fix: render routingMode native when cilium_tunnel_mode is disabled

When cilium_tunnel_mode is set to 'disabled', the previous template rendered
'tunnelProtocol: disabled', which Cilium does not recognise and falls back to
vxlan. With native routing this conflicts and agents CrashLoopBackOff.

Render 'routingMode: native' instead when disabled, matching the Cilium Helm
chart API (per maintainer review on #13427 and #13314).

Refs kubernetes-sigs/kubespray#13267

Signed-off-by: Mehrdad Biukian Naeini <mehrdadbiukian@gmail.com>

* fix(cilium): tighten routingMode native render (remove stray blank line)

Per review comment on kubernetes-sigs/kubespray#13427, drop the extra
blank line after the routingMode/tunnelProtocol if-block so the rendered
Helm values file is clean.

Validated by rendering the template for cilium_tunnel_mode in
{disabled, vxlan, geneve}: disabled yields 'routingMode: native' with no
tunnelProtocol; vxlan/geneve yield 'tunnelProtocol: <mode>'.

Signed-off-by: Mehrdad Biukian Naeini <mehrdadbiukian@gmail.com>

---------

Signed-off-by: Mehrdad Biukian Naeini <mehrdadbiukian@gmail.com>
2026-08-31 03:18:08 +00:00
Ali Afsharzadeh 46dbdd3994 Patch versions updates (#13423)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-08-21 10:07:16 +00:00
Ali AfsharzadehandChengHao Yang ae329ee192 Fix k8s-certs-renew renewing all certificates on every timer run (#13413)
* Fix k8s-certs-renew renewing all certificates on every timer run

Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>

* Strip trailing whitespace from systemd-analyze calendar output

Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>

* Remove issue link

Co-authored-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>

---------

Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
Co-authored-by: ChengHao Yang <17496418+tico88612@users.noreply.github.com>
2026-08-21 07:07:16 +00:00
Ali Afsharzadeh c2089ae595 Upgrade cilium from 1.20.0 to 1.20.1 (#13419)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-08-21 04:31:14 +00:00
ChillRedChilli ed99c2a4cb kata-containers: Update release artifacts to zst format. (#13389)
- Updated download URLs to fetch the kata-static<...>.zst files from github repo.
- Added zstd package in kata-continers role.
- Updated version checksums to match the new release files.

Moved zstd dependency to roles/system_package
2026-08-16 15:04:14 +00:00
Nikhil Kumar bf077e7360 Replace injected Ansible fact variables in network_plugin role (#13382) 2026-08-16 14:24:17 +00:00
Ali Afsharzadeh ace96af930 Upgrade cilium from 1.19.6 to 1.20.0 (#13401)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-08-06 13:26:54 +00:00
Shaleen Bathla a7391a1461 kubelet, crio service: standardize unit file permissions to 0644 (#13408)
* kubelet.service: use standard permissions

systemd[1]: Configuration file /etc/systemd/system/kubelet.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway.

* crio.service: reduce execute permission

systemd[1]: Configuration file /etc/systemd/system/crio.service is marked executable. Please remove executable permission bits. Proceeding anyway.
2026-08-06 13:22:55 +00:00
Nikhil Kumar 7198b21b3f Replace injected Ansible fact variables in Remaining roles (#13383) 2026-08-03 07:21:29 +00:00
tophac 4ee4ced065 Fix(#13396)Delete the leftover eviction_hard_control_plane variable (#13400) 2026-08-03 04:33:24 +00:00
Debasish Mohanty f713813c55 fix(csi): update CSI sidecar image versions (#13395)
* feat(csi): update CSI sidecar image versions

* docs(openstack): update sample Cinder CSI sidecar image tags

* chore: trigger CI
2026-08-02 14:53:22 +00:00
Ali Afsharzadeh 9b092a4f49 Upgrade cilium from 1.19.5 to 1.19.6 (#13376)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-07-25 06:35:53 +00:00
Ali Afsharzadeh 8d69fb8f9a Patch versions updates (#13393)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-07-24 07:01:52 +00:00
emma034186-stack 5d17ea45a9 fix(cilium): stop early if kube_owner is not root (#13385)
Cilium's init containers run as UID 0 with capabilities (including
CAP_DAC_OVERRIDE) dropped, so host paths it writes to (e.g. /opt/cni/bin)
must be owned by root or it will fail with a permission error.

Add a pre-flight assert that fails fast with a clear message when
kube_network_plugin == cilium and kube_owner != root, instead of
changing CNI bin ownership defaults for all network plugins.
2026-07-22 14:17:51 +00:00
wangsifei99 d668c509bb fix: Unneeded bpf fstab entry added when using Cilium #13364 (#13377) 2026-07-20 09:28:12 +00:00
Frank 27527fdb00 refactor(roles): remove redundant default filters (#13380) 2026-07-17 16:35:28 +00:00
Toshihiko Kimura 2d8f15f95a fix(calico): Add missing permissions in RBAC for calico-kube-controllers (#13375)
* fix(calico): Add namespace rbac for calico-kube-controllers

* fix(calico): Add missing RBAC resource for calico-kube-controllers
2026-07-17 15:19:30 +00:00
Jeroen Rijken cbcda6ea8d Reboot only when required, add the option to clean packages. (#13327)
* Reboot only when required, add the option to clean packages.

* Update docs to reflect only Debian based distribution can be apt
autocleaned

* Add apt cleanup to upgrade tests
2026-07-16 16:25:26 +00:00
somaz 0355ed62b9 fix(cilium): wire scrape port variables to Helm values template (#13370)
Signed-off-by: somaz <genius5711@gmail.com>
2026-07-15 09:57:33 +00:00
Ali Soltaninasab 971e5f561b Support authentication for custom CNI Helm repositories (#13294)
* Add authentication support for custom CNI Helm repository

Pass optional Helm repository username and password values to the custom CNI chart configuration. These values use default(omit) so authentication fields are only included when explicitly defined by the user.

* Document custom CNI Helm repository authentication variables

Add commented sample variables for configuring a username and password when the custom CNI Helm repository requires authentication.

* Address Copilot documentation feedback

Document paired repository credentials and secure password storage.
Remove authentication placeholders from the public Cilium example.
2026-07-15 04:05:20 +00:00
Ali Afsharzadeh 648e55a379 Rename cilium certgen and envoy image variables (#13260)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-07-14 14:33:17 +00:00
ChengHao Yangandgithub-actions[bot] e15b1f2778 Patch versions updates (#13368)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-14 03:24:19 +00:00
Nikhil Kumar 451957822e Replace injected Ansible fact variables in kubernetes-apps role (#13339) 2026-07-14 02:38:18 +00:00
Nikhil Kumar 338d288653 Replace injected Ansible fact variables in kubespray-defaults role (#13340) 2026-07-08 10:08:29 +00:00
kubernetes-prow[bot] 0c7ccdd6cf Merge pull request #13361 from tico88612/fix/1.36-extend-websocket
fix: ExtendWebSocketsToKubelet when container_manager set docker
2026-07-07 09:18:29 +00:00
Adesh Deshmukh 63bdde2ade Fix inverted ignore_errors condition for etcd-events service startup (#13343)
The ignore_errors condition on the etcd-events service startup task
(Configure | Ensure etcd-events is running) uses != instead of ==,
which is the inverse of the correct pattern used for the main etcd
service on the line above.

This was introduced in commit 7516fe142 when the # noqa ignore-errors
comment was added to the line, accidentally flipping the operator.
2026-07-07 07:50:27 +00:00
ChengHao Yang 80b3345ed8 fix: cri-dockerd doesn't support ExtendWebSocketsToKubelet
Disabled the FG ExtendWebSocketsToKubelet when `container_manager` set `docker`, let CI can passed.
2026-07-06 16:57:50 +08:00
Aleksandr BorisovandAli Afsharzadeh c263d746b6 Fix Multus manifest generation with global inventory (#13309)
* Fix Multus manifest generation with global inventory

* Update roles/network_plugin/multus/tasks/main.yml

Co-authored-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>

---------

Co-authored-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-06-30 12:50:11 +00:00
Matthias Lohr 925f60247a Make cordon/uncordon confirmation prompts consistent (#13313)
Mention cordon explicitly in the pre-upgrade prompt and add the node
name plus the same continue/cancel hint to the uncordon prompt so both
prompts share consistent wording.
2026-06-24 11:38:21 +00:00
ICHxandric-mb 60929432f5 flannel: set EnableNFTables when kube_proxy_mode use nftables (#13291)
* flannel: set EnableNFTables when kube_proxy_mode use nftables

* Clean up cni-flannel.yml.j2 by removing comments

Removed commented-out environment variable for cache readiness.

* update cni-flannel.yml.j2

---------

Co-authored-by: ric-mb <noreply@github.com>
2026-06-24 02:50:17 +00:00
Sumit Solanki edeeb95f22 fix(cilium): sync operator-generic image for offline registries (#13270)
The Cilium Helm chart appends a -generic suffix to the operator image
repository for non-cloud deployments. Sync the operator-generic image
to offline registries so it matches what the chart requests.

Signed-off-by: Sumit Solanki <sumit.solanki@ibm.com>
2026-06-22 12:49:55 +00:00
Ali Afsharzadeh 4d8ecca4e7 Upgrade cilium from 1.19.4 to 1.19.5 (#13315)
Signed-off-by: Ali Afsharzadeh <afsharzadeh8@gmail.com>
2026-06-21 14:17:37 +00:00
Alejandro Macedo 8a5cfe8d77 Change failure condition for image container download (#12321)
When installing with `download_run_once`, nerdctl will log to stderr and
cause a failure even if the image was saved successfully. Instead we
rely on the shell exit code to detect the failure.

Signed-off-by: Alejandro Macedo <alex.macedopereira@gmail.com>
2026-06-21 10:51:41 +00:00
Nikhil Kumar 9f7ea6632c Replace injected Ansible fact variables in bootstrap_os role (#13264)
* Replace injected Ansible fact variables in bootstrap_os role

* Restore stale setup task in opensuse role
2026-06-19 11:44:49 +05:30
Nikhil Kumar e0add9ee0d Replace injected Ansible fact variables in container-engine role (#13296) 2026-06-16 08:51:24 +05:30
Wren Turkal f2a7181f99 fix: make assert test for netaddr actually return a boolean (#13304)
* fix: make assert test for netaddr actually return a boolean

The netaddr test returns a string when the netaddr is installed. This makes
Ansible 2.20 angry. Here's a fix to make sure the true case also returns a
boolean instead of a string.

* fix: more fixes for non-boolean conditions

The `cloud_provider` assertion change is a little more involved. The only two
allowed values are "" and "external". Let's just always check the assertion
instead of skipping it when it's the default value, which is "".

All the other changes should be fairly obvious.
2026-06-14 13:56:32 +05:30
ChengHao Yangandgithub-actions[bot] 3011e19ccd Patch versions updates (#13305)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-13 10:28:46 +05:30
longxiucai a72ea49b2e Fix: use config version 4 for containerd 2.3+ (#13285) (#13286)
Signed-off-by: longyuxiang <longyuxiang@kylinos.cn>
2026-06-05 08:19:58 +05:30
Denis bd21d04c4f Update dns-autoscaler.yml.j2 fix duplicate nodeSelector (#13290) 2026-06-04 12:17:48 +05:30