kubecfg / kubit

install kubecfg packages in-cluster
Apache License 2.0
6 stars 3 forks source link

Allow `kubectl` images to be configurable #506

Closed jdockerty closed 1 month ago

jdockerty commented 2 months ago

The official kubectl image within the apply step and the bitnami/kubectl image from the render steps are hard-coded.

We should make these configurable so that air-gapped environments can specify their own registries for these images, defaulting to what we currently have.

A caveat with the current functionality is that the apply and delete images must not be lower than 1.27.0, as this is when the KUBECTL_APPLYSET was introduced as alpha. We rely on this functionality, so it must be available.