canonical / istio-operators

Charmed Istio
2 stars 17 forks source link

Istio-pilot busybox image is hardcoded #320

Open i-chvets opened 1 year ago

i-chvets commented 1 year ago

Description

Currently, compiled manifests in istioctl do not allow modificatrion of grpc-simple.initContainers.image. It is hardcoded to busybox:xx and there is no parameter exposed to be altered via --set argument.

Prelimnary work is done in https://github.com/canonical/istio-operators/tree/KF-3996-control-plane-configurable-images and was aiming to install rendered manifests with busybox replaced with configuration value. However, this requires enabling storage for the charm.

Alternative soltion: Ignore hardcoded busybox image and use --set to modify required paramters. Test out this in arigapped enviroment to verify if busybox is indeed required. This solution does not requires storage, because istioctl binary will iuse pre-compiled manifests whose parameters will be adjusted via --set.

i-chvets commented 1 year ago

There is no feasible way to set busybox image when deploying istio-pilot The following PR #321 will only enable configuratiobn of istio-pilot and istio-proxy images.