From 584aa221d286d3cd8cd62cf9291c00aac113485a Mon Sep 17 00:00:00 2001 From: Infra Bot <63741182+infraq@users.noreply.github.com> Date: Wed, 12 May 2021 06:36:06 -0700 Subject: [PATCH] Kanister docs update to version 0.57.0 (#994) Co-authored-by: Kasten Production --- examples/aws-rds/postgresql/README.md | 2 +- .../postgresql/rds-postgres-blueprint.yaml | 6 ++--- .../rds-postgres-dump-blueprint.yaml | 2 +- .../k8s/etcd-incluster-blueprint.yaml | 8 +++---- .../ocp/etcd-incluster-ocp-blueprint.yaml | 8 +++---- examples/kafka/adobe-s3-connector/README.md | 2 +- .../kafka/confluent-s3-connector/README.md | 2 +- examples/stable/cassandra/README.md | 4 ++-- .../stable/cassandra/cassandra-blueprint.yaml | 2 +- .../stable/couchbase/couchbase-blueprint.yaml | 2 +- examples/stable/elasticsearch/README.md | 2 +- .../elasticsearch-blueprint.yaml | 6 ++--- examples/stable/foundationdb/README.md | 2 +- examples/stable/maria/maria-blueprint.yaml | 6 ++--- .../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 +- 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 +- 48 files changed, 95 insertions(+), 95 deletions(-) diff --git a/examples/aws-rds/postgresql/README.md b/examples/aws-rds/postgresql/README.md index c4c3628517..96b048369e 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.53.0 installed in your cluster +- Kanister controller version 0.57.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-blueprint.yaml b/examples/aws-rds/postgresql/rds-postgres-blueprint.yaml index 9c8be7cfb0..aa1ac2cb85 100644 --- a/examples/aws-rds/postgresql/rds-postgres-blueprint.yaml +++ b/examples/aws-rds/postgresql/rds-postgres-blueprint.yaml @@ -13,7 +13,7 @@ actions: - func: KubeTask name: backupSnapshots args: - image: "ghcr.io/kanisterio/postgres-kanister-tools:0.53.0" + image: "ghcr.io/kanisterio/postgres-kanister-tools:0.57.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash @@ -49,7 +49,7 @@ actions: - func: KubeTask name: restoreSnapshots args: - image: "ghcr.io/kanisterio/postgres-kanister-tools:0.53.0" + image: "ghcr.io/kanisterio/postgres-kanister-tools:0.57.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash @@ -87,7 +87,7 @@ actions: - func: KubeTask name: restoreSnapshots args: - image: "ghcr.io/kanisterio/postgres-kanister-tools:0.53.0" + image: "ghcr.io/kanisterio/postgres-kanister-tools:0.57.0" namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml b/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml index e0ca1ce554..b82861265d 100644 --- a/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml +++ b/examples/aws-rds/postgresql/rds-postgres-dump-blueprint.yaml @@ -65,7 +65,7 @@ actions: name: deleteBackup args: namespace: "{{ .Namespace.Name }}" - image: ghcr.io/kanisterio/kanister-tools:0.53.0 + image: ghcr.io/kanisterio/kanister-tools:0.57.0 command: - bash - -o diff --git a/examples/etcd/etcd-in-cluster/k8s/etcd-incluster-blueprint.yaml b/examples/etcd/etcd-in-cluster/k8s/etcd-incluster-blueprint.yaml index 22403305d3..0393cbae7b 100644 --- a/examples/etcd/etcd-in-cluster/k8s/etcd-incluster-blueprint.yaml +++ b/examples/etcd/etcd-in-cluster/k8s/etcd-incluster-blueprint.yaml @@ -12,7 +12,7 @@ actions: - func: KubeTask name: takeSnapshot args: - image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.53.0 + image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.57.0 command: - sh - -o @@ -37,7 +37,7 @@ actions: - func: KubeTask name: uploadSnapshot args: - image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.53.0 + image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.57.0 command: - sh - -o @@ -55,7 +55,7 @@ actions: - func: KubeTask name: removeSnapshot args: - image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.53.0 + image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.57.0 command: - sh - -o @@ -75,7 +75,7 @@ actions: name: deleteFromObjectStore args: namespace: "{{ .Namespace.Name }}" - image: "ghcr.io/kanisterio/kanister-tools:0.53.0" + image: "ghcr.io/kanisterio/kanister-tools:0.57.0" command: - bash - -o diff --git a/examples/etcd/etcd-in-cluster/ocp/etcd-incluster-ocp-blueprint.yaml b/examples/etcd/etcd-in-cluster/ocp/etcd-incluster-ocp-blueprint.yaml index 45363775e7..5a78a39972 100644 --- a/examples/etcd/etcd-in-cluster/ocp/etcd-incluster-ocp-blueprint.yaml +++ b/examples/etcd/etcd-in-cluster/ocp/etcd-incluster-ocp-blueprint.yaml @@ -12,7 +12,7 @@ actions: - func: KubeTask name: takeSnapshot args: - image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.53.0 + image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.57.0 command: - sh - -o @@ -35,7 +35,7 @@ actions: - func: KubeTask name: uploadSnapshot args: - image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.53.0 + image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.57.0 command: - sh - -o @@ -53,7 +53,7 @@ actions: - func: KubeTask name: removeSnapshot args: - image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.53.0 + image: ghcr.io/kanisterio/kanister-kubectl-1.18:0.57.0 command: - sh - -o @@ -73,7 +73,7 @@ actions: name: deleteFromObjectStore args: namespace: "{{ .Namespace.Name }}" - image: "ghcr.io/kanisterio/kanister-tools:0.53.0" + image: "ghcr.io/kanisterio/kanister-tools:0.57.0" command: - bash - -o diff --git a/examples/kafka/adobe-s3-connector/README.md b/examples/kafka/adobe-s3-connector/README.md index de8d24a5c4..7e49973eb6 100644 --- a/examples/kafka/adobe-s3-connector/README.md +++ b/examples/kafka/adobe-s3-connector/README.md @@ -6,7 +6,7 @@ During restore, topic messages are purged before the restore operation is perfor ## Prerequisites * Kubernetes 1.9+ -* Kanister controller version 0.53.0 installed in the cluster in a namespace . This example uses `kasten-io` namespace +* Kanister controller version 0.57.0 installed in the cluster in a namespace . This example uses `kasten-io` namespace * Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Assumption diff --git a/examples/kafka/confluent-s3-connector/README.md b/examples/kafka/confluent-s3-connector/README.md index 9b4ce42ddf..d6fdf61c00 100644 --- a/examples/kafka/confluent-s3-connector/README.md +++ b/examples/kafka/confluent-s3-connector/README.md @@ -10,7 +10,7 @@ During restore, topic messages are purged before the restore operation is perfor ## Prerequisites * Kubernetes 1.9+ -* Kanister controller version 0.53.0 installed in the cluster in a namespace . This example uses `kasten-io` namespace +* Kanister controller version 0.57.0 installed in the cluster in a namespace . This example uses `kasten-io` namespace * Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Assumption diff --git a/examples/stable/cassandra/README.md b/examples/stable/cassandra/README.md index 34c58f0fda..4fe279a990 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.53.0 installed in your cluster, let's say in namespace `` +* Kanister controller version 0.57.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. @@ -29,7 +29,7 @@ $ helm repo add bitnami https://charts.bitnami.com/bitnami $ helm repo update # remove app-namespace with the namespace you want to deploy the Cassandra app in $ kubectl create ns -$ helm install cassandra bitnami/cassandra --namespace --set image.repository=ghcr.io/kanisterio/cassandra --set image.tag=0.53.0 --set cluster.replicaCount=2 --set image.pullPolicy=Always +$ helm install cassandra bitnami/cassandra --namespace --set image.repository=ghcr.io/kanisterio/cassandra --set image.tag=0.57.0 --set cluster.replicaCount=2 --set image.pullPolicy=Always ``` diff --git a/examples/stable/cassandra/cassandra-blueprint.yaml b/examples/stable/cassandra/cassandra-blueprint.yaml index 912e27397e..b2d9892692 100644 --- a/examples/stable/cassandra/cassandra-blueprint.yaml +++ b/examples/stable/cassandra/cassandra-blueprint.yaml @@ -105,7 +105,7 @@ actions: name: restoreFromObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: ghcr.io/kanisterio/kanister-tools:0.53.0 + image: ghcr.io/kanisterio/kanister-tools:0.57.0 backupArtifactPrefix: "{{ .ArtifactsIn.params.KeyValue.backupPrefixLocation }}" pods: "{{ range .StatefulSet.Pods }} {{.}}{{end}}" restorePath: "{{ .ArtifactsIn.params.KeyValue.restorePathPrefix }}" diff --git a/examples/stable/couchbase/couchbase-blueprint.yaml b/examples/stable/couchbase/couchbase-blueprint.yaml index 5490d15a07..f61f643d08 100644 --- a/examples/stable/couchbase/couchbase-blueprint.yaml +++ b/examples/stable/couchbase/couchbase-blueprint.yaml @@ -80,7 +80,7 @@ actions: name: deleteBackup args: namespace: "{{ .Namespace.Name }}" - image: ghcr.io/kanisterio/kanister-tools:0.53.0 + image: ghcr.io/kanisterio/kanister-tools:0.57.0 command: - bash - -o diff --git a/examples/stable/elasticsearch/README.md b/examples/stable/elasticsearch/README.md index 884920a1d3..79f3b49eb7 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.53.0 with `profiles.cr.kanister.io` CRD installed +* Kanister version 0.57.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 fa20927996..b1bea02188 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: "ghcr.io/kanisterio/es-sidecar:0.53.0" + image: "ghcr.io/kanisterio/es-sidecar:0.57.0" command: - bash - -o @@ -38,7 +38,7 @@ actions: name: restoreFromObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: "ghcr.io/kanisterio/es-sidecar:0.53.0" + image: "ghcr.io/kanisterio/es-sidecar:0.57.0" command: - bash - -o @@ -58,7 +58,7 @@ actions: name: deleteFromObjectStore args: namespace: "{{ .Namespace.Name }}" - image: "ghcr.io/kanisterio/es-sidecar:0.53.0" + image: "ghcr.io/kanisterio/es-sidecar:0.57.0" command: - bash - -o diff --git a/examples/stable/foundationdb/README.md b/examples/stable/foundationdb/README.md index 2d5eed8ef6..580c523fa0 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.53.0 with `profiles.cr.kanister.io` CRD installed. +* Kanister version 0.57.0 with `profiles.cr.kanister.io` CRD installed. # Installation diff --git a/examples/stable/maria/maria-blueprint.yaml b/examples/stable/maria/maria-blueprint.yaml index 42d79cbc88..04bfacfac3 100644 --- a/examples/stable/maria/maria-blueprint.yaml +++ b/examples/stable/maria/maria-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: '{{ .StatefulSet.Name }}' namespace: '{{ .StatefulSet.Namespace }}' args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .StatefulSet.Namespace }}" command: - bash @@ -51,7 +51,7 @@ actions: name: '{{ .StatefulSet.Name }}' namespace: '{{ .StatefulSet.Namespace }}' args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .StatefulSet.Namespace }}" command: - bash @@ -72,7 +72,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/mongodb-deploymentconfig/README.md b/examples/stable/mongodb-deploymentconfig/README.md index 5030fcec0d..6daeaab1b6 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.53.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.57.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 5f7e68ce5f..85e714ad5b 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: ghcr.io/kanisterio/mongodb:0.53.0 + image: ghcr.io/kanisterio/mongodb:0.57.0 command: - bash - -o @@ -47,7 +47,7 @@ actions: namespace: "{{ .DeploymentConfig.Namespace }}" args: namespace: "{{ .DeploymentConfig.Namespace }}" - image: ghcr.io/kanisterio/mongodb:0.53.0 + image: ghcr.io/kanisterio/mongodb:0.57.0 command: - bash - -o @@ -69,7 +69,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: ghcr.io/kanisterio/mongodb:0.53.0 + image: ghcr.io/kanisterio/mongodb:0.57.0 command: - bash - -o diff --git a/examples/stable/mongodb-restic/README.md b/examples/stable/mongodb-restic/README.md index 5b983d1bc7..a5b89fa223 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.53.0 installed in your cluster +* Kanister controller version 0.57.0 installed in your cluster * Kanctl CLI installed (https://docs.kanister.io/tooling.html#kanctl) ## Chart Details @@ -29,7 +29,7 @@ $ kubectl create namespace mongo-test $ helm install my-release bitnami/mongodb --namespace mongo-test \ --set architecture="replicaset" \ --set image.repository=ghcr.io/kanisterio/mongodb \ - --set image.tag=0.53.0 + --set image.tag=0.57.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 30819bbd93..623e843d53 100644 --- a/examples/stable/mongodb-restic/mongodb-blueprint.yaml +++ b/examples/stable/mongodb-restic/mongodb-blueprint.yaml @@ -41,7 +41,7 @@ actions: name: restorePrimary args: namespace: "{{ .StatefulSet.Namespace }}" - image: ghcr.io/kanisterio/kanister-tools:0.53.0 + image: ghcr.io/kanisterio/kanister-tools:0.57.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 ce11c44a61..14de61b9a4 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.53.0 installed in your cluster +* Kanister controller version 0.57.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 416946572c..7ec064980a 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: ghcr.io/kanisterio/mongodb:0.53.0 + image: ghcr.io/kanisterio/mongodb:0.57.0 command: - bash - -o @@ -46,7 +46,7 @@ actions: namespace: "{{ .StatefulSet.Namespace }}" args: namespace: "{{ .StatefulSet.Namespace }}" - image: ghcr.io/kanisterio/mongodb:0.53.0 + image: ghcr.io/kanisterio/mongodb:0.57.0 command: - bash - -o @@ -68,7 +68,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: ghcr.io/kanisterio/mongodb:0.53.0 + image: ghcr.io/kanisterio/mongodb:0.57.0 command: - bash - -o diff --git a/examples/stable/mysql-deploymentconfig/README.md b/examples/stable/mysql-deploymentconfig/README.md index 420c119411..3deac5f640 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.53.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.57.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 418a54aa21..3095ca3bd3 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: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .DeploymentConfig.Namespace }}" command: - bash @@ -45,7 +45,7 @@ actions: name: "{{ .DeploymentConfig.Name }}" namespace: "{{ .DeploymentConfig.Namespace }}" args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .DeploymentConfig.Namespace }}" command: - bash @@ -66,7 +66,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/mysql/README.md b/examples/stable/mysql/README.md index 8f34c1d6c0..6ae566c11f 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.53.0 installed in your cluster, let's assume in Namespace `kanister` +- Kanister controller version 0.57.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 1adfb2c293..8c71caf550 100644 --- a/examples/stable/mysql/mysql-blueprint.yaml +++ b/examples/stable/mysql/mysql-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: '{{ index .Object.metadata.labels "app.kubernetes.io/instance" }}' namespace: '{{ .StatefulSet.Namespace }}' args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .StatefulSet.Namespace }}" command: - bash @@ -45,7 +45,7 @@ actions: name: '{{ index .Object.metadata.labels "app.kubernetes.io/instance" }}' namespace: '{{ .StatefulSet.Namespace }}' args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .StatefulSet.Namespace }}" command: - bash @@ -66,7 +66,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: ghcr.io/kanisterio/mysql-sidecar:0.53.0 + image: ghcr.io/kanisterio/mysql-sidecar:0.57.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/postgresql-deploymentconfig/README.md b/examples/stable/postgresql-deploymentconfig/README.md index 739e1867ef..4878eef7c5 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.53.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.57.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 c157c4070f..b58fa02efc 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: ghcr.io/kanisterio/postgres-kanister-tools:0.53.0 + image: ghcr.io/kanisterio/postgres-kanister-tools:0.57.0 namespace: '{{ .DeploymentConfig.Namespace }}' command: - bash @@ -47,7 +47,7 @@ actions: name: '{{ .DeploymentConfig.Name }}-{{ .DeploymentConfig.Namespace }}' namespace: '{{ .DeploymentConfig.Namespace }}' args: - image: ghcr.io/kanisterio/postgres-kanister-tools:0.53.0 + image: ghcr.io/kanisterio/postgres-kanister-tools:0.57.0 namespace: '{{ .DeploymentConfig.Namespace }}' command: - bash @@ -70,7 +70,7 @@ actions: - func: KubeTask name: deleteDump args: - image: ghcr.io/kanisterio/postgres-kanister-tools:0.53.0 + image: ghcr.io/kanisterio/postgres-kanister-tools:0.57.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/postgresql-wale/README.md b/examples/stable/postgresql-wale/README.md index dfd002b224..1d80ae6848 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.53.0 installed in your cluster +- Kanister controller version 0.57.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 my-release bitnami/postgresql \ --namespace postgres-test \ --set image.repository=ghcr.io/kanisterio/postgresql \ - --set image.tag=0.53.0 \ + --set image.tag=0.57.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.53.0 +$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.57.0 ``` ## Integrating with Kanister diff --git a/examples/stable/postgresql-wale/postgresql-blueprint.yaml b/examples/stable/postgresql-wale/postgresql-blueprint.yaml index 78d7bde939..09834f7bc1 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: "ghcr.io/kanisterio/postgresql:0.53.0" + image: "ghcr.io/kanisterio/postgresql:0.57.0" namespace: "{{ .StatefulSet.Namespace }}" volumes: "data-{{ .StatefulSet.Name }}-0": "/bitnami/postgresql" @@ -282,7 +282,7 @@ actions: name: deleteArtifact args: namespace: "{{ .Namespace.Name }}" - image: "ghcr.io/kanisterio/postgresql:0.53.0" + image: "ghcr.io/kanisterio/postgresql:0.57.0" command: - bash - -o diff --git a/examples/stable/postgresql/README.md b/examples/stable/postgresql/README.md index c50b586e66..19c8952c39 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.53.0 installed in your cluster +- Kanister controller version 0.57.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.53.0 +$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.57.0 ``` ## Integrating with Kanister diff --git a/examples/stable/postgresql/postgres-blueprint.yaml b/examples/stable/postgresql/postgres-blueprint.yaml index 705eb6a367..267ef15e57 100644 --- a/examples/stable/postgresql/postgres-blueprint.yaml +++ b/examples/stable/postgresql/postgres-blueprint.yaml @@ -18,7 +18,7 @@ actions: name: '{{ index .Object.metadata.labels "app.kubernetes.io/instance" }}-postgresql' namespace: '{{ .StatefulSet.Namespace }}' args: - image: ghcr.io/kanisterio/postgres-kanister-tools:0.53.0 + image: ghcr.io/kanisterio/postgres-kanister-tools:0.57.0 namespace: '{{ .StatefulSet.Namespace }}' command: - bash @@ -47,7 +47,7 @@ actions: name: '{{ index .Object.metadata.labels "app.kubernetes.io/instance" }}-postgresql' namespace: '{{ .StatefulSet.Namespace }}' args: - image: ghcr.io/kanisterio/postgres-kanister-tools:0.53.0 + image: ghcr.io/kanisterio/postgres-kanister-tools:0.57.0 namespace: '{{ .StatefulSet.Namespace }}' command: - bash @@ -70,7 +70,7 @@ actions: - func: KubeTask name: deleteDump args: - image: ghcr.io/kanisterio/postgres-kanister-tools:0.53.0 + image: ghcr.io/kanisterio/postgres-kanister-tools:0.57.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/time-log/blueprint.yaml b/examples/time-log/blueprint.yaml index 8265b7854e..e42f99cb81 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: ghcr.io/kanisterio/kanister-tools:0.53.0 + image: ghcr.io/kanisterio/kanister-tools:0.57.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 af2ce27a64..04bfde8959 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: ghcr.io/kanisterio/kanister-tools:0.53.0 + image: ghcr.io/kanisterio/kanister-tools:0.57.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 b64ffea7a6..2b15929ecd 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.53.0 +appVersion: 0.57.0 source: https://github.com/kanisterio/kanister diff --git a/helm/kanister-operator/values.yaml b/helm/kanister-operator/values.yaml index f49560adb3..c6ddabb978 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: ghcr.io/kanisterio/controller - tag: 0.53.0 + tag: 0.57.0 pullPolicy: IfNotPresent rbac: create: true diff --git a/helm/profile/Chart.yaml b/helm/profile/Chart.yaml index dc04012ae0..da549a5797 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.53.0 +version: 0.57.0 maintainers: - email: tom@kasten.io name: tdmanv diff --git a/pkg/app/cassandra.go b/pkg/app/cassandra.go index 8ca468888f..51fd6a1747 100644 --- a/pkg/app/cassandra.go +++ b/pkg/app/cassandra.go @@ -58,7 +58,7 @@ func NewCassandraInstance(name string) App { Values: map[string]string{ "image.registry": "ghcr.io", "image.repository": "kanisterio/cassandra", - "image.tag": "0.53.0", + "image.tag": "0.57.0", "image.pullPolicy": "Always", "cluster.replicaCount": "1", }, diff --git a/pkg/app/mongodb.go b/pkg/app/mongodb.go index 29b6fec10e..921bb6d9bf 100644 --- a/pkg/app/mongodb.go +++ b/pkg/app/mongodb.go @@ -63,7 +63,7 @@ func NewMongoDB(name string) App { "architecture": "replicaset", "image.registry": "ghcr.io", "image.repository": "kanisterio/mongodb", - "image.tag": "0.53.0", + "image.tag": "0.57.0", }, }, } diff --git a/pkg/app/postgresql.go b/pkg/app/postgresql.go index b586b5a5ba..3afe29bcf2 100644 --- a/pkg/app/postgresql.go +++ b/pkg/app/postgresql.go @@ -52,7 +52,7 @@ func NewPostgresDB(name string, subPath string) App { Values: map[string]string{ "image.registry": "ghcr.io", "image.repository": "kanisterio/postgresql", - "image.tag": "0.53.0", + "image.tag": "0.57.0", "postgresqlPassword": "test@54321", "postgresqlExtendedConf.archiveCommand": "envdir /bitnami/postgresql/data/env wal-e wal-push %p", "postgresqlExtendedConf.archiveMode": "true", diff --git a/pkg/function/data_test.go b/pkg/function/data_test.go index 4fb115158c..85ea5b03a2 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: "ghcr.io/kanisterio/kanister-tools:0.53.0", + RestoreDataImageArg: "ghcr.io/kanisterio/kanister-tools:0.57.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: "ghcr.io/kanisterio/kanister-tools:0.53.0", + RestoreDataAllImageArg: "ghcr.io/kanisterio/kanister-tools:0.57.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: "ghcr.io/kanisterio/kanister-tools:0.53.0", + RestoreDataImageArg: "ghcr.io/kanisterio/kanister-tools:0.57.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 e9735a66f9..aa11b4b688 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 = "ghcr.io/kanisterio/postgres-kanister-tools:0.53.0" + postgresToolsImage = "ghcr.io/kanisterio/postgres-kanister-tools:0.57.0" ) type exportRDSSnapshotToLocationFunc struct{} diff --git a/pkg/function/kube_exec_test.go b/pkg/function/kube_exec_test.go index 98cb25a59d..18d852a101 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.53.0\"}", map[string]interface{}{"version": "0.53.0"}, IsNil, NotNil}, - {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.53.0\"}\n###Phase-output###: {\"key\":\"path\",\"value\":\"/backup/path\"}", - map[string]interface{}{"version": "0.53.0", "path": "/backup/path"}, IsNil, NotNil}, - {"Random message ###Phase-output###: {\"key\":\"version\",\"value\":\"0.53.0\"}", map[string]interface{}{"version": "0.53.0"}, IsNil, NotNil}, - {"Random message with newline \n###Phase-output###: {\"key\":\"version\",\"value\":\"0.53.0\"}", map[string]interface{}{"version": "0.53.0"}, IsNil, NotNil}, + {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.57.0\"}", map[string]interface{}{"version": "0.57.0"}, IsNil, NotNil}, + {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.57.0\"}\n###Phase-output###: {\"key\":\"path\",\"value\":\"/backup/path\"}", + map[string]interface{}{"version": "0.57.0", "path": "/backup/path"}, IsNil, NotNil}, + {"Random message ###Phase-output###: {\"key\":\"version\",\"value\":\"0.57.0\"}", map[string]interface{}{"version": "0.57.0"}, IsNil, NotNil}, + {"Random message with newline \n###Phase-output###: {\"key\":\"version\",\"value\":\"0.57.0\"}", map[string]interface{}{"version": "0.57.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 c1f38012d3..e4d0462c04 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.53.0", + "kando output version 0.57.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{}{ { - "version": "0.53.0", + "version": "0.57.0", }, {}, {}, diff --git a/pkg/function/utils.go b/pkg/function/utils.go index d2be74e08d..f52f9995c4 100644 --- a/pkg/function/utils.go +++ b/pkg/function/utils.go @@ -28,7 +28,7 @@ import ( const ( // FunctionOutputVersion returns version FunctionOutputVersion = "version" - kanisterToolsImage = "ghcr.io/kanisterio/kanister-tools:0.53.0" + kanisterToolsImage = "ghcr.io/kanisterio/kanister-tools:0.57.0" kanisterToolsImageEnvName = "KANISTER_TOOLS" ) diff --git a/pkg/kube/pod_test.go b/pkg/kube/pod_test.go index d7a102cba3..cd9aeedcef 100644 --- a/pkg/kube/pod_test.go +++ b/pkg/kube/pod_test.go @@ -44,7 +44,7 @@ type PodSuite struct { const ( testSAName = "test-sa" controllerSA = "controller-sa" - kanisterToolsImage = "ghcr.io/kanisterio/kanister-tools:0.53.0" + kanisterToolsImage = "ghcr.io/kanisterio/kanister-tools:0.57.0" ) var _ = Suite(&PodSuite{}) @@ -268,7 +268,7 @@ func (s *PodSuite) TestPodWithVolumes(c *C) { pod, err := CreatePod(ctx, cli, &PodOptions{ Namespace: s.namespace, GenerateName: "test-", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "tail -f /dev/null"}, Volumes: vols, }) @@ -285,7 +285,7 @@ func (s *PodSuite) TestGetPodLogs(c *C) { pod, err := CreatePod(context.Background(), s.cli, &PodOptions{ Namespace: s.namespace, GenerateName: "test-", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "echo hello"}, }) c.Assert(err, IsNil) @@ -301,7 +301,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -347,7 +347,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -387,7 +387,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -441,7 +441,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -502,7 +502,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -565,7 +565,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"echo", "override command"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -605,7 +605,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"echo", "override command"}, ImagePullPolicy: v1.PullPolicy(v1.PullIfNotPresent), VolumeMounts: []v1.VolumeMount{ @@ -648,7 +648,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.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 7cb8814d51..f848e4130f 100644 --- a/pkg/param/param_test.go +++ b/pkg/param/param_test.go @@ -721,7 +721,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.53.0"}) + UpdatePhaseParams(ctx, tp, "backup", map[string]interface{}{"version": "0.57.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 692f13d3af..df5251166a 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": "ghcr.io/kanisterio/kanister-tools:0.53.0", + "image": "ghcr.io/kanisterio/kanister-tools:0.57.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 efce38ba30..32f5993f89 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: "ghcr.io/kanisterio/kanister-tools:0.53.0", + Image: "ghcr.io/kanisterio/kanister-tools:0.57.0", Command: []string{"tail"}, Args: []string{"-f", "/dev/null"}, }, diff --git a/scripts/get.sh b/scripts/get.sh index fd6e75f2ac..4d8a9b2083 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -140,7 +140,7 @@ cleanup() { } main() { - version="${1:-"0.53.0"}" + version="${1:-"0.57.0"}" initArch initOS verifySupported