Commit Graph
10 Commits
Author SHA1 Message Date
Jean-Philippe Evrard b7f127b7ba Update Kured to latest kubernetes modules
Now that a new kind version is released supporting 1.36,
we can use it for our CI testing.

This commit:
- Bumps the kind version and its images to support the 1.36
- Ensure all the API calls are done with client-go 0.36
  (and dependent k8s deps), to allow future 1.37 release.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2026-06-08 19:03:13 +02:00
Jean-Philippe Evrard 168fe81bb4 Update policy for kube version
We have historically decided to support AND TEST 3 versions
of kubernetes. For that, we lagged behind in terms of client versions.

Lagging behind one version allowed us, thanks to kubernetes client version skew,
to support 3 versions at relatively low cost.

However, maintaining 3 versions has always been a pain.
For that, we pinned old versions of kubernetes clients/api and test tooling.

In december 2025 community meeting, we decided to only maintain two
versions: the most current one, and the previous one.

This allows us to bump more regularly and be more secure.
We can also more easily use dependabot this way.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2026-03-19 06:07:15 +01:00
Jean-Philippe Evrard 9afdecf1ec Update Kured to support kubernetes 1.35
Now that a new kind version is released supporting 1.35,
we can use it for our CI testing.

This commit:
- Bumps the kind version and its images to support the 1.35
- Ensure all the API calls are done with client-go (and other k8s deps)
  supporting a maximum ranges of versions (0.34)
- Aligns Kured go version with k8s 0.34 go version.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2026-01-22 18:27:03 +01:00
Jean-Philippe Evrard 6ab853dd71 Update Kured to support kubernetes 1.34
Now that a new kind version is released supporting 1.34,
we can use it for our CI testing.

This commit:
- Bumps the kind version and its images to support the 1.34
- Ensure all the API calls are done with client-go (and other k8s deps)
  supporting a maximum ranges of versions (0.33)
- Aligns Kured go version with k8s 0.33 go version.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2025-08-30 13:54:16 +02:00
Jean-Philippe Evrard 8b2864f60a Update k8s for 1.32
Now that 1.33 kind is released, we can use it to bump to k8s
0.32, which should work for the 3 releases (1.31,1.32,1.33).

This work guarantees it with the help of our CI.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2025-08-11 12:59:55 +02:00
Daniel Holbach 69541a8c28 update k8s for 1.31
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2025-03-04 08:33:19 +01:00
dholbach 3ca4a06257 Patch updates (#1082)
* Update go version k8s deps and images

* update kind as well

Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2025-02-25 16:19:56 +01:00
Daniel Holbach dd5a303113 update test infra as well
Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2025-01-09 22:20:18 +01:00
Daniel Holbach 575fd245ae Update k8s deps and images
Fixes: #987

Signed-off-by: Daniel Holbach <daniel.holbach@gmail.com>
2024-10-17 22:14:55 +02:00
Jean-Philippe Evrard 608abc6e89 Increase CI coverage and provide new dev tool (#982)
* Move to stable kind cluster filenames

Without this, we have to rename files at every version.
This is really unnecessary, we should only change the files
and be done with it.

This is a problem, as if we move to programmatic test running,
the tests would need to be mutatated at every k8s version.

With this model, we know that only the kind-cluster files
need to be modified for the tests to ba automatically
adapted.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>

* Create e2e from go tests interface

Without this, e2e tests need tons of manual work to
test locally, and the results are not easily exposed.

People are less likely to use the e2e tests if they
are tough to use outside the CI.

This commit makes it easier to run tests locally,
and ensures the CI is closer to the Makefile.

At the same time, this removes debt in the github
worfklows: By switching to newer versions of kind,
we can remove the very old workaround for the
failed to attach pid 1.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>

* Add node stays as cordonned test

Without this, impossible to prove that the node stays as cordonned
after a reboot by kured.

This refactor also adds the test in the CI, and makes sure the
CI is a bit simpler, by using matrix more extensively.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>

* Use hack dir instead of .tmp

This is more idiomatic.

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>

---------

Signed-off-by: Jean-Philippe Evrard <open-source@a.spamming.party>
2024-10-15 13:16:45 -07:00