Change CredentialProviderConfig API version to v1beta1 #2906
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue number:
Closes #2905
Description of changes:
API version was set to
v1
for Kubernetes 1.25, but that version is not available until Kubernetes 1.26. This fixes the version specifier to v1beta1 to match the correct version for this release.Testing done:
Visual verification, and confirmed API version for 1.25 with https://kubernetes.io/docs/reference/config-api/kubelet-credentialprovider.v1beta1/
Deployed node with changes. Configured credential provider with:
Verified settings:
Rebooted with
apiclient reboot
and waited for node to come back up.Verified kubelet was happy:
# systemctl status kubelet ● kubelet.service - Kubelet Loaded: loaded (/x86_64-bottlerocket-linux-gnu/sys-root/usr/lib/systemd/system/kubelet.service; enabled; vendor preset: enabled) Drop-In: /x86_64-bottlerocket-linux-gnu/sys-root/usr/lib/systemd/system/kubelet.service.d └─dockershim-symlink.conf /etc/systemd/system/kubelet.service.d └─exec-start.conf /x86_64-bottlerocket-linux-gnu/sys-root/usr/lib/systemd/system/kubelet.service.d └─load-ipvs-modules.conf, make-kubelet-dirs.conf, prestart-pull-pause-ctr.conf Active: active (running) since Fri 2023-03-17 21:48:28 UTC; 1min 0s ago
Deployed pod referencing test image in ECR private repo. Verified able to pull image:
Terms of contribution:
By submitting this pull request, I agree that this contribution is dual-licensed under the terms of both the Apache License, version 2.0, and the MIT license.