diff --git a/examples/aws-rds/postgresql/README.md b/examples/aws-rds/postgresql/README.md index 898b798027..f918920ea1 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.39.0 installed in your cluster +- Kanister controller version 0.40.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 cc91b260c3..b2f60c93e3 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.39.0 + image: kanisterio/kanister-tools:0.40.0 command: - bash - -o diff --git a/examples/stable/cassandra/README.md b/examples/stable/cassandra/README.md index ad2b0efd8c..a9feff9c9e 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.39.0 installed in your cluster, let's say in namespace `` +* Kanister controller version 0.40.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.39.0 --set config.cluster_size=2 +$ helm install --namespace "" "cassandra" incubator/cassandra --set image.repo=kanisterio/cassandra --set image.tag=0.40.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 6dbcafdd6d..53f33fd4fa 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.39.0 + image: kanisterio/kanister-tools:0.40.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 875c0a7c03..04eb5b211b 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.39.0 with `profiles.cr.kanister.io` CRD installed +* Kanister version 0.40.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 5a7803b982..ba07e87e4c 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.39.0" + image: "kanisterio/es-sidecar:0.40.0" command: - bash - -o @@ -38,7 +38,7 @@ actions: name: restoreFromObjectStore args: namespace: "{{ .StatefulSet.Namespace }}" - image: "kanisterio/es-sidecar:0.39.0" + image: "kanisterio/es-sidecar:0.40.0" command: - bash - -o @@ -58,7 +58,7 @@ actions: name: deleteFromObjectStore args: namespace: "{{ .Namespace.Name }}" - image: "kanisterio/es-sidecar:0.39.0" + image: "kanisterio/es-sidecar:0.40.0" command: - bash - -o diff --git a/examples/stable/foundationdb/README.md b/examples/stable/foundationdb/README.md index ce984c2f7f..7e87e4cb0f 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.39.0 with `profiles.cr.kanister.io` CRD installed. +* Kanister version 0.40.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 b1b62bcd80..9b169e1315 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.39.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.40.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 d517821d58..85bf260ac0 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.39.0 + image: kanisterio/mongodb:0.40.0 command: - bash - -o @@ -47,7 +47,7 @@ actions: namespace: "{{ .DeploymentConfig.Namespace }}" args: namespace: "{{ .DeploymentConfig.Namespace }}" - image: kanisterio/mongodb:0.39.0 + image: kanisterio/mongodb:0.40.0 command: - bash - -o @@ -69,7 +69,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/mongodb:0.39.0 + image: kanisterio/mongodb:0.40.0 command: - bash - -o diff --git a/examples/stable/mongodb-restic/README.md b/examples/stable/mongodb-restic/README.md index 954e347909..d3f7efe245 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.39.0 installed in your cluster +* Kanister controller version 0.40.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=kanisterio/mongodb \ - --set image.tag=0.39.0 + --set image.tag=0.40.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 412ccfe8e1..ee18607b52 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: kanisterio/kanister-tools:0.39.0 + image: kanisterio/kanister-tools:0.40.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 2f52dfbb80..82b9744732 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.39.0 installed in your cluster +* Kanister controller version 0.40.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 678a9249aa..c59e753f9d 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.39.0 + image: kanisterio/mongodb:0.40.0 command: - bash - -o @@ -46,7 +46,7 @@ actions: namespace: "{{ .StatefulSet.Namespace }}" args: namespace: "{{ .StatefulSet.Namespace }}" - image: kanisterio/mongodb:0.39.0 + image: kanisterio/mongodb:0.40.0 command: - bash - -o @@ -68,7 +68,7 @@ actions: name: deleteFromBlobStore args: namespace: "{{ .Namespace.Name }}" - image: kanisterio/mongodb:0.39.0 + image: kanisterio/mongodb:0.40.0 command: - bash - -o diff --git a/examples/stable/mysql-deploymentconfig/README.md b/examples/stable/mysql-deploymentconfig/README.md index ffcfc2a8a2..c212e33c58 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.39.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.40.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 2122b328ab..81ad80e6cb 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.39.0 + image: kanisterio/mysql-sidecar:0.40.0 namespace: "{{ .DeploymentConfig.Namespace }}" command: - bash @@ -45,7 +45,7 @@ actions: name: "{{ .DeploymentConfig.Name }}" namespace: "{{ .DeploymentConfig.Namespace }}" args: - image: kanisterio/mysql-sidecar:0.39.0 + image: kanisterio/mysql-sidecar:0.40.0 namespace: "{{ .DeploymentConfig.Namespace }}" command: - bash @@ -66,7 +66,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: kanisterio/mysql-sidecar:0.39.0 + image: kanisterio/mysql-sidecar:0.40.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/mysql/README.md b/examples/stable/mysql/README.md index 14a22a00ee..7092a3657a 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.39.0 installed in your cluster, let's assume in Namespace `kanister` +- Kanister controller version 0.40.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 cc4a11aa30..bdaef716c2 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.39.0 + image: kanisterio/mysql-sidecar:0.40.0 namespace: "{{ .Deployment.Namespace }}" command: - bash @@ -45,7 +45,7 @@ actions: name: '{{ .Deployment.Name }}' namespace: '{{ .Deployment.Namespace }}' args: - image: kanisterio/mysql-sidecar:0.39.0 + image: kanisterio/mysql-sidecar:0.40.0 namespace: "{{ .Deployment.Namespace }}" command: - bash @@ -66,7 +66,7 @@ actions: - func: KubeTask name: deleteFromBlobStore args: - image: kanisterio/mysql-sidecar:0.39.0 + image: kanisterio/mysql-sidecar:0.40.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/postgresql-deploymentconfig/README.md b/examples/stable/postgresql-deploymentconfig/README.md index d39e261354..510c83fd30 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.39.0 installed in your cluster in namespace `kanister` +- Kanister controller version 0.40.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 46026efc3c..943903c197 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.39.0 + image: kanisterio/postgres-kanister-tools:0.40.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.39.0 + image: kanisterio/postgres-kanister-tools:0.40.0 namespace: '{{ .DeploymentConfig.Namespace }}' command: - bash @@ -70,7 +70,7 @@ actions: - func: KubeTask name: deleteDump args: - image: kanisterio/postgres-kanister-tools:0.39.0 + image: kanisterio/postgres-kanister-tools:0.40.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/stable/postgresql-wale/README.md b/examples/stable/postgresql-wale/README.md index 2b7328e15f..cee1cadfd1 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.39.0 installed in your cluster +- Kanister controller version 0.40.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=kanisterio/postgresql \ - --set image.tag=0.39.0 \ + --set image.tag=0.40.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.39.0 +$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.40.0 ``` ## Integrating with Kanister diff --git a/examples/stable/postgresql-wale/postgresql-blueprint.yaml b/examples/stable/postgresql-wale/postgresql-blueprint.yaml index d8291f0e7c..ad8c0e9358 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.39.0" + image: "kanisterio/postgresql:0.40.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.39.0" + image: "kanisterio/postgresql:0.40.0" command: - bash - -o diff --git a/examples/stable/postgresql/README.md b/examples/stable/postgresql/README.md index 5a03d89a95..a60dbfc6e8 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.39.0 installed in your cluster +- Kanister controller version 0.40.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.39.0 +$ helm install --name kanister --namespace kasten-io kanister/kanister-operator --set image.tag=0.40.0 ``` ## Integrating with Kanister diff --git a/examples/stable/postgresql/postgres-blueprint.yaml b/examples/stable/postgresql/postgres-blueprint.yaml index e304421a25..b1e3a82d49 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: kanisterio/postgres-kanister-tools:0.39.0 + image: kanisterio/postgres-kanister-tools:0.40.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: kanisterio/postgres-kanister-tools:0.39.0 + image: kanisterio/postgres-kanister-tools:0.40.0 namespace: '{{ .StatefulSet.Namespace }}' command: - bash @@ -70,7 +70,7 @@ actions: - func: KubeTask name: deleteDump args: - image: kanisterio/postgres-kanister-tools:0.39.0 + image: kanisterio/postgres-kanister-tools:0.40.0 namespace: "{{ .Namespace.Name }}" command: - bash diff --git a/examples/time-log/blueprint.yaml b/examples/time-log/blueprint.yaml index 2da700a4c5..a00d7ebd07 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.39.0 + image: kanisterio/kanister-tools:0.40.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 b39a3a7f0f..ea0b1104de 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.39.0 + image: kanisterio/kanister-tools:0.40.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 cd76916c9d..e124921a4c 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.39.0 +appVersion: 0.40.0 source: https://github.com/kanisterio/kanister diff --git a/helm/kanister-operator/values.yaml b/helm/kanister-operator/values.yaml index 48980519b6..ebefcd143d 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.39.0 + tag: 0.40.0 pullPolicy: IfNotPresent rbac: create: true diff --git a/helm/profile/Chart.yaml b/helm/profile/Chart.yaml index 7f133657e1..a589d9bbbf 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.39.0 +version: 0.40.0 maintainers: - email: tom@kasten.io name: tdmanv diff --git a/pkg/app/cassandra.go b/pkg/app/cassandra.go index 75ff1fca10..6525a0e3eb 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.39.0", + "image.tag": "0.40.0", "config.cluster_size": "1", }, }, diff --git a/pkg/app/mongodb.go b/pkg/app/mongodb.go index 79ef7f95a7..bede30284d 100644 --- a/pkg/app/mongodb.go +++ b/pkg/app/mongodb.go @@ -62,7 +62,7 @@ func NewMongoDB(name string) App { Values: map[string]string{ "architecture": "replicaset", "image.repository": "kanisterio/mongodb", - "image.tag": "0.39.0", + "image.tag": "0.40.0", }, }, } diff --git a/pkg/app/postgresql.go b/pkg/app/postgresql.go index ec64fdfda9..228d5f3459 100644 --- a/pkg/app/postgresql.go +++ b/pkg/app/postgresql.go @@ -51,7 +51,7 @@ func NewPostgresDB(name string) App { Chart: "postgresql", Values: map[string]string{ "image.repository": "kanisterio/postgresql", - "image.tag": "0.39.0", + "image.tag": "0.40.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 152970f5a3..0abe1e3101 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.39.0" + image: "kanisterio/postgres-kanister-tools:0.40.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash @@ -44,7 +44,7 @@ actions: - func: KubeTask name: restoreSnapshots args: - image: "kanisterio/postgres-kanister-tools:0.39.0" + image: "kanisterio/postgres-kanister-tools:0.40.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash @@ -76,7 +76,7 @@ actions: - func: KubeTask name: restoreSnapshots args: - image: "kanisterio/postgres-kanister-tools:0.39.0" + image: "kanisterio/postgres-kanister-tools:0.40.0" namespace: "{{ .Object.metadata.namespace }}" command: - bash diff --git a/pkg/function/data_test.go b/pkg/function/data_test.go index 98af0130c8..9263fd2089 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.39.0", + RestoreDataImageArg: "kanisterio/kanister-tools:0.40.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.39.0", + RestoreDataAllImageArg: "kanisterio/kanister-tools:0.40.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.39.0", + RestoreDataImageArg: "kanisterio/kanister-tools:0.40.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 8d01b4f26d..470cfba4eb 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.39.0" + postgresToolsImage = "kanisterio/postgres-kanister-tools:0.40.0" ) type exportRDSSnapshotToLocationFunc struct{} diff --git a/pkg/function/kube_exec_test.go b/pkg/function/kube_exec_test.go index 5c5ed9304a..d1f8d79eb8 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.39.0\"}", map[string]interface{}{"version": "0.39.0"}, IsNil, NotNil}, - {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.39.0\"}\n###Phase-output###: {\"key\":\"path\",\"value\":\"/backup/path\"}", - map[string]interface{}{"version": "0.39.0", "path": "/backup/path"}, IsNil, NotNil}, - {"Random message ###Phase-output###: {\"key\":\"version\",\"value\":\"0.39.0\"}", map[string]interface{}{"version": "0.39.0"}, IsNil, NotNil}, - {"Random message with newline \n###Phase-output###: {\"key\":\"version\",\"value\":\"0.39.0\"}", map[string]interface{}{"version": "0.39.0"}, IsNil, NotNil}, + {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.40.0\"}", map[string]interface{}{"version": "0.40.0"}, IsNil, NotNil}, + {"###Phase-output###: {\"key\":\"version\",\"value\":\"0.40.0\"}\n###Phase-output###: {\"key\":\"path\",\"value\":\"/backup/path\"}", + map[string]interface{}{"version": "0.40.0", "path": "/backup/path"}, IsNil, NotNil}, + {"Random message ###Phase-output###: {\"key\":\"version\",\"value\":\"0.40.0\"}", map[string]interface{}{"version": "0.40.0"}, IsNil, NotNil}, + {"Random message with newline \n###Phase-output###: {\"key\":\"version\",\"value\":\"0.40.0\"}", map[string]interface{}{"version": "0.40.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 1baa7a761f..1aab53f0b2 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.39.0", + "kando output version 0.40.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.39.0", + "version": "0.40.0", }, map[string]interface{}{}, map[string]interface{}{}, diff --git a/pkg/function/utils.go b/pkg/function/utils.go index 36b38884ae..c0d54a36a8 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.39.0" + kanisterToolsImage = "kanisterio/kanister-tools:0.40.0" kanisterToolsImageEnvName = "KANISTER_TOOLS" ) diff --git a/pkg/kube/pod_test.go b/pkg/kube/pod_test.go index 55d322da55..8dea10958c 100644 --- a/pkg/kube/pod_test.go +++ b/pkg/kube/pod_test.go @@ -43,7 +43,7 @@ type PodSuite struct { const ( testSAName = "test-sa" controllerSA = "controller-sa" - kanisterToolsImage = "kanisterio/kanister-tools:0.39.0" + kanisterToolsImage = "kanisterio/kanister-tools:0.40.0" ) var _ = Suite(&PodSuite{}) @@ -214,7 +214,7 @@ func (s *PodSuite) TestPodWithVolumes(c *C) { pod, err := CreatePod(ctx, cli, &PodOptions{ Namespace: s.namespace, GenerateName: "test-", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"sh", "-c", "tail -f /dev/null"}, Volumes: vols, }) @@ -231,7 +231,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.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"sh", "-c", "echo hello"}, }) c.Assert(err, IsNil) @@ -247,7 +247,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -293,7 +293,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -333,7 +333,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.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: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -448,7 +448,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"sh", "-c", "echo in default specs"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -511,7 +511,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"echo", "override command"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -551,7 +551,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"echo", "override command"}, ImagePullPolicy: v1.PullPolicy(v1.PullAlways), VolumeMounts: []v1.VolumeMount{ @@ -594,7 +594,7 @@ func (s *PodSuite) TestPatchDefaultPodSpecs(c *C) { Containers: []v1.Container{ { Name: "container", - Image: "kanisterio/kanister-tools:0.39.0", + Image: "kanisterio/kanister-tools:0.40.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 8634ee8811..23436e7c7b 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.39.0"}) + UpdatePhaseParams(ctx, tp, "backup", map[string]interface{}{"version": "0.40.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 28e1fd755f..e0f8162e98 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.39.0", + "image": "kanisterio/kanister-tools:0.40.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 9eb0bebc33..165c7887ec 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.39.0", + Image: "kanisterio/kanister-tools:0.40.0", Command: []string{"tail"}, Args: []string{"-f", "/dev/null"}, }, diff --git a/scripts/get.sh b/scripts/get.sh index 7668bdbe8a..224aa9c062 100755 --- a/scripts/get.sh +++ b/scripts/get.sh @@ -140,7 +140,7 @@ cleanup() { } main() { - version="${1:-"0.39.0"}" + version="${1:-"0.40.0"}" initArch initOS verifySupported