Skip to content

Commit d36500a

Browse files
authored
Istio 1.23.2 (#88)
* add istio 1.23.2 * change fetch_istio_releases to handle arm64
1 parent 0de9e09 commit d36500a

File tree

3 files changed

+8
-10
lines changed

3 files changed

+8
-10
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ FROM final
1818
# Copy binaries and configuration files from builder to micro
1919
COPY --from=builder /chroot/ /
2020

21-
ENV ISTIO_VERSION 1.22.1
21+
ENV ISTIO_VERSION 1.23.2
2222
# Get Istio
2323
RUN curl -L https://istio.io/downloadIstio | ISTIO_VERSION=${ISTIO_VERSION} sh -
2424
RUN mv istio-${ISTIO_VERSION}/bin/istioctl /usr/bin && chmod +x /usr/bin/istioctl

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ The current implementation of the `istioctl upgrade` command makes a call to ext
1414
#### How to upgrade the istio version
1515

1616
1. In the Dockerfile, change the environmnet variable `ENV ISTIO_VERSION` to the version of istio that you would like the installer to support.
17-
2. Add the same version of istio that you used for `ENV ISTIO_VERSION`to the `istio_version_array` in the fetch_istio_releases.sh script ordering from least to greatest. When doing this step, you also want to double check that the version that was previously used for `ENV ISTIO_VERSION` also exists in the `istio_version_array`. This step ensures upgrades work in airgapped environments.
18-
19-
In general, the `istio_version_array` must include all istio versions from the release branches of [rancher/charts ](https://github.com/rancher/charts "rancher/charts ")
20-
> Note: The `istio_version_array` does not include rancher-istio chart version, just the version of istio that is supported by the rancher-istio chart.
21-
22-
3. Finally, you need to validate that the create_istio_system.sh and the uninstall_istio_system.sh script commands are still valid. This can be done by checking that the [istioctl commands](https://istio.io/latest/docs/reference/commands/istioctl/ "istioctl commands") have not changed. You should also check the [release notes](https://istio.io/latest/news/ "release notes") for any significant changes to how istioctl is used. If there were changes to the commands, update the create_istio_system.sh and the uninstall_istio_system.sh scripts accordingly.
17+
2. Finally, you need to validate that the create_istio_system.sh and the uninstall_istio_system.sh script commands are still valid. This can be done by checking that the [istioctl commands](https://istio.io/latest/docs/reference/commands/istioctl/ "istioctl commands") have not changed. You should also check the [release notes](https://istio.io/latest/news/ "release notes") for any significant changes to how istioctl is used. If there were changes to the commands, update the create_istio_system.sh and the uninstall_istio_system.sh scripts accordingly.
2318

2419
## Build
2520
The istio-installer image is built using drone when a new tag is created and pushed to repository. See drone.yaml for drone configurations.
@@ -141,4 +136,4 @@ installer:
141136
```
142137
12. Click Update
143138
13. Navigate to Workload >> Pods >> find the istio-installer pod and view logs to see if there are any issues.
144-
14. If there are issues, then Update usually fails.
139+
14. If there are issues, then Update usually fails.

scripts/fetch_istio_releases.sh

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,11 @@ fi
1313
if [ -d "${RELEASE_DIR}" ] ; then
1414
cd ${RELEASE_DIR}
1515

16-
17-
curl -sOL https://github.com/istio/istio/releases/download/$ISTIO_VERSION/istio-$ISTIO_VERSION-linux-amd64.tar.gz
16+
if [$TARGETPLATFORM = "linux/amd64"]; then
17+
curl -sOL https://github.com/istio/istio/releases/download/$ISTIO_VERSION/istio-$ISTIO_VERSION-linux-amd64.tar.gz
18+
else
19+
curl -sOL https://github.com/istio/istio/releases/download/$ISTIO_VERSION/istio-$ISTIO_VERSION-linux-arm64.tar.gz
20+
fi
1821

1922
for f in *.tar.gz; do
2023
if [ -f "$f" ]; then

0 commit comments

Comments
 (0)