From 01816cff1add69d3d93866d6a08e24d9289a39d1 Mon Sep 17 00:00:00 2001 From: Tom Manville Date: Thu, 18 Jun 2020 00:14:35 -0700 Subject: [PATCH] Run bump version script to 0.30.0 (#703) --- examples/aws-rds/postgresql/README.md | 2 +- .../rds-postgres-dump-blueprint.yaml | 2 +- .../kanister-elasticsearch/Chart.yaml | 2 +- .../kanister/kanister-elasticsearch/README.md | 2 +- .../kanister-elasticsearch/image/Dockerfile | 4 ++-- .../kanister/elasticsearch-blueprint.yaml | 6 ++--- .../kanister-elasticsearch/requirements.lock | 2 +- .../kanister-elasticsearch/requirements.yaml | 2 +- .../kanister-mongodb-replicaset/Chart.yaml | 2 +- .../kanister-mongodb-replicaset/README.md | 2 +- .../kanister/mongodb-blueprint.yaml | 2 +- .../requirements.yaml | 2 +- .../templates/mongodb-statefulset.yaml | 2 +- .../helm/kanister/kanister-mysql/Chart.yaml | 2 +- .../kanister/mysql-blueprint.yaml | 2 +- .../kanister/kanister-mysql/requirements.yaml | 2 +- .../kanister-mysql/templates/deployment.yaml | 2 +- .../kanister/kanister-postgresql/Chart.yaml | 2 +- .../kanister-postgresql/requirements.yaml | 2 +- examples/stable/cassandra/README.md | 4 ++-- .../stable/cassandra/cassandra-blueprint.yaml | 2 +- examples/stable/elasticsearch/README.md | 2 +- .../elasticsearch-blueprint.yaml | 6 ++--- examples/stable/foundationdb/README.md | 2 +- .../stable/mongodb-deploymentconfig/README.md | 2 +- .../mongo-dep-config-blueprint.yaml | 6 ++--- examples/stable/mongodb-restic/README.md | 4 ++-- .../mongodb-restic/mongodb-blueprint.yaml | 2 +- examples/stable/mongodb/README.md | 2 +- examples/stable/mongodb/mongo-blueprint.yaml | 6 ++--- .../stable/mysql-deploymentconfig/README.md | 2 +- .../mysql-dep-config-blueprint.yaml | 6 ++--- examples/stable/mysql/README.md | 2 +- examples/stable/mysql/mysql-blueprint.yaml | 6 ++--- .../postgresql-deploymentconfig/README.md | 2 +- .../postgres-dep-config-blueprint.yaml | 6 ++--- examples/stable/postgresql-wale/README.md | 6 ++--- .../postgresql-wale/postgresql-blueprint.yaml | 4 ++-- examples/stable/postgresql/README.md | 4 ++-- .../stable/postgresql/postgres-blueprint.yaml | 6 ++--- examples/time-log/blueprint.yaml | 2 +- examples/time-log/time-logger-deployment.yaml | 2 +- helm/kanister-operator/Chart.yaml | 2 +- helm/kanister-operator/values.yaml | 2 +- helm/profile/Chart.yaml | 2 +- pkg/app/cassandra.go | 2 +- pkg/app/mongodb.go | 2 +- pkg/app/postgresql.go | 2 +- .../blueprints/rds-postgres-blueprint.yaml | 6 ++--- pkg/function/data_test.go | 6 ++--- pkg/function/export_rds_snapshot_location.go | 2 +- pkg/function/kube_exec_test.go | 10 ++++----- pkg/function/kube_task_test.go | 4 ++-- pkg/function/utils.go | 2 +- pkg/kube/pod_test.go | 22 +++++++++---------- pkg/param/param_test.go | 2 +- pkg/testing/e2e_test.go | 2 +- pkg/testutil/testutil.go | 2 +- scripts/get.sh | 2 +- 59 files changed, 101 insertions(+), 101 deletions(-) diff --git a/examples/aws-rds/postgresql/README.md b/examples/aws-rds/postgresql/README.md index 4ded2349de..c50609dac5 100755 --- a/examples/aws-rds/postgresql/README.md +++ b/examples/aws-rds/postgresql/README.md @@ -9,7 +9,7 @@ This example is to demonstrate how Kanister can be integrated with AWS RDS insta ## Prerequisites - Kubernetes 1.10+ -- Kanister controller version 0.29.0 installed in your cluster +- Kanister controller version 0.30.0 installed in your cluster - Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Create RDS instance on AWS diff --git a/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml b/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml index d55e7e6ce8..eb277681d0 100644 --- a/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml +++ b/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml @@ -64,7 +64,7 @@ actions: name: deleteBackup args: namespace: "{{ .Object.metadata.namespace }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 command: - bash - -o diff --git a/examples/helm/kanister/kanister-elasticsearch/Chart.yaml b/examples/helm/kanister/kanister-elasticsearch/Chart.yaml index 20a6d86995..7aff2da49d 100755 --- a/examples/helm/kanister/kanister-elasticsearch/Chart.yaml +++ b/examples/helm/kanister/kanister-elasticsearch/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 name: kanister-elasticsearch home: https://www.elastic.co/products/elasticsearch -version: 0.29.0 +version: 0.30.0 appVersion: 6.3.1 description: Elasticsearch w/ Kanister support based on incubator/elasticsearch icon: https://static-www.elastic.co/assets/blteb1c97719574938d/logo-elastic-elasticsearch-lt.svg diff --git a/examples/helm/kanister/kanister-elasticsearch/README.md b/examples/helm/kanister/kanister-elasticsearch/README.md index 5d01a7cbe0..58e3b4bfcc 100755 --- a/examples/helm/kanister/kanister-elasticsearch/README.md +++ b/examples/helm/kanister/kanister-elasticsearch/README.md @@ -13,7 +13,7 @@ If you want to avoid doing that upgrade to Elasticsearch 5.6 first before moving * Kubernetes 1.9+ with Beta APIs enabled. * PV support on the underlying infrastructure. -* Kanister version 0.29.0 with `profiles.cr.kanister.io` CRD installed +* Kanister version 0.30.0 with `profiles.cr.kanister.io` CRD installed ## StatefulSets Details * https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ diff --git a/examples/helm/kanister/kanister-elasticsearch/image/Dockerfile b/examples/helm/kanister/kanister-elasticsearch/image/Dockerfile index b98fa59299..ffe048a812 100644 --- a/examples/helm/kanister/kanister-elasticsearch/image/Dockerfile +++ b/examples/helm/kanister/kanister-elasticsearch/image/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.11.3 -COPY --from=kanisterio/kanister-tools:0.29.0 /usr/local/bin/restic /usr/local/bin/restic -COPY --from=kanisterio/kanister-tools:0.29.0 /usr/local/bin/kopia /usr/local/bin/kopia +COPY --from=kanisterio/kanister-tools:0.30.0 /usr/local/bin/restic /usr/local/bin/restic +COPY --from=kanisterio/kanister-tools:0.30.0 /usr/local/bin/kopia /usr/local/bin/kopia ADD kando /usr/local/bin/ ADD examples/helm/kanister/kanister-elasticsearch/image/esdump-setup.sh /esdump-setup.sh diff --git a/examples/helm/kanister/kanister-elasticsearch/kanister/elasticsearch-blueprint.yaml b/examples/helm/kanister/kanister-elasticsearch/kanister/elasticsearch-blueprint.yaml index b209787749..87866b442d 100644 --- a/examples/helm/kanister/kanister-elasticsearch/kanister/elasticsearch-blueprint.yaml +++ b/examples/helm/kanister/kanister-elasticsearch/kanister/elasticsearch-blueprint.yaml @@ -10,7 +10,7 @@ actions: name: backupToObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: "kanisterio/es-sidecar:0.29.0" + image: "kanisterio/es-sidecar:0.30.0" command: - bash - -o @@ -35,7 +35,7 @@ actions: name: restoreFromObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: "kanisterio/es-sidecar:0.29.0" + image: "kanisterio/es-sidecar:0.30.0" command: - bash - -o @@ -55,7 +55,7 @@ actions: name: deleteFromObjectStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 command: - bash - -o diff --git a/examples/helm/kanister/kanister-elasticsearch/requirements.lock b/examples/helm/kanister/kanister-elasticsearch/requirements.lock index a91d064463..52086afe56 100644 --- a/examples/helm/kanister/kanister-elasticsearch/requirements.lock +++ b/examples/helm/kanister/kanister-elasticsearch/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: profile repository: https://charts.kanister.io - version: 0.29.0 + version: 0.30.0 digest: sha256:2baa62cdb59e2cd3710041f955e3a56b207219afc9d32f3794452c302ddbfdac generated: 2019-09-09T14:44:45.462908118+05:30 diff --git a/examples/helm/kanister/kanister-elasticsearch/requirements.yaml b/examples/helm/kanister/kanister-elasticsearch/requirements.yaml index 47aa001998..83571ec0bc 100644 --- a/examples/helm/kanister/kanister-elasticsearch/requirements.yaml +++ b/examples/helm/kanister/kanister-elasticsearch/requirements.yaml @@ -1,5 +1,5 @@ dependencies: - name: profile - version: "0.29.0" + version: "0.30.0" condition: profile.create repository: "https://charts.kanister.io" diff --git a/examples/helm/kanister/kanister-mongodb-replicaset/Chart.yaml b/examples/helm/kanister/kanister-mongodb-replicaset/Chart.yaml index 3034ef4931..fcb16cd568 100644 --- a/examples/helm/kanister/kanister-mongodb-replicaset/Chart.yaml +++ b/examples/helm/kanister/kanister-mongodb-replicaset/Chart.yaml @@ -1,6 +1,6 @@ name: kanister-mongodb-replicaset home: https://github.com/mongodb/mongo -version: 0.29.0 +version: 0.30.0 appVersion: 3.6 description: Kanister-enabled NoSQL document-oriented database that stores JSON-like documents with dynamic schemas, simplifying the integration of data in content-driven applications. diff --git a/examples/helm/kanister/kanister-mongodb-replicaset/README.md b/examples/helm/kanister/kanister-mongodb-replicaset/README.md index 539cc0396f..21d32fa60e 100644 --- a/examples/helm/kanister/kanister-mongodb-replicaset/README.md +++ b/examples/helm/kanister/kanister-mongodb-replicaset/README.md @@ -3,7 +3,7 @@ ## Prerequisites Details * Kubernetes 1.8+ with Beta APIs enabled. * PV support on the underlying infrastructure. -* Kanister version 0.29.0 with `profiles.cr.kanister.io` CRD installed +* Kanister version 0.30.0 with `profiles.cr.kanister.io` CRD installed ## StatefulSet Details * https://kubernetes.io/docs/concepts/abstractions/controllers/statefulsets/ diff --git a/examples/helm/kanister/kanister-mongodb-replicaset/kanister/mongodb-blueprint.yaml b/examples/helm/kanister/kanister-mongodb-replicaset/kanister/mongodb-blueprint.yaml index acce2712d8..5b69285377 100644 --- a/examples/helm/kanister/kanister-mongodb-replicaset/kanister/mongodb-blueprint.yaml +++ b/examples/helm/kanister/kanister-mongodb-replicaset/kanister/mongodb-blueprint.yaml @@ -66,7 +66,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 command: - bash - -o diff --git a/examples/helm/kanister/kanister-mongodb-replicaset/requirements.yaml b/examples/helm/kanister/kanister-mongodb-replicaset/requirements.yaml index 47aa001998..83571ec0bc 100644 --- a/examples/helm/kanister/kanister-mongodb-replicaset/requirements.yaml +++ b/examples/helm/kanister/kanister-mongodb-replicaset/requirements.yaml @@ -1,5 +1,5 @@ dependencies: - name: profile - version: "0.29.0" + version: "0.30.0" condition: profile.create repository: "https://charts.kanister.io" diff --git a/examples/helm/kanister/kanister-mongodb-replicaset/templates/mongodb-statefulset.yaml b/examples/helm/kanister/kanister-mongodb-replicaset/templates/mongodb-statefulset.yaml index 77b779521c..b8037a8a1f 100644 --- a/examples/helm/kanister/kanister-mongodb-replicaset/templates/mongodb-statefulset.yaml +++ b/examples/helm/kanister/kanister-mongodb-replicaset/templates/mongodb-statefulset.yaml @@ -139,7 +139,7 @@ spec: mountPath: /data/db containers: - name: kanister-sidecar - image: kanisterio/mongo-sidecar:0.29.0 + image: kanisterio/mongo-sidecar:0.30.0 imagePullPolicy: Always env: {{- if .Values.auth.enabled }} diff --git a/examples/helm/kanister/kanister-mysql/Chart.yaml b/examples/helm/kanister/kanister-mysql/Chart.yaml index ad9abe12b4..2aae865b4b 100755 --- a/examples/helm/kanister/kanister-mysql/Chart.yaml +++ b/examples/helm/kanister/kanister-mysql/Chart.yaml @@ -15,5 +15,5 @@ sources: - https://github.com/kubernetes/charts - https://github.com/docker-library/mysql - https://kanister.io/ -version: 0.29.0 +version: 0.30.0 appVersion: 5.7.14 diff --git a/examples/helm/kanister/kanister-mysql/kanister/mysql-blueprint.yaml b/examples/helm/kanister/kanister-mysql/kanister/mysql-blueprint.yaml index 88b52e0ca0..806b0ca96e 100644 --- a/examples/helm/kanister/kanister-mysql/kanister/mysql-blueprint.yaml +++ b/examples/helm/kanister/kanister-mysql/kanister/mysql-blueprint.yaml @@ -52,7 +52,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 command: - bash - -o diff --git a/examples/helm/kanister/kanister-mysql/requirements.yaml b/examples/helm/kanister/kanister-mysql/requirements.yaml index 47aa001998..83571ec0bc 100644 --- a/examples/helm/kanister/kanister-mysql/requirements.yaml +++ b/examples/helm/kanister/kanister-mysql/requirements.yaml @@ -1,5 +1,5 @@ dependencies: - name: profile - version: "0.29.0" + version: "0.30.0" condition: profile.create repository: "https://charts.kanister.io" diff --git a/examples/helm/kanister/kanister-mysql/templates/deployment.yaml b/examples/helm/kanister/kanister-mysql/templates/deployment.yaml index 83972a1dac..4187acd094 100755 --- a/examples/helm/kanister/kanister-mysql/templates/deployment.yaml +++ b/examples/helm/kanister/kanister-mysql/templates/deployment.yaml @@ -103,7 +103,7 @@ spec: mountPath: /etc/mysql/conf.d {{- end }} - name: kanister-sidecar - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 imagePullPolicy: Always env: {{- if .Values.mysqlAllowEmptyPassword }} diff --git a/examples/helm/kanister/kanister-postgresql/Chart.yaml b/examples/helm/kanister/kanister-postgresql/Chart.yaml index 3cc70f65d7..7e290a2200 100755 --- a/examples/helm/kanister/kanister-postgresql/Chart.yaml +++ b/examples/helm/kanister/kanister-postgresql/Chart.yaml @@ -17,4 +17,4 @@ sources: - https://github.com/kansiterio/blueprint-helm-charts - https://github.com/kubernetes/charts - https://github.com/docker-library/postgres -version: 0.29.0 +version: 0.30.0 diff --git a/examples/helm/kanister/kanister-postgresql/requirements.yaml b/examples/helm/kanister/kanister-postgresql/requirements.yaml index 47aa001998..83571ec0bc 100644 --- a/examples/helm/kanister/kanister-postgresql/requirements.yaml +++ b/examples/helm/kanister/kanister-postgresql/requirements.yaml @@ -1,5 +1,5 @@ dependencies: - name: profile - version: "0.29.0" + version: "0.30.0" condition: profile.create repository: "https://charts.kanister.io" diff --git a/examples/stable/cassandra/README.md b/examples/stable/cassandra/README.md index cb4f221059..e658b9cd7a 100644 --- a/examples/stable/cassandra/README.md +++ b/examples/stable/cassandra/README.md @@ -7,7 +7,7 @@ As the official documentation of [Cassandra](http://cassandra.apache.org/) says, * Kubernetes 1.9+ * Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled * PV support on the underlying infrastructure -* Kanister controller version 0.29.0 installed in your cluster, let's say in namespace `` +* Kanister controller version 0.30.0 installed in your cluster, let's say in namespace `` * Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) To install kanister and related tools you can follow [this](https://docs.kanister.io/install.html#install) link. @@ -28,7 +28,7 @@ To install the cassandra in your Kubernetes cluster you can run below command $ helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com $ helm repo update # remove app-namespace with the namespace you want to deploy the cassandra app in -$ helm install --namespace "" "cassandra" incubator/cassandra --set image.repo=kanisterio/cassandra --set image.tag=0.29.0 --set config.cluster_size=2 +$ helm install --namespace "" "cassandra" incubator/cassandra --set image.repo=kanisterio/cassandra --set image.tag=0.30.0 --set config.cluster_size=2 ``` This command will install cassandra on your Kubernetes cluster with 2 nodes. You can notice that we are using custom image of cassandra in the helm to install the cassandra cluster. The reason is we have to use some Kanister tools to take backup, so only change that we have done is including that tooling on top of statndard `cassandra:3.11.3` image. diff --git a/examples/stable/cassandra/cassandra-blueprint.yaml b/examples/stable/cassandra/cassandra-blueprint.yaml index 71944fe40f..eb2e9b64f5 100644 --- a/examples/stable/cassandra/cassandra-blueprint.yaml +++ b/examples/stable/cassandra/cassandra-blueprint.yaml @@ -104,7 +104,7 @@ actions: name: restoreFromObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 backupArtifactPrefix: "{{ .ArtifactsIn.params.KeyValue.backupPrefixLocation }}" pods: "{{ range .StatefulSet.Pods }} {{.}}{{end}}" restorePath: "{{ .ArtifactsIn.params.KeyValue.restorePathPrefix }}" diff --git a/examples/stable/elasticsearch/README.md b/examples/stable/elasticsearch/README.md index 3a3114767a..a67794fb3f 100644 --- a/examples/stable/elasticsearch/README.md +++ b/examples/stable/elasticsearch/README.md @@ -13,7 +13,7 @@ If you want to avoid doing that upgrade to Elasticsearch 5.6 first before moving * Kubernetes 1.9+ with Beta APIs enabled. * PV support on the underlying infrastructure. -* Kanister version 0.29.0 with `profiles.cr.kanister.io` CRD installed +* Kanister version 0.30.0 with `profiles.cr.kanister.io` CRD installed ## StatefulSets Details * https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/ diff --git a/examples/stable/elasticsearch/elasticsearch-blueprint.yaml b/examples/stable/elasticsearch/elasticsearch-blueprint.yaml index 460df15a79..e85d4a86d9 100644 --- a/examples/stable/elasticsearch/elasticsearch-blueprint.yaml +++ b/examples/stable/elasticsearch/elasticsearch-blueprint.yaml @@ -14,7 +14,7 @@ actions: name: backupToObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: "kanisterio/es-sidecar:0.29.0" + image: "kanisterio/es-sidecar:0.30.0" command: - bash - -o @@ -38,7 +38,7 @@ actions: name: restoreFromObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: "kanisterio/es-sidecar:0.29.0" + image: "kanisterio/es-sidecar:0.30.0" command: - bash - -o @@ -58,7 +58,7 @@ actions: name: deleteFromObjectStore args: namespace: "{{ .Namespace.Name }}" - image: "kanisterio/es-sidecar:0.29.0" + image: "kanisterio/es-sidecar:0.30.0" command: - bash - -o diff --git a/examples/stable/foundationdb/README.md b/examples/stable/foundationdb/README.md index 565530fb1c..cd4aaddb4e 100644 --- a/examples/stable/foundationdb/README.md +++ b/examples/stable/foundationdb/README.md @@ -24,7 +24,7 @@ cluster. on you cluster. * Kubernetes 1.9+ with Beta APIs enabled. * PV support on the underlying infrastructure. -* Kanister version 0.29.0 with `profiles.cr.kanister.io` CRD installed. +* Kanister version 0.30.0 with `profiles.cr.kanister.io` CRD installed. # Installation diff --git a/examples/stable/mongodb-deploymentconfig/README.md b/examples/stable/mongodb-deploymentconfig/README.md index 3c5868a8e5..db94cbebf1 100644 --- a/examples/stable/mongodb-deploymentconfig/README.md +++ b/examples/stable/mongodb-deploymentconfig/README.md @@ -14,7 +14,7 @@ cluster's DeploymentConfig resources. - Setup OpenShift, you can follow steps mentioned below - PV provisioner support in the underlying infrastructure -- Kanister controller version 0.29.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.30.0 installed in your cluster in namespace `kanister` - Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) **Note** diff --git a/examples/stable/mongodb-deploymentconfig/mongo-dep-config-blueprint.yaml b/examples/stable/mongodb-deploymentconfig/mongo-dep-config-blueprint.yaml index e864df3070..a947ab3c28 100644 --- a/examples/stable/mongodb-deploymentconfig/mongo-dep-config-blueprint.yaml +++ b/examples/stable/mongodb-deploymentconfig/mongo-dep-config-blueprint.yaml @@ -19,7 +19,7 @@ actions: namespace: "{{ .DeploymentConfig.Namespace }}" args: namespace: "{{ .DeploymentConfig.Namespace }}" - image: kanisterio/mongodb:0.29.0 + image: kanisterio/mongodb:0.30.0 command: - bash - -o @@ -47,7 +47,7 @@ actions: namespace: "{{ .DeploymentConfig.Namespace }}" args: namespace: "{{ .DeploymentConfig.Namespace }}" - image: kanisterio/mongodb:0.29.0 + image: kanisterio/mongodb:0.30.0 command: - bash - -o @@ -69,7 +69,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/mongodb:0.29.0 + image: kanisterio/mongodb:0.30.0 command: - bash - -o diff --git a/examples/stable/mongodb-restic/README.md b/examples/stable/mongodb-restic/README.md index dc6a844230..7945069487 100644 --- a/examples/stable/mongodb-restic/README.md +++ b/examples/stable/mongodb-restic/README.md @@ -7,7 +7,7 @@ * Kubernetes 1.9+ * Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled * PV support on the underlying infrastructure -* Kanister controller version 0.29.0 installed in your cluster +* Kanister controller version 0.30.0 installed in your cluster * Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Chart Details @@ -25,7 +25,7 @@ $ helm repo update $ helm install stable/mongodb --name my-release --namespace mongo-test \ --set replicaSet.enabled=true \ --set image.repository=kanisterio/mongodb \ - --set image.tag=0.29.0 + --set image.tag=0.30.0 ``` The command deploys MongoDB on the Kubernetes cluster in the mongo-test namespace diff --git a/examples/stable/mongodb-restic/mongodb-blueprint.yaml b/examples/stable/mongodb-restic/mongodb-blueprint.yaml index 4d43faa362..94ba56cb53 100644 --- a/examples/stable/mongodb-restic/mongodb-blueprint.yaml +++ b/examples/stable/mongodb-restic/mongodb-blueprint.yaml @@ -48,7 +48,7 @@ actions: name: restorePrimary args: namespace: "{{ .StatefulSet.Namespace }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 backupArtifactPrefix: "{{ .Profile.Location.Bucket }}/mongodb-backups/{{ .StatefulSet.Name }}/rs_backup" backupInfo: "{{ .ArtifactsIn.backupInfo.KeyValue.backupIdentifier }}" diff --git a/examples/stable/mongodb/README.md b/examples/stable/mongodb/README.md index a706476cfd..a95aa17540 100644 --- a/examples/stable/mongodb/README.md +++ b/examples/stable/mongodb/README.md @@ -7,7 +7,7 @@ * Kubernetes 1.9+ * Kubernetes beta APIs enabled only if `podDisruptionBudget` is enabled * PV support on the underlying infrastructure -* Kanister controller version 0.29.0 installed in your cluster +* Kanister controller version 0.30.0 installed in your cluster * Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Chart Details diff --git a/examples/stable/mongodb/mongo-blueprint.yaml b/examples/stable/mongodb/mongo-blueprint.yaml index 3ccf9d458d..4042b7e8b1 100644 --- a/examples/stable/mongodb/mongo-blueprint.yaml +++ b/examples/stable/mongodb/mongo-blueprint.yaml @@ -19,7 +19,7 @@ actions: namespace: "{{ .StatefulSet.Namespace }}" args: namespace: "{{ .StatefulSet.Namespace }}" - image: kanisterio/mongodb:0.29.0 + image: kanisterio/mongodb:0.30.0 command: - bash - -o @@ -46,7 +46,7 @@ actions: namespace: "{{ .StatefulSet.Namespace }}" args: namespace: "{{ .StatefulSet.Namespace }}" - image: kanisterio/mongodb:0.29.0 + image: kanisterio/mongodb:0.30.0 command: - bash - -o @@ -68,7 +68,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/mongodb:0.29.0 + image: kanisterio/mongodb:0.30.0 command: - bash - -o diff --git a/examples/stable/mysql-deploymentconfig/README.md b/examples/stable/mysql-deploymentconfig/README.md index cb016bcda7..f162980481 100644 --- a/examples/stable/mysql-deploymentconfig/README.md +++ b/examples/stable/mysql-deploymentconfig/README.md @@ -14,7 +14,7 @@ cluster's DeploymentConfig resources. - Setup OpenShift, you can follow steps mentioned below - PV provisioner support in the underlying infrastructure -- Kanister controller version 0.29.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.30.0 installed in your cluster in namespace `kanister` - Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) **Note** diff --git a/examples/stable/mysql-deploymentconfig/mysql-dep-config-blueprint.yaml b/examples/stable/mysql-deploymentconfig/mysql-dep-config-blueprint.yaml index 1862cb579f..e63d7cbdb8 100644 --- a/examples/stable/mysql-deploymentconfig/mysql-dep-config-blueprint.yaml +++ b/examples/stable/mysql-deploymentconfig/mysql-dep-config-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: "{{ .DeploymentConfig.Name }}" namespace: "{{ .DeploymentConfig.Namespace }}" args: - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 namespace: "{{ .DeploymentConfig.Namespace }}" command: - bash @@ -45,7 +45,7 @@ actions: name: "{{ .DeploymentConfig.Name }}" namespace: "{{ .DeploymentConfig.Namespace }}" args: - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 namespace: "{{ .DeploymentConfig.Namespace }}" command: - bash @@ -66,7 +66,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/mysql/README.md b/examples/stable/mysql/README.md index 140979d1b9..99f70b9168 100755 --- a/examples/stable/mysql/README.md +++ b/examples/stable/mysql/README.md @@ -10,7 +10,7 @@ This chart bootstraps a single node MySQL deployment on a [Kubernetes](http://ku - Kubernetes 1.6+ with Beta APIs enabled - PV provisioner support in the underlying infrastructure -- Kanister controller version 0.29.0 installed in your cluster, let's assume in Namespace `kanister` +- Kanister controller version 0.30.0 installed in your cluster, let's assume in Namespace `kanister` - Kanctl CLI installed (https://docs.kanister.io/tooling.html#install-the-tools) ## Installing the Chart diff --git a/examples/stable/mysql/mysql-blueprint.yaml b/examples/stable/mysql/mysql-blueprint.yaml index 3d2a926bf1..6b50e0f97a 100644 --- a/examples/stable/mysql/mysql-blueprint.yaml +++ b/examples/stable/mysql/mysql-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: '{{ .Deployment.Name }}' namespace: '{{ .Deployment.Namespace }}' args: - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 namespace: "{{ .Deployment.Namespace }}" command: - bash @@ -45,7 +45,7 @@ actions: name: '{{ .Deployment.Name }}' namespace: '{{ .Deployment.Namespace }}' args: - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 namespace: "{{ .Deployment.Namespace }}" command: - bash @@ -66,7 +66,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: kanisterio/mysql-sidecar:0.29.0 + image: kanisterio/mysql-sidecar:0.30.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/postgresql-deploymentconfig/README.md b/examples/stable/postgresql-deploymentconfig/README.md index a9d7772986..571a9acf5f 100644 --- a/examples/stable/postgresql-deploymentconfig/README.md +++ b/examples/stable/postgresql-deploymentconfig/README.md @@ -14,7 +14,7 @@ cluster's DeploymentConfig resources. - Setup OpenShift, you can follow steps mentioned below - PV provisioner support in the underlying infrastructure -- Kanister controller version 0.29.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.30.0 installed in your cluster in namespace `kanister` - Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) diff --git a/examples/stable/postgresql-deploymentconfig/postgres-dep-config-blueprint.yaml b/examples/stable/postgresql-deploymentconfig/postgres-dep-config-blueprint.yaml index 1ffe0551be..0c50dc8f79 100644 --- a/examples/stable/postgresql-deploymentconfig/postgres-dep-config-blueprint.yaml +++ b/examples/stable/postgresql-deploymentconfig/postgres-dep-config-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: '{{ .DeploymentConfig.Name }}-{{ .DeploymentConfig.Namespace }}' namespace: '{{ .DeploymentConfig.Namespace }}' args: - image: kanisterio/postgres-kanister-tools:0.29.0 + image: kanisterio/postgres-kanister-tools:0.30.0 namespace: '{{ .DeploymentConfig.Namespace }}' command: - bash @@ -47,7 +47,7 @@ actions: name: '{{ .DeploymentConfig.Name }}-{{ .DeploymentConfig.Namespace }}' namespace: '{{ .DeploymentConfig.Namespace }}' args: - image: kanisterio/postgres-kanister-tools:0.29.0 + image: kanisterio/postgres-kanister-tools:0.30.0 namespace: '{{ .DeploymentConfig.Namespace }}' command: - bash @@ -70,7 +70,7 @@ actions: - func: KubeTask name: deleteDump args: - image: kanisterio/postgres-kanister-tools:0.29.0 + image: kanisterio/postgres-kanister-tools:0.30.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/postgresql-wale/README.md b/examples/stable/postgresql-wale/README.md index 582749e743..24be388a17 100755 --- a/examples/stable/postgresql-wale/README.md +++ b/examples/stable/postgresql-wale/README.md @@ -12,7 +12,7 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment - Kubernetes 1.10+ - PV provisioner support in the underlying infrastructure -- Kanister controller version 0.29.0 installed in your cluster +- Kanister controller version 0.30.0 installed in your cluster - Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Installing the Chart @@ -25,7 +25,7 @@ $ helm repo update $ helm install stable/postgresql --name my-release \ --namespace postgres-test \ --set image.repository=kanisterio/postgresql \ - --set image.tag=0.29.0 \ + --set image.tag=0.30.0 \ --set postgresqlPassword=postgres-12345 \ --set postgresqlExtendedConf.archiveCommand="'envdir /bitnami/postgresql/data/env wal-e wal-push %p'" \ --set postgresqlExtendedConf.archiveMode=true \ @@ -41,7 +41,7 @@ In case, if you don't have `Kanister` installed already, you can use following c Add Kanister Helm repository and install Kanister operator ```bash $ helm repo add kanister https://charts.kanister.io -$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.29.0 +$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.30.0 ``` ## Integrating with Kanister diff --git a/examples/stable/postgresql-wale/postgresql-blueprint.yaml b/examples/stable/postgresql-wale/postgresql-blueprint.yaml index ec74bd1f19..6f7e0eab16 100644 --- a/examples/stable/postgresql-wale/postgresql-blueprint.yaml +++ b/examples/stable/postgresql-wale/postgresql-blueprint.yaml @@ -134,7 +134,7 @@ actions: - func: PrepareData name: performRestore args: - image: "kanisterio/postgresql:0.29.0" + image: "kanisterio/postgresql:0.30.0" namespace: "{{ .StatefulSet.Namespace }}" volumes: "data-{{ .StatefulSet.Name }}-0": "/bitnami/postgresql" @@ -282,7 +282,7 @@ actions: name: deleteArtifact args: namespace: "{{ .Namespace.Name }}" - image: "kanisterio/postgresql:0.29.0" + image: "kanisterio/postgresql:0.30.0" command: - bash - -o diff --git a/examples/stable/postgresql/README.md b/examples/stable/postgresql/README.md index f84dc1fb80..745bd0ac1e 100755 --- a/examples/stable/postgresql/README.md +++ b/examples/stable/postgresql/README.md @@ -12,7 +12,7 @@ Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment - Kubernetes 1.10+ - PV provisioner support in the underlying infrastructure -- Kanister controller version 0.29.0 installed in your cluster +- Kanister controller version 0.30.0 installed in your cluster - Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Installing the Chart @@ -38,7 +38,7 @@ In case, if you don't have `Kanister` installed already, you can use following c Add Kanister Helm repository and install Kanister operator ```bash $ helm repo add kanister https://charts.kanister.io -$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.29.0 +$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.30.0 ``` ## Integrating with Kanister diff --git a/examples/stable/postgresql/postgres-blueprint.yaml b/examples/stable/postgresql/postgres-blueprint.yaml index d600a9cf1f..46cbc167e5 100644 --- a/examples/stable/postgresql/postgres-blueprint.yaml +++ b/examples/stable/postgresql/postgres-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: '{{ .Object.metadata.labels.release }}-postgresql' namespace: '{{ .StatefulSet.Namespace }}' args: - image: kanisterio/postgres-kanister-tools:0.29.0 + image: kanisterio/postgres-kanister-tools:0.30.0 namespace: '{{ .StatefulSet.Namespace }}' command: - bash @@ -47,7 +47,7 @@ actions: name: '{{ .Object.metadata.labels.release }}-postgresql' namespace: '{{ .StatefulSet.Namespace }}' args: - image: kanisterio/postgres-kanister-tools:0.29.0 + image: kanisterio/postgres-kanister-tools:0.30.0 namespace: '{{ .StatefulSet.Namespace }}' command: - bash @@ -70,7 +70,7 @@ actions: - func: KubeTask name: deleteDump args: - image: kanisterio/postgres-kanister-tools:0.29.0 + image: kanisterio/postgres-kanister-tools:0.30.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/time-log/blueprint.yaml b/examples/time-log/blueprint.yaml index db7277df57..c166862325 100644 --- a/examples/time-log/blueprint.yaml +++ b/examples/time-log/blueprint.yaml @@ -40,7 +40,7 @@ actions: args: namespace: "{{ .Deployment.Namespace }}" pod: "{{ index .Deployment.Pods 0 }}" - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 backupArtifactPrefix: "{{ .ArtifactsIn.timeLog.KeyValue.path }}" backupIdentifier: "{{ .ArtifactsIn.backupIdentifier.KeyValue.id }}" - func: ScaleWorkload diff --git a/examples/time-log/time-logger-deployment.yaml b/examples/time-log/time-logger-deployment.yaml index 19c2ba04c5..f152c3b410 100644 --- a/examples/time-log/time-logger-deployment.yaml +++ b/examples/time-log/time-logger-deployment.yaml @@ -27,7 +27,7 @@ spec: spec: containers: - name: test-container - image: kanisterio/kanister-tools:0.29.0 + image: kanisterio/kanister-tools:0.30.0 command: ["sh", "-c"] args: ["while true; do for x in $(seq 1200); do date >> /var/log/time.log; sleep 1; done; truncate /var/log/time.log --size 0; done"] volumeMounts: diff --git a/helm/kanister-operator/Chart.yaml b/helm/kanister-operator/Chart.yaml index fe02ea5845..0932e2f33a 100644 --- a/helm/kanister-operator/Chart.yaml +++ b/helm/kanister-operator/Chart.yaml @@ -9,5 +9,5 @@ maintainers: - email: tom@kasten.io name: tdmanv icon: https://kasten.io/assets/img/kanister-logo.png -appVersion: 0.29.0 +appVersion: 0.30.0 source: https://github.com/kanisterio/kanister diff --git a/helm/kanister-operator/values.yaml b/helm/kanister-operator/values.yaml index 8d1ae24552..376cfaec19 100644 --- a/helm/kanister-operator/values.yaml +++ b/helm/kanister-operator/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. image: repository: kanisterio/controller - tag: 0.29.0 + tag: 0.30.0 pullPolicy: IfNotPresent rbac: create: true diff --git a/helm/profile/Chart.yaml b/helm/profile/Chart.yaml index a53e5daa4d..e583ebe0d8 100644 --- a/helm/profile/Chart.yaml +++ b/helm/profile/Chart.yaml @@ -3,7 +3,7 @@ description: A helm chart to create profile custom resource for kanister engine: gotpl name: profile home: https://kanister.io/ -version: 0.29.0 +version: 0.30.0 maintainers: - email: tom@kasten.io name: tdmanv diff --git a/pkg/app/cassandra.go b/pkg/app/cassandra.go index d031c8db10..e7296df7a5 100644 --- a/pkg/app/cassandra.go +++ b/pkg/app/cassandra.go @@ -58,7 +58,7 @@ func NewCassandraInstance(name string) App { Version: "0.13.3", Values: map[string]string{ "image.repo": "kanisterio/cassandra", - "image.tag": "0.29.0", + "image.tag": "0.30.0", "config.cluster_size": "1", }, }, diff --git a/pkg/app/mongodb.go b/pkg/app/mongodb.go index 3d8d7bf060..efbf05204b 100644 --- a/pkg/app/mongodb.go +++ b/pkg/app/mongodb.go @@ -62,7 +62,7 @@ func NewMongoDB(name string) App { Values: map[string]string{ "replicaSet.enabled": "true", "image.repository": "kanisterio/mongodb", - "image.tag": "0.29.0", + "image.tag": "0.30.0", }, }, } diff --git a/pkg/app/postgresql.go b/pkg/app/postgresql.go index d89ad2db05..cc7686eaec 100644 --- a/pkg/app/postgresql.go +++ b/pkg/app/postgresql.go @@ -51,7 +51,7 @@ func NewPostgresDB(name string) App { Version: "7.6.0", Values: map[string]string{ "image.repository": "kanisterio/postgresql", - "image.tag": "0.29.0", + "image.tag": "0.30.0", "postgresqlPassword": "test@54321", "postgresqlExtendedConf.archiveCommand": "'envdir /bitnami/postgresql/data/env wal-e wal-push %p'", "postgresqlExtendedConf.archiveMode": "true", diff --git a/pkg/blueprint/blueprints/rds-postgres-blueprint.yaml b/pkg/blueprint/blueprints/rds-postgres-blueprint.yaml index dd5b9b7f11..a9542e39d6 100644 --- a/pkg/blueprint/blueprints/rds-postgres-blueprint.yaml +++ b/pkg/blueprint/blueprints/rds-postgres-blueprint.yaml @@ -13,7 +13,7 @@ actions: - func: KubeTask name: backupSnapshots args: - image: "kanisterio/postgres-kanister-tools:0.29.0" + image: "kanisterio/postgres-kanister-tools:0.30.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash @@ -44,7 +44,7 @@ actions: - func: KubeTask name: restoreSnapshots args: - image: "kanisterio/postgres-kanister-tools:0.29.0" + image: "kanisterio/postgres-kanister-tools:0.30.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash @@ -76,7 +76,7 @@ actions: - func: KubeTask name: restoreSnapshots args: - image: "kanisterio/postgres-kanister-tools:0.29.0" + image: "kanisterio/postgres-kanister-tools:0.30.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash diff --git a/pkg/function/data_test.go b/pkg/function/data_test.go index 8b4e10347b..615aefa7e4 100644 --- a/pkg/function/data_test.go +++ b/pkg/function/data_test.go @@ -134,7 +134,7 @@ func newRestoreDataBlueprint(pvc, identifierArg, identifierVal string) *crv1alph Func: RestoreDataFuncName, Args: map[string]interface{}{ RestoreDataNamespaceArg: "{{ .StatefulSet.Namespace }}", - RestoreDataImageArg: "kanisterio/kanister-tools:0.29.0", + RestoreDataImageArg: "kanisterio/kanister-tools:0.30.0", RestoreDataBackupArtifactPrefixArg: "{{ .Profile.Location.Bucket }}/{{ .Profile.Location.Prefix }}", RestoreDataRestorePathArg: "/mnt/data", RestoreDataEncryptionKeyArg: "{{ .Secrets.backupKey.Data.password | toString }}", @@ -266,7 +266,7 @@ func newRestoreDataAllBlueprint() *crv1alpha1.Blueprint { Func: RestoreDataAllFuncName, Args: map[string]interface{}{ RestoreDataAllNamespaceArg: "{{ .StatefulSet.Namespace }}", - RestoreDataAllImageArg: "kanisterio/kanister-tools:0.29.0", + RestoreDataAllImageArg: "kanisterio/kanister-tools:0.30.0", RestoreDataAllBackupArtifactPrefixArg: "{{ .Profile.Location.Bucket }}/{{ .Profile.Location.Prefix }}", RestoreDataAllBackupInfo: fmt.Sprintf("{{ .Options.%s }}", BackupDataAllOutput), RestoreDataAllRestorePathArg: "/mnt/data", @@ -477,7 +477,7 @@ func newCopyDataTestBlueprint() crv1alpha1.Blueprint { Func: RestoreDataFuncName, Args: map[string]interface{}{ RestoreDataNamespaceArg: "{{ .PVC.Namespace }}", - RestoreDataImageArg: "kanisterio/kanister-tools:0.29.0", + RestoreDataImageArg: "kanisterio/kanister-tools:0.30.0", RestoreDataBackupArtifactPrefixArg: fmt.Sprintf("{{ .Options.%s }}", CopyVolumeDataOutputBackupArtifactLocation), RestoreDataBackupTagArg: fmt.Sprintf("{{ .Options.%s }}", CopyVolumeDataOutputBackupTag), RestoreDataVolsArg: map[string]string{ diff --git a/pkg/function/export_rds_snapshot_location.go b/pkg/function/export_rds_snapshot_location.go index 679a04b66a..779957650a 100644 --- a/pkg/function/export_rds_snapshot_location.go +++ b/pkg/function/export_rds_snapshot_location.go @@ -60,7 +60,7 @@ const ( BackupAction RDSAction = "backup" RestoreAction RDSAction = "restore" - postgresToolsImage = "kanisterio/postgres-kanister-tools:0.29.0" + postgresToolsImage = "kanisterio/postgres-kanister-tools:0.30.0" ) type exportRDSSnapshotToLocationFunc struct{} diff --git a/pkg/function/kube_exec_test.go b/pkg/function/kube_exec_test.go index e6bbf71aa0..ec0c4d1966 100644 --- a/pkg/function/kube_exec_test.go +++ b/pkg/function/kube_exec_test.go @@ -178,11 +178,11 @@ func (s *KubeExecTest) TestParseLogAndCreateOutput(c *C) { errChecker Checker outChecker Checker }{ - {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.29.0\"}", map[string]interface{}{"version": "0.29.0"}, IsNil, NotNil}, - {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.29.0\"}\n###Phase-output###: {\"key\":\"path\",\"value\":\"/backup/path\"}", - map[string]interface{}{"version": "0.29.0", "path": "/backup/path"}, IsNil, NotNil}, - {"Random message ###Phase-output###: {\"key\":\"version\",\"value\":\"0.29.0\"}", map[string]interface{}{"version": "0.29.0"}, IsNil, NotNil}, - {"Random message with newline \n###Phase-output###: {\"key\":\"version\",\"value\":\"0.29.0\"}", map[string]interface{}{"version": "0.29.0"}, IsNil, NotNil}, + {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.30.0\"}", map[string]interface{}{"version": "0.30.0"}, IsNil, NotNil}, + {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.30.0\"}\n###Phase-output###: {\"key\":\"path\",\"value\":\"/backup/path\"}", + map[string]interface{}{"version": "0.30.0", "path": "/backup/path"}, IsNil, NotNil}, + {"Random message ###Phase-output###: {\"key\":\"version\",\"value\":\"0.30.0\"}", map[string]interface{}{"version": "0.30.0"}, IsNil, NotNil}, + {"Random message with newline \n###Phase-output###: {\"key\":\"version\",\"value\":\"0.30.0\"}", map[string]interface{}{"version": "0.30.0"}, IsNil, NotNil}, {"###Phase-output###: Invalid message", nil, NotNil, IsNil}, {"Random message", nil, IsNil, IsNil}, } { diff --git a/pkg/function/kube_task_test.go b/pkg/function/kube_task_test.go index dc000d0f85..e0087f751c 100644 --- a/pkg/function/kube_task_test.go +++ b/pkg/function/kube_task_test.go @@ -70,7 +70,7 @@ func outputPhase(namespace string) crv1alpha1.BlueprintPhase { KubeTaskCommandArg: []string{ "sh", "-c", - "kando output version 0.29.0", + "kando output version 0.30.0", }, }, } @@ -143,7 +143,7 @@ func (s *KubeTaskSuite) TestKubeTask(c *C) { bp: newTaskBlueprint(outputPhase(s.namespace), sleepPhase(s.namespace), tickPhase(s.namespace)), outs: []map[string]interface{}{ map[string]interface{}{ - "version": "0.29.0", + "version": "0.30.0", }, map[string]interface{}{}, map[string]interface{}{}, diff --git a/pkg/function/utils.go b/pkg/function/utils.go index 8041bc0854..e3b90cb5e9 100644 --- a/pkg/function/utils.go +++ b/pkg/function/utils.go @@ -26,7 +26,7 @@ import ( const ( // FunctionOutputVersion returns version FunctionOutputVersion = "version" - kanisterToolsImage = "kanisterio/kanister-tools:0.29.0" + kanisterToolsImage = "kanisterio/kanister-tools:0.30.0" kanisterToolsImageEnvName = "KANISTER_TOOLS" ) diff --git a/pkg/kube/pod_test.go b/pkg/kube/pod_test.go index 3fbe68892a..8f831bc138 100644 --- a/pkg/kube/pod_test.go +++ b/pkg/kube/pod_test.go @@ -43,7 +43,7 @@ type PodSuite struct { const ( dummySAName = "dummy-sa" controllerSA = "controller-sa" - kanisterToolsImage = "kanisterio/kanister-tools:0.29.0" + kanisterToolsImage = "kanisterio/kanister-tools:0.30.0" ) var _ = Suite(&PodSuite{}) @@ -186,7 +186,7 @@ func (s *PodSuite) TestPodWithVolumes(c *C) { pod, err := CreatePod(ctx, cli, &PodOptions{ Namespace: s.namespace, GenerateName: "test-", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "tail -f /dev/null"}, Volumes: vols, }) @@ -203,7 +203,7 @@ func (s *PodSuite) TestGetPodLogs(c *C) { pod, err := CreatePod(context.Background(), s.cli, &PodOptions{ Namespace: s.namespace, GenerateName: "test-", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo hello"}, }) c.Assert(err, IsNil) @@ -219,7 +219,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -265,7 +265,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -305,7 +305,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -359,7 +359,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -420,7 +420,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -483,7 +483,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"echo", "override command"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -523,7 +523,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"echo", "override command"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -566,7 +566,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ diff --git a/pkg/param/param_test.go b/pkg/param/param_test.go index 4699f057d0..532dac7f27 100644 --- a/pkg/param/param_test.go +++ b/pkg/param/param_test.go @@ -598,7 +598,7 @@ func (s *ParamsSuite) TestPhaseParams(c *C) { c.Assert(tp.Phases, IsNil) err = InitPhaseParams(ctx, s.cli, tp, "backup", nil) c.Assert(err, IsNil) - UpdatePhaseParams(ctx, tp, "backup", map[string]interface{}{"version": "0.29.0"}) + UpdatePhaseParams(ctx, tp, "backup", map[string]interface{}{"version": "0.30.0"}) c.Assert(tp.Phases, HasLen, 1) c.Assert(tp.Phases["backup"], NotNil) c.Assert(tp.Secrets, HasLen, 1) diff --git a/pkg/testing/e2e_test.go b/pkg/testing/e2e_test.go index 177784ca87..48bb378ea5 100644 --- a/pkg/testing/e2e_test.go +++ b/pkg/testing/e2e_test.go @@ -226,7 +226,7 @@ func (s *E2ESuite) TestKubeTask(c *C) { Func: function.KubeTaskFuncName, Name: "test-kube-task", Args: map[string]interface{}{ - "image": "kanisterio/kanister-tools:0.29.0", + "image": "kanisterio/kanister-tools:0.30.0", "namespace": "{{ .Deployment.Namespace }}", "command": []string{"echo", "default specs"}, "podOverride": map[string]interface{}{ diff --git a/pkg/testutil/testutil.go b/pkg/testutil/testutil.go index d688782753..0a06a4c713 100644 --- a/pkg/testutil/testutil.go +++ b/pkg/testutil/testutil.go @@ -97,7 +97,7 @@ func newTestPodTemplateSpec() v1.PodTemplateSpec { Containers: []v1.Container{ v1.Container{ Name: "test-container", - Image: "kanisterio/kanister-tools:0.29.0", + Image: "kanisterio/kanister-tools:0.30.0", Command: []string{"tail"}, Args: []string{"-f", "/dev/null"}, }, diff --git a/scripts/get.sh b/scripts/get.sh index 4f0b668f9f..8d332cbbe4 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -140,7 +140,7 @@ cleanup() { } main() { - version="${1:-"0.29.0"}" + version="${1:-"0.30.0"}" initArch initOS verifySupported