To automate istio installation (via Helm Charts), I’m just scripting this with shell. I’m wondering whats the best way to get this in ?
This is what I’ve
#!/bin/sh
# Variables
istio_binary_base_path=.
istio_version=1.3.0
# Housekeeping for istio download
rm -rf $istio_binary_base_path/istio
mkdir $istio_binary_base_path/istio
cd $istio_binary_base_path/istio
# Download istio binaries
curl -L https://git.io/getLatestIstio | ISTIO_VERSION=$istio_version sh -
# Istio install
helm install istio-$istio_version/install/kubernetes/helm/istio-init --name istio-init --namespace istio-system
sleep 1m
helm install istio-$istio_version/install/kubernetes/helm/istio --name istio --namespace istio-system
# Housekeeping after install
rm -rf $istio_binary_base_path/istio
P.S: The 1 min delay was added without which the installation encounters error -
Error: validation failed: [unable to recognize "": no matches for kind "DestinationRule" in version "networking.istio.io/v1alpha3", unable to recognize "": no matches for kind "attributemanifest" in version "config.istio.io/v1alpha2", unable to recognize "": no matches for kind "handler" in version "config.istio.io/v1alpha2", unable to recognize "": no matches for kind "instance" in version "config.istio.io/v1alpha2", unable to recognize "": no matches for kind "rule" in version "config.istio.io/v1alpha2"]
More information
Istio version: 1.3.0
Cloud Vendor : Oracle Cloud Infrastructure
Appreciate any help on this !