From 6e7c36f8beafcacef51c92970ae8d30fa91d235d Mon Sep 17 00:00:00 2001 From: Edward Viaene Date: Tue, 20 Aug 2019 16:12:07 +0200 Subject: [PATCH] update helm install --- helm/jenkins/README.md | 2 +- istio/README.md | 24 ++++++++++++------------ istio/helloworld-tls.yaml | 12 ++++++------ 3 files changed, 19 insertions(+), 19 deletions(-) diff --git a/helm/jenkins/README.md b/helm/jenkins/README.md index 36b0645..4ea14d0 100644 --- a/helm/jenkins/README.md +++ b/helm/jenkins/README.md @@ -1,5 +1,5 @@ # install jenkins ``` kubectl create -f serviceaccount.yaml -helm install --name jenkins --set rbac.install=true,Master.RunAsUser=1000,Master.FsGroup=1000 stable/jenkins +helm install --name jenkins --set rbac.create=true,master.runAsUser=1000,master.fsGroup=1000 stable/jenkins ``` diff --git a/istio/README.md b/istio/README.md index 8f6caf2..31a9387 100644 --- a/istio/README.md +++ b/istio/README.md @@ -21,21 +21,21 @@ Add: - Priority ``` -## download (1.0.2): +## download (1.0.3): ``` cd ~ -wget https://github.com/istio/istio/releases/download/1.0.2/istio-1.0.2-linux.tar.gz -tar -xzvf istio-1.0.2-linux.tar.gz -cd istio-1.0.2 -echo 'export PATH="$PATH:/home/ubuntu/istio-1.0.2/bin"' >> ~/.profile +wget https://github.com/istio/istio/releases/download/1.0.3/istio-1.0.3-linux.tar.gz +tar -xzvf istio-1.0.3-linux.tar.gz +cd istio-1.0.3 +echo 'export PATH="$PATH:/home/ubuntu/istio-1.0.3/bin"' >> ~/.profile ``` ## Download (latest): ``` cd ~ curl -L https://git.io/getLatestIstio | sh - -echo 'export PATH="$PATH:/home/ubuntu/istio-1.0.2/bin"' >> ~/.profile # change 1.0.2 in your version -cd istio-1.0.2 # change 1.0.2 in your version +echo 'export PATH="$PATH:/home/ubuntu/istio-1.0.3/bin"' >> ~/.profile # change 1.0.3 in your version +cd istio-1.0.3 # change 1.0.3 in your version ``` ## Istio install @@ -43,7 +43,7 @@ cd istio-1.0.2 # change 1.0.2 in your version Apply CRDs: ``` -kubectl apply -f ~/istio-1.0.2/install/kubernetes/helm/istio/templates/crds.yaml +kubectl apply -f ~/istio-1.0.3/install/kubernetes/helm/istio/templates/crds.yaml ``` Wait a few seconds. @@ -51,25 +51,25 @@ Wait a few seconds. Option 1: with no mutual TLS authentication ``` -kubectl apply -f ~/istio-1.0.2/install/kubernetes/istio-demo.yaml +kubectl apply -f ~/istio-1.0.3/install/kubernetes/istio-demo.yaml ``` Option 2: or with mutual TLS authentication ``` -kubectl apply -f ~/istio-1.0.2/install/kubernetes/istio-demo-auth.yaml +kubectl apply -f ~/istio-1.0.3/install/kubernetes/istio-demo-auth.yaml ``` ## Example app ### Example app (from istio) ``` -export PATH="$PATH:/home/ubuntu/istio-1.0.2/bin" +export PATH="$PATH:/home/ubuntu/istio-1.0.3/bin" kubectl apply -f <(istioctl kube-inject -f samples/bookinfo/platform/kube/bookinfo.yaml) ``` ### Hello world app ``` -export PATH="$PATH:/home/ubuntu/istio-1.0.2/bin" +export PATH="$PATH:/home/ubuntu/istio-1.0.3/bin" kubectl apply -f <(istioctl kube-inject -f helloworld.yaml) kubectl apply -f helloworld-gw.yaml ``` diff --git a/istio/helloworld-tls.yaml b/istio/helloworld-tls.yaml index 6593dea..c115774 100644 --- a/istio/helloworld-tls.yaml +++ b/istio/helloworld-tls.yaml @@ -188,9 +188,9 @@ metadata: spec: host: hello.ns1.svc.cluster.local # uncomment to enable mutual TLS - #trafficPolicy: - # tls: - # mode: ISTIO_MUTUAL + trafficPolicy: + tls: + mode: ISTIO_MUTUAL subsets: - name: v1-tls labels: @@ -203,9 +203,9 @@ metadata: spec: host: hello-reverse.legacy.svc.cluster.local # uncomment to enable mutual TLS - #trafficPolicy: - # tls: - # mode: ISTIO_MUTUAL + trafficPolicy: + tls: + mode: ISTIO_MUTUAL subsets: - name: v1-tls labels: