Set image tag and hub in build
Hi,
the Arch Linux istioctl version references the wrong image in the generated manifests:
Official version
% ./istioctl manifest generate | grep 'image:.*pilot'
image: docker.io/istio/pilot:1.24.3
Arch Linux Version
% istioctl manifest generate | grep 'image:.*pilot'
image: gcr.io/istio-testing/pilot:latest
Thus, it will install a different version into a cluster. While it is telling you, that it installs the version 1.24.2, the image version referenced in the manifests is: istio-testing/pilot:latest:
Arch Linux Version
% istioctl install --set profile=minimal
|\
| \
| \
| \
/|| \
/ || \
/ || \
/ || \
/ || \
/ || \
/______||__________\
____________________
\__ _____/
\_____/
This will install the Istio 1.24.2 profile "minimal" into the cluster. Proceed? (y/N) y
✔ Istio core installed ⛵️
✔ Istiod installed 🧠
✔ Installation complete
% istioctl version
client version: 1.24.2
control plane version: 1.26-alpha.16216260bec43f46bbb24980047ed0c1514faef0
data plane version: 1.26-alpha.16216260bec43f46bbb24980047ed0c1514faef0 (1 proxies)
Official version
% curl -L https://istio.io/downloadIstio | sh -
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 102 100 102 0 0 2087 0 --:--:-- --:--:-- --:--:-- 2125
100 5124 100 5124 0 0 21519 0 --:--:-- --:--:-- --:--:-- 21519
Downloading istio-1.24.3 from https://github.com/istio/istio/releases/download/1.24.3/istio-1.24.3-linux-amd64.tar.gz ...
Istio 1.24.3 download complete!
The Istio release archive has been downloaded to the istio-1.24.3 directory.
To configure the istioctl client tool for your workstation,
[...]
% cd istio-1.24.3/bin
% ./istioctl install --set profile=minimal
|\
| \
| \
| \
/|| \
/ || \
/ || \
/ || \
/ || \
/ || \
/______||__________\
____________________
\__ _____/
\_____/
This will install the Istio 1.24.3 profile "minimal" into the cluster. Proceed? (y/N) y
✔ Istio core installed ⛵️
✔ Istiod installed 🧠
✔ Installation complete
% ./istioctl version
client version: 1.24.3
control plane version: 1.24.3
data plane version: 1.24.3 (1 proxies), 1.26-alpha.16216260bec43f46bbb24980047ed0c1514faef0 (1 proxies)
% kubectl get pods -o yaml -n istio-system istiod-6c46dcf88d-87j77 | grep image
image: docker.io/istio/pilot:1.24.3
imagePullPolicy: IfNotPresent
image: docker.io/istio/pilot:1.24.3
imageID: docker.io/istio/pilot@sha256:7ccda8c22307ee796cb7ba3f4ce224ef533c3c683c063dcc92fd5a244d8a5c9d