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
helm: Use batch/v1
apiVersion for CronJob in K8s 1.21+
#16635
helm: Use batch/v1
apiVersion for CronJob in K8s 1.21+
#16635
Conversation
test-me-please |
7f20b3a
to
ccd45ce
Compare
Tests failed due the branch being too old (rebased CI tests are using flags that don't exist in my branch). Rebasing and restarting Jenkins tests. |
This comment has been minimized.
This comment has been minimized.
ccd45ce
to
be98056
Compare
test-me-please |
be98056
to
8a84c14
Compare
This pull request doesn't seem to be among the exceptions for the merge freeze, so removing |
This is because of Travis failing, right? Edit: Ah, I guess it's because of master having flakes. But I guess the Travis flake I hit should also be fixed before we merge this. |
This needs a rebase, but I'm holding off for #16900 to avoid further conflicts. Also removing the merge freeze label, as the occuring Travis flake got fixed and my understanding is that master is not frozen anymore. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
8a84c14
to
ef40997
Compare
ef40997
to
30024cd
Compare
test-me-please Job 'Cilium-PR-K8s-1.20-kernel-4.19' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment Job 'Cilium-PR-K8s-GKE' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
/mlh new-flake Cilium-PR-K8s-1.20-kernel-4.19 👍 created #17403 Edit the other ones look like flakes as well:
|
I believe the tests in question have since been disabled. Rebasing and re-running tests. |
30024cd
to
f6d999c
Compare
The CronJob object reached GA in Kubernetes 1.21, thus bumping its api version from `batch/v1beta1` to `batch/v1`. The old `batch/v1beta1` api version will be removed in Kubernetes 1.25. This fixes the following Helm warning on Kubernetes 1.21+: ``` W0623 11:06:59.097404 1094484 warnings.go:67] batch/v1beta1 CronJob is deprecated in v1.21+, unavailable in v1.25+; use batch/v1 CronJob ``` Signed-off-by: Sebastian Wicki <sebastian@isovalent.com>
f6d999c
to
5a9e4c0
Compare
/test
|
I'm marking this ready to merge. It has been open for 4 months now (blocked due to the zero-flake strategy) and is a rather trivial change in the Helm chart. It has been blocked by various CI flakes, many of which have been fixed or disabled, but new ones pop up each new run. Since all recently failed test suites in the last test run do not contain any Helm-related tests, I am fairly confident that those are also unrelated flakes and that this PR does not introduce any regressions to CI. |
The CronJob object reached GA in Kubernetes 1.2, thus bumping its api
version from
batch/v1beta1
tobatch/v1
. The oldbatch/v1beta1
apiversion will be removed in Kubernetes 1.25.
This fixes the following Helm warning on Kubernetes 1.21+:
The first commit is a drive-by fixup for 4cc699d (see commit description).