Alexander
616e4b40db
replace deprecated unarchive.copy with unarchive.remote_src ( #11207 )
2024-10-14 08:20:21 +01:00
Max Gautier
2ec1c93897
Test group membership with group_names
...
Testing for group membership with group names makes Kubespray more
tolerant towards the structure of the inventory.
Where 'inventory_hostname in groups["some_group"] would fail if
"some_group" is not defined, '"some_group" in group_names' would not.
2024-09-21 14:09:09 +02:00
Max Gautier
a3d0ba230d
Remove kubeadm_version and use kube_version instead ( #11473 )
...
We explicitly check for equality so customizing kubeadm_version does not
work at the moment.
Use only one variable instead.
2024-08-28 06:34:56 +01:00
Vlad Korolev
9a7b021eb8
Do not use ‘yes/no’ for boolean values ( #11472 )
...
Consistent boolean values in ansible playbooks
2024-08-28 06:30:56 +01:00
Bas
8f5f75211f
Improving yamllint configuration ( #11389 )
...
Signed-off-by: Bas Meijer <bas.meijer@enexis.nl>
2024-07-25 18:42:20 -07:00
Max Gautier
08a7010e80
Revert "Only download kubeadm images where needed ( #10899 )" ( #11105 )
...
This reverts commit 4b0a134bc9
.
The mentionned PR break scale.yml. This goes back to the status quo
until a proper fix can be provided, at which point we'll reapply the
PR.
2024-04-29 01:59:51 -07:00
Max Gautier
65b0604db7
download: Remove deleted kubeadm config field ( #10931 )
2024-02-16 05:08:43 -08:00
Max Gautier
f5474ec6cc
Don't try to set permissions recursively on cache+staging directory ( #10900 )
...
This should avoid permissions problems when the user creating the
directory and the user creating the content are different (when
containers images are saved by root for instances, because the user
can't use the container runtime).
2024-02-09 06:04:28 -08:00
Max Gautier
4b0a134bc9
Only download kubeadm images where needed ( #10899 )
...
* Refactor of kubeadm images listing
Instead of setting multiples facts, we directly create the dict we need from
kubeadm output.
* Remove useless 'default' filters in roles/download
* Only download kubeadm images where needed
2024-02-08 02:14:45 -08:00
Max Gautier
6f419aa18e
Revert "implement download mirrors support ( #8474 )" ( #10884 )
...
This reverts commit c6e5314fab
.
There is no user of the download mirrors support in kubespray, for a
long time.
2024-02-06 00:48:29 -08:00
Gianmarco Mameli
989ba207e9
task description modified ( #10875 )
2024-02-05 07:59:04 -08:00
Romain
1a86b4cb6d
Fix download retry when get_url has no status_code. ( #10613 )
...
* Fix download retry when get_url has no status_code.
* Fix until clause in download role.
2024-01-04 04:00:47 +01:00
Max Gautier
51069223f5
Decouple kubespray-defaults from download ( #10626 )
...
* Decouple role kubespray-defaults from download
Avoids doing re-importing the download role on every invocation of
kubespray-defaults (and skipping everything).
This has a measurable effect on playbook performance.
* Update docs refering to moved download defaults
2023-12-11 16:56:17 +01:00
Mohamed Omar Zaian
a9321aaf86
[calico] Add version 3.26.4 and make it default ( #10669 )
2023-12-06 03:05:33 +01:00
Kay Yan
fe02d21d23
update nerdctl to v1.7.1 ( #10685 )
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2023-12-05 19:00:41 +01:00
Kay Yan
5160e7e20b
using ctr pull instead of nerdctl ( #10687 )
2023-12-05 16:00:55 +01:00
Mohamed Omar Zaian
75fecf1542
Update nodelocaldns version ( #10621 )
2023-11-29 12:19:36 +01:00
chansuke
c87d70b04b
[cert-manager] Upgrade to v1.12.6
2023-11-28 22:42:50 +01:00
Mohamed Omar Zaian
b321ca3e64
[kubernetes] Add hashes for kubernetes 1.28.4, 1.27.8, 1.26.11 ( #10624 )
2023-11-24 03:22:55 +01:00
Mohamed Omar Zaian
cca7615456
Update checksums ( #10606 )
2023-11-09 16:43:04 +01:00
Mohamed Omar Zaian
f3332af3f2
[containerd] add hashes for version 1.7.8 ( #10589 )
2023-11-03 16:45:15 +01:00
Boris Barnier
870065517f
[kube-router] set version to 2.0.0 ( #10503 )
...
Signed-off-by: Boris Barnier <bozzo@users.noreply.github.com>
2023-11-02 11:19:57 +01:00
Mohamed Omar Zaian
267a8c6025
[ingress-nginx] upgrade to 1.9.4 ( #10583 )
2023-11-02 04:02:24 +01:00
chansuke
5f9a7b9d49
[cert-manager] Upgrade to v1.12.5 ( #10500 )
2023-10-30 18:51:35 +01:00
Mohamed Omar Zaian
7a0030b145
Change default cri-o versions for Kubernetes 1.26 ( #10565 )
2023-10-30 17:23:32 +01:00
Mohamed Omar Zaian
f5f1f9478c
[argocd] update argocd to v2.8.4 ( #10568 )
2023-10-30 12:54:26 +01:00
Mohamed Omar Zaian
6a70f02662
[helm] upgrade to 3.13.1 ( #10567 )
2023-10-30 04:32:52 +01:00
Mohamed Omar Zaian
3bc0dfb354
[etcd] add 3.5.10 hashes ( #10566 )
2023-10-30 04:32:45 +01:00
Mohamed Omar Zaian
418df29ff0
Add crictl 1.26.1 for Kubernetes v1.26 ( #10564 )
2023-10-30 04:28:44 +01:00
Mohamed Omar Zaian
1f47d5b74f
[kubernetes] Add hashes for kubernetes 1.28.3, 1.27.7, 1.26.10 ( #10541 )
2023-10-20 05:43:34 +02:00
Mohamed Omar Zaian
3e522a9f59
[calico] Make version 3.26.3 default ( #10526 )
2023-10-17 08:22:39 +02:00
Mohamed Omar Zaian
ae45de3584
[containerd] add hashes for version 1.7.7 ( #10525 )
2023-10-17 07:32:10 +02:00
Mohamed Omar Zaian
513b6dd6ad
[ingress-nginx] upgrade to 1.9.3 ( #10527 )
2023-10-17 05:42:13 +02:00
Mohamed Omar Zaian
4a8a47d438
[ingress-nginx] upgrade to 1.9.0 ( #10493 )
2023-10-11 23:49:16 +02:00
Mohamed Omar Zaian
4846f33136
[etcd] make etcd 3.5.9 default ( #10482 )
2023-09-29 00:26:42 -07:00
Majid Garoosi
6f520eacf7
Bump nerdctl version 1.5.0 ( #10475 )
2023-09-26 05:05:36 -07:00
qlijin
a0eb7c0d5c
[cri-o] update to v1.28.1 ( #10480 )
2023-09-26 04:36:57 -07:00
Boris Barnier
94322ef72e
[kube-router] set default version to 1.6.0 ( #10478 )
...
Signed-off-by: Boris Barnier <bozzo@users.noreply.github.com>
2023-09-25 02:32:57 -07:00
Mathieu Parent
09f3caedaa
[download] Don't fail on 304 Not Modified ( #10452 )
...
i.e when file was not modified since last download
2023-09-21 00:20:20 -07:00
Mohamed Omar Zaian
fe4b1f6dee
[ingress-nginx] upgrade to 1.8.2 ( #10455 )
2023-09-20 19:17:56 -07:00
Mohamed Omar Zaian
6b34e3ef08
[calico] Make version 3.26.1 default ( #10416 )
...
* [calico] Make version 3.26.1 default
* [calico] Separate calico-node and calico-cni-plugin service accounts
See: https://github.com/projectcalico/calico/pull/7106
2023-09-19 02:49:06 -07:00
Mohamed Omar Zaian
dbdc4d4123
[kubernetes] Add hashes for kubernetes 1.28.2, 1.27.6, 1.26.9 ( #10435 )
2023-09-18 05:40:32 -07:00
Mohamed Omar Zaian
c24c279df7
[containerd] add hashes for version 1.7.6, 1.6.24 ( #10439 )
2023-09-18 05:28:31 -07:00
Takuya Murakami
748b0b294d
[kubernetes] support 1.28.0 / 1.28.1 ( #10376 ) ( #10390 )
...
* [kubernetes] support 1.28.0/1.28.1 (#10376 )
* [kubernetes] Make 1.28.1 default (#10376 )
2023-09-11 19:42:12 -07:00
Kay Yan
5ffdb7355a
cleanup-for-2.23.0 ( #10420 )
2023-09-08 04:40:13 -07:00
Mohamed Omar Zaian
24b82917d1
[calico] add v3.25.2 and make it default ( #10414 )
2023-09-06 19:50:56 -07:00
Kay Yan
8497528240
update-load-balancers-versions ( #10409 )
2023-09-03 23:57:49 -07:00
Mohamed Omar Zaian
d646053c0e
[feat] Update metrics server to v0.6.4 ( #10400 )
2023-08-30 00:44:47 -07:00
Mohamed Omar Zaian
e84c1004df
[containerd] add hashes for 1.7.4-5 ( #10397 )
2023-08-28 19:29:20 -07:00
Mohamed Omar Zaian
52c1826423
[kubernetes] Make 1.27.5 default ( #10392 )
...
* Add hashes for 1.27.5 1.26.8, 1.25.13
* Address CVE-2023-3955 , CVE-2023-3676
* Make kubernetes v1.27.5 default
2023-08-24 18:51:17 -07:00