Skip to content

Commit 866d8d4

Browse files
get version from new CM
Co-authored-by: Stefan Prodan <[email protected]>
1 parent 9df50af commit 866d8d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/inject-sidecar.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: get istio controlplane version
1919
id: get-istio-version
2020
run: |
21-
ISTIO_VERSION=$(yq eval '. | select(.kind == "Deployment") | .spec.template.spec.containers[0].image | split(":") | .[1]' ./istio/operator/manifests.yaml)
21+
ISTIO_VERSION=$(yq eval '.data.version' ./clusters/my-cluster/istio-version.yaml)
2222
echo "ISTIO_VERSION=$ISTIO_VERSION" >> $GITHUB_ENV
2323
- name: get istioctl uri
2424
id: get-istioctl

0 commit comments

Comments
 (0)