Skip to content

Commit c37ceff

Browse files
committed
deps: Migrate to rancher/kuberlr-kubectl
Instead of using a hardcoded kubectl version as we did with kubewarden/kubectl image, migrate to `kuberlr-kubectl`. kuberlr-kubectl image bundles several kubectl binaries that correspond with the Kubernetes versions supported by Rancher. This simplifies airgap installations. In addition, kuberlr-kubectl will download a matching kubectl binary if the Kubernetes API server is out of the Kubernetes version skew policy of the kubectl binaries it bundles. This ensures we always have a correct kubectl binary. Signed-off-by: Víctor Cuadrado Juan <[email protected]>
1 parent e3fb804 commit c37ceff

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

charts/kubewarden-controller/values.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ image:
204204
preDeleteJob:
205205
image:
206206
# The registry is defined in the global.cattle.systemDefaultRegistry value
207-
# kubectl image to be used in the pre-delete helm hook
208-
repository: "kubewarden/kubectl"
209-
tag: v1.31.0
207+
# kuberlr-kubectl image to be used in the pre-delete helm hook.
208+
repository: "rancher/kuberlr-kubectl"
209+
tag: v3.0.0
210210
# kubewarden-controller deployment settings:
211211
podAnnotations: {}
212212
nodeSelector: {}

0 commit comments

Comments
 (0)