From d4f59253f8de618e1a6a39378e2cd2b57e30b60f Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Tue, 14 Jul 2020 18:01:13 +0100 Subject: [PATCH] Istio-operator to 1.6 --- charts/kubezero-istio/Chart.yaml | 6 +++--- charts/kubezero-istio/README.md | 4 ++-- charts/kubezero-istio/charts/istio-operator/Chart.yaml | 2 +- .../templates/{crd.yaml => crd-operator.yaml} | 1 + charts/kubezero-istio/charts/istio-operator/values.yaml | 2 +- charts/kubezero-istio/update.sh | 9 ++++++--- 6 files changed, 14 insertions(+), 10 deletions(-) rename charts/kubezero-istio/charts/istio-operator/templates/{crd.yaml => crd-operator.yaml} (98%) diff --git a/charts/kubezero-istio/Chart.yaml b/charts/kubezero-istio/Chart.yaml index 50266b1..40ec5d2 100644 --- a/charts/kubezero-istio/Chart.yaml +++ b/charts/kubezero-istio/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: kubezero-istio description: KubeZero Umbrella Chart for Istio type: application -version: 0.0.1 -appVersion: 1.5 +version: 0.1.0 +appVersion: 1.6 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: @@ -16,5 +16,5 @@ dependencies: version: ">= 0.1.1" repository: https://zero-down-time.github.io/kubezero/ - name: istio-operator - version: "= 1.5" + version: "= 1.6" kubeVersion: ">= 1.16.0" diff --git a/charts/kubezero-istio/README.md b/charts/kubezero-istio/README.md index 756d1a0..4d4ac8c 100644 --- a/charts/kubezero-istio/README.md +++ b/charts/kubezero-istio/README.md @@ -5,7 +5,7 @@ KubeZero Umbrella Chart for Istio Installs Istio Operator and KubeZero Istio profile -Current chart version is `0.0.1` +Current chart version is `0.1.0` Source code can be found [here](https://kubezero.com) @@ -13,7 +13,7 @@ Source code can be found [here](https://kubezero.com) | Repository | Name | Version | |------------|------|---------| -| | istio-operator | = 1.5 | +| | istio-operator | = 1.6 | | https://zero-down-time.github.io/kubezero/ | kubezero-lib | >= 0.1.1 | ## KubeZero default configuration diff --git a/charts/kubezero-istio/charts/istio-operator/Chart.yaml b/charts/kubezero-istio/charts/istio-operator/Chart.yaml index 2887a97..4f4977f 100644 --- a/charts/kubezero-istio/charts/istio-operator/Chart.yaml +++ b/charts/kubezero-istio/charts/istio-operator/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: istio-operator -version: 1.5 +version: 1.6.0 tillerVersion: ">=2.7.2" description: Helm chart for deploying Istio operator keywords: diff --git a/charts/kubezero-istio/charts/istio-operator/templates/crd.yaml b/charts/kubezero-istio/charts/istio-operator/templates/crd-operator.yaml similarity index 98% rename from charts/kubezero-istio/charts/istio-operator/templates/crd.yaml rename to charts/kubezero-istio/charts/istio-operator/templates/crd-operator.yaml index 09dd3b0..6b85c37 100644 --- a/charts/kubezero-istio/charts/istio-operator/templates/crd.yaml +++ b/charts/kubezero-istio/charts/istio-operator/templates/crd-operator.yaml @@ -1,3 +1,4 @@ +# SYNC WITH manifests/charts/base/files apiVersion: apiextensions.k8s.io/v1beta1 kind: CustomResourceDefinition metadata: diff --git a/charts/kubezero-istio/charts/istio-operator/values.yaml b/charts/kubezero-istio/charts/istio-operator/values.yaml index ffe8f39..6a653f5 100644 --- a/charts/kubezero-istio/charts/istio-operator/values.yaml +++ b/charts/kubezero-istio/charts/istio-operator/values.yaml @@ -1,4 +1,4 @@ hub: gcr.io/istio-testing -tag: 1.5-dev +tag: 1.6-dev operatorNamespace: istio-operator istioNamespace: istio-system diff --git a/charts/kubezero-istio/update.sh b/charts/kubezero-istio/update.sh index 9471632..f452b8b 100755 --- a/charts/kubezero-istio/update.sh +++ b/charts/kubezero-istio/update.sh @@ -1,15 +1,18 @@ #!/bin/bash set -ex -ISTIO_VERSION=1.5.8 +ISTIO_VERSION=1.6.5 NAME="istio-$ISTIO_VERSION" -URL="https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istio-${ISTIO_VERSION}-linux.tar.gz" +URL="https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istio-${ISTIO_VERSION}-linux-amd64.tar.gz" curl -sL "$URL" | tar xz # Now lets extract what we need rm -rf charts/istio-operator -cp -r istio-${ISTIO_VERSION}/install/kubernetes/operator/charts/istio-operator charts +cp -r istio-${ISTIO_VERSION}/manifests/charts/istio-operator charts rm -rf istio-${ISTIO_VERSION} + +# Apply our patch +patch -i istio-operator.patch -p3