Skip to content

Commit cb2f0d3

Browse files
Update versions in sample yamls (openshift-service-mesh#552)
Currently, update-version-list.sh is only updating few of the sample yamls. This PR modifies it to update the missing files along with the ambient sample yamls. Signed-off-by: Sridhar Gaddam <[email protected]>
1 parent 8d48dc0 commit cb2f0d3

File tree

6 files changed

+8
-6
lines changed

6 files changed

+8
-6
lines changed

chart/samples/ambient/istio-sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Istio
33
metadata:
44
name: default
55
spec:
6-
version: v1.24.0
6+
version: v1.24.2
77
namespace: istio-system
88
profile: ambient
99
updateStrategy:

chart/samples/ambient/istiocni-sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ kind: IstioCNI
33
metadata:
44
name: default
55
spec:
6-
version: v1.24.0
6+
version: v1.24.2
77
profile: ambient
88
namespace: istio-cni

chart/samples/ambient/istioztunnel-sample.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ kind: ZTunnel
33
metadata:
44
name: default
55
spec:
6-
version: v1.24.0
6+
version: v1.24.2
77
namespace: ztunnel
88
profile: ambient

chart/samples/istio-sample-gw-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Istio
33
metadata:
44
name: gateway-controller
55
spec:
6-
version: v1.23.0
6+
version: v1.24.2
77
namespace: gateway-controller
88
updateStrategy:
99
type: InPlace

chart/samples/istio-sample-revisionbased.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ kind: Istio
33
metadata:
44
name: default
55
spec:
6-
version: v1.23.2
6+
version: v1.24.2
77
namespace: istio-system
88
updateStrategy:
99
type: RevisionBased

hack/update-version-list.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ function updateVersionInSamples() {
8888

8989
sed -i -E \
9090
-e "s/version: .*/version: $defaultVersion/g" \
91-
chart/samples/istio-sample.yaml chart/samples/istiocni-sample.yaml
91+
chart/samples/istio-sample.yaml chart/samples/istiocni-sample.yaml chart/samples/istio-sample-gw-api.yaml \
92+
chart/samples/istio-sample-revisionbased.yaml chart/samples/ambient/istiocni-sample.yaml \
93+
chart/samples/ambient/istio-sample.yaml chart/samples/ambient/istioztunnel-sample.yaml
9294
}
9395

9496
updateVersionsInIstioTypeComment

0 commit comments

Comments
 (0)