Skip to content

Commit 5f297ca

Browse files
committed
Update Istio version to 1.25.0
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 1ff7780 commit 5f297ca

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

cmd/apps/istio_app.go

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323
const (
2424
// A default Istio version, get the latest from:
2525
// https://github.com/istio/istio/releases/latest
26-
istioVer = "1.16.1"
26+
istioVer = "1.25.0"
2727
)
2828

2929
func MakeInstallIstio() *cobra.Command {
@@ -150,17 +150,14 @@ func MakeInstallIstio() *cobra.Command {
150150
}
151151

152152
w := bufio.NewWriter(file)
153-
_, err = w.WriteString(res.Stdout)
154-
if err != nil {
153+
if _, err := w.WriteString(res.Stdout); err != nil {
155154
return err
156155
}
157156
w.Flush()
158157

159158
defer os.Remove(file.Name())
160159

161-
verifyFlags := mergeFlagsSlices([]string{"verify-install"}, defaultFlags)
162-
_, err = istioCli(verifyFlags...)
163-
if err != nil {
160+
if _, err := istioCli(defaultFlags...); err != nil {
164161
return err
165162
}
166163

@@ -172,7 +169,9 @@ func MakeInstallIstio() *cobra.Command {
172169
}
173170

174171
const IstioInfoMsg = `# Find out more at:
175-
# https://github.com/istio/`
172+
# https://github.com/istio/
173+
# https://istio.io/latest/docs/
174+
`
176175

177176
const istioPostInstallMsg = `=======================================================================
178177
= Istio has been installed. =

0 commit comments

Comments
 (0)