withKubectlImage
Method
interface K3sClusterResource { // ... omitted for brevity withKubectlImage( tag?: string, image?: string, registry?: string): K3sClusterResource;}Signature
method
withKubectlImage builderOverrides the container image used to run `kubectl apply` for all `K8sManifestResource` children of this cluster.
withKubectlImage( tag?: string, image?: string, registry?: string): K3sClusterResourceParameters
tagstringoptionalImage tag, e.g. `1.37.0`. `null` keeps the current value.imagestringoptionalImage name, e.g. `alpine/kubectl`. `null` keeps the current value.registrystringoptionalRegistry, e.g. `docker.io`. `null` keeps the current value.Returns
K3sClusterResource Applies to
This method applies to the following types: