From fdffb371057cac3eacd35ce7cb2341e50f81445f Mon Sep 17 00:00:00 2001 From: Kalya Subramanian Date: Mon, 14 Jun 2021 13:20:00 -0700 Subject: [PATCH] release: Update versions to 0.9.0 Signed-off-by: Kalya Subramanian --- charts/osm/Chart.yaml | 4 ++-- charts/osm/README.md | 2 +- charts/osm/crds/meshconfig.yaml | 2 +- charts/osm/values.yaml | 2 +- cmd/cli/mesh_upgrade.go | 2 +- cmd/init-osm-controller/init-osm-controller_test.go | 2 +- docs/example/manifests/apps/bookbuyer.yaml | 2 +- docs/example/manifests/apps/bookstore-v2.yaml | 2 +- docs/example/manifests/apps/bookstore.yaml | 2 +- docs/example/manifests/apps/bookthief.yaml | 2 +- docs/example/manifests/apps/bookwarehouse.yaml | 2 +- docs/example/manifests/meshconfig/mesh-config.yaml | 2 +- pkg/configurator/methods_test.go | 2 +- pkg/constants/constants.go | 2 +- 14 files changed, 15 insertions(+), 15 deletions(-) diff --git a/charts/osm/Chart.yaml b/charts/osm/Chart.yaml index 46bc85710a..ff0d0a8675 100644 --- a/charts/osm/Chart.yaml +++ b/charts/osm/Chart.yaml @@ -14,11 +14,11 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. -version: 0.9.0-rc.2 +version: 0.9.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. -appVersion: v0.9.0-rc.2 +appVersion: v0.9.0 # This specifies a particular range of k8s versions that the application is compatible with. kubeVersion: ">= 1.18.0" diff --git a/charts/osm/README.md b/charts/osm/README.md index 709de2c67c..304d96adf8 100644 --- a/charts/osm/README.md +++ b/charts/osm/README.md @@ -95,7 +95,7 @@ The following table lists the configurable parameters of the osm chart and their | OpenServiceMesh.grafana.port | int | `3000` | Grafana service's port | | OpenServiceMesh.image.pullPolicy | string | `"IfNotPresent"` | Container image pull policy | | OpenServiceMesh.image.registry | string | `"openservicemesh"` | Container image registry | -| OpenServiceMesh.image.tag | string | `"v0.9.0-rc.2"` | Container image tag | +| OpenServiceMesh.image.tag | string | `"v0.9.0"` | Container image tag | | OpenServiceMesh.imagePullSecrets | list | `[]` | `osm-controller` image pull secret | | OpenServiceMesh.injector.podLabels | object | `{}` | | | OpenServiceMesh.injector.replicaCount | int | `1` | Sidecar injector's replica count | diff --git a/charts/osm/crds/meshconfig.yaml b/charts/osm/crds/meshconfig.yaml index d4ce212ec5..c97c8bde10 100644 --- a/charts/osm/crds/meshconfig.yaml +++ b/charts/osm/crds/meshconfig.yaml @@ -71,7 +71,7 @@ spec: initContainerImage: description: Image for the init container type: string - default: "openservicemesh/init:v0.9.0-rc.2" + default: "openservicemesh/init:v0.9.0" resources: type: object properties: diff --git a/charts/osm/values.yaml b/charts/osm/values.yaml index 57205962eb..679d2c48e2 100644 --- a/charts/osm/values.yaml +++ b/charts/osm/values.yaml @@ -12,7 +12,7 @@ OpenServiceMesh: # -- Container image pull policy pullPolicy: IfNotPresent # -- Container image tag - tag: v0.9.0-rc.2 + tag: v0.9.0 # -- `osm-controller` image pull secret imagePullSecrets: [] diff --git a/cmd/cli/mesh_upgrade.go b/cmd/cli/mesh_upgrade.go index 8f14c56630..4411a6ad71 100644 --- a/cmd/cli/mesh_upgrade.go +++ b/cmd/cli/mesh_upgrade.go @@ -16,7 +16,7 @@ import ( const ( defaultContainerRegistry = "openservicemesh" - defaultOsmImageTag = "v0.9.0-rc.2" + defaultOsmImageTag = "v0.9.0" ) const upgradeDesc = ` diff --git a/cmd/init-osm-controller/init-osm-controller_test.go b/cmd/init-osm-controller/init-osm-controller_test.go index 7b6163aea8..ffd27df8ec 100644 --- a/cmd/init-osm-controller/init-osm-controller_test.go +++ b/cmd/init-osm-controller/init-osm-controller_test.go @@ -24,7 +24,7 @@ func TestCreateDefaultMeshConfig(t *testing.T) { Sidecar: v1alpha1.SidecarSpec{ LogLevel: "error", EnvoyImage: "envoyproxy/envoy-alpine:v1.18.3", - InitContainerImage: "openservicemesh/init:v0.9.0-rc.2", + InitContainerImage: "openservicemesh/init:v0.9.0", EnablePrivilegedInitContainer: false, MaxDataPlaneConnections: 0, ConfigResyncInterval: "2s", diff --git a/docs/example/manifests/apps/bookbuyer.yaml b/docs/example/manifests/apps/bookbuyer.yaml index 5831915b24..83570b8683 100644 --- a/docs/example/manifests/apps/bookbuyer.yaml +++ b/docs/example/manifests/apps/bookbuyer.yaml @@ -28,7 +28,7 @@ spec: serviceAccountName: bookbuyer containers: - name: bookbuyer - image: openservicemesh/bookbuyer:v0.9.0-rc.2 + image: openservicemesh/bookbuyer:v0.9.0 imagePullPolicy: Always command: ["/bookbuyer"] env: diff --git a/docs/example/manifests/apps/bookstore-v2.yaml b/docs/example/manifests/apps/bookstore-v2.yaml index a0cd3a276d..0054dff3f0 100644 --- a/docs/example/manifests/apps/bookstore-v2.yaml +++ b/docs/example/manifests/apps/bookstore-v2.yaml @@ -43,7 +43,7 @@ spec: serviceAccountName: bookstore-v2 containers: - name: bookstore - image: openservicemesh/bookstore:v0.9.0-rc.2 + image: openservicemesh/bookstore:v0.9.0 imagePullPolicy: Always ports: - containerPort: 14001 diff --git a/docs/example/manifests/apps/bookstore.yaml b/docs/example/manifests/apps/bookstore.yaml index df463bacb1..933f260203 100644 --- a/docs/example/manifests/apps/bookstore.yaml +++ b/docs/example/manifests/apps/bookstore.yaml @@ -43,7 +43,7 @@ spec: serviceAccountName: bookstore containers: - name: bookstore - image: openservicemesh/bookstore:v0.9.0-rc.2 + image: openservicemesh/bookstore:v0.9.0 imagePullPolicy: Always ports: - containerPort: 14001 diff --git a/docs/example/manifests/apps/bookthief.yaml b/docs/example/manifests/apps/bookthief.yaml index 2833de6d8e..97a5c47b83 100644 --- a/docs/example/manifests/apps/bookthief.yaml +++ b/docs/example/manifests/apps/bookthief.yaml @@ -27,7 +27,7 @@ spec: serviceAccountName: bookthief containers: - name: bookthief - image: openservicemesh/bookthief:v0.9.0-rc.2 + image: openservicemesh/bookthief:v0.9.0 imagePullPolicy: Always command: ["/bookthief"] env: diff --git a/docs/example/manifests/apps/bookwarehouse.yaml b/docs/example/manifests/apps/bookwarehouse.yaml index 26f9174e17..9578c45d71 100644 --- a/docs/example/manifests/apps/bookwarehouse.yaml +++ b/docs/example/manifests/apps/bookwarehouse.yaml @@ -44,6 +44,6 @@ spec: serviceAccountName: bookwarehouse containers: - name: bookwarehouse - image: openservicemesh/bookwarehouse:v0.9.0-rc.2 + image: openservicemesh/bookwarehouse:v0.9.0 imagePullPolicy: Always command: ["/bookwarehouse"] diff --git a/docs/example/manifests/meshconfig/mesh-config.yaml b/docs/example/manifests/meshconfig/mesh-config.yaml index 3f2274718c..ff09bb5f2b 100644 --- a/docs/example/manifests/meshconfig/mesh-config.yaml +++ b/docs/example/manifests/meshconfig/mesh-config.yaml @@ -8,7 +8,7 @@ spec: logLevel: error maxDataPlaneConnections: 0 envoyImage: "envoyproxy/envoy-alpine:v1.18.3" - initContainerImage: "openservicemesh/init:v0.9.0-rc.2" + initContainerImage: "openservicemesh/init:v0.9.0" configResyncInterval: "0s" traffic: enableEgress: false diff --git a/pkg/configurator/methods_test.go b/pkg/configurator/methods_test.go index ab07bce09e..da1c50574c 100644 --- a/pkg/configurator/methods_test.go +++ b/pkg/configurator/methods_test.go @@ -267,7 +267,7 @@ func TestCreateUpdateConfig(t *testing.T) { name: "GetInitContainerImage", initialMeshConfigData: &v1alpha1.MeshConfigSpec{}, checkCreate: func(assert *tassert.Assertions, cfg Configurator) { - assert.Equal("openservicemesh/init:v0.9.0-rc.2", cfg.GetInitContainerImage()) + assert.Equal("openservicemesh/init:v0.9.0", cfg.GetInitContainerImage()) }, updatedMeshConfigData: &v1alpha1.MeshConfigSpec{ Sidecar: v1alpha1.SidecarSpec{ diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 9d4d25665d..93f0e14c39 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -59,7 +59,7 @@ const ( DefaultEnvoyImage = "envoyproxy/envoy-alpine:v1.18.3" // DefaultInitContainerImage is the default init container image if not defined in the osm MeshConfig - DefaultInitContainerImage = "openservicemesh/init:v0.9.0-rc.2" + DefaultInitContainerImage = "openservicemesh/init:v0.9.0" // EnvoyPrometheusInboundListenerPort is Envoy's inbound listener port number for prometheus EnvoyPrometheusInboundListenerPort = 15010