From 5b04ec2f019f9d43e6a620a2f2d57257cb71d6a6 Mon Sep 17 00:00:00 2001 From: liranmauda Date: Thu, 30 Apr 2020 09:42:10 +0300 Subject: [PATCH] Bump version to 2.2.0 Bump version to 2.2.0 (cherry picked from commit 36b4dd2e283244418f77f19dc1d444729736dbf5) --- README.md | 28 ++++++++++++++++++++-------- pkg/bundle/deploy.go | 2 +- pkg/options/options.go | 2 +- version/version.go | 2 +- 4 files changed, 23 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index af509ee85..efd68a092 100644 --- a/README.md +++ b/README.md @@ -20,19 +20,31 @@ For Linux wget https://github.com/noobaa/noobaa-operator/releases/download/v2.1.1/noobaa-linux-v2.1.1; mv noobaa-linux-* noobaa; chmod +x noobaa ``` -- Run: `./noobaa --help` for CLI usage -- Install the operator and noobaa with: `./noobaa install` - The install output includes S3 service endpoint and credentials, as well as web management console address with credentials. -- Getting this information is always available with: `./noobaa status` -- Remove NooBaa deployment can be done with: `./noobaa uninstall` +``` +$ noobaa options + +The following options can be passed to any command: + + --db-image='centos/mongodb-36-centos7': The database container image + --db-storage-class='': The database volume storage class name + --db-volume-size-gb=0: The database volume size in GB + --image-pull-secret='': Image pull secret (must be in same namespace) + --kubeconfig='': Paths to a kubeconfig. Only required if out-of-cluster. + --master='': The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if +out-of-cluster. + --mini=false: Signal the operator that it is running in a low resource environment + -n, --namespace='noobaa': Target namespace + --noobaa-image='noobaa/noobaa-core:5.4.0': NooBaa image + --operator-image='noobaa/noobaa-operator:2.2.0': Operator image + --pv-pool-default-storage-class='': The default storage class name for BackingStores of type pv-pool # Troubleshooting - The operator is running, but there is no noobaa-core-0 pod - Make sure that there is a single default storage class with `oc get sc`. run `oc describe sts` for more information - -- The operator is running, but the noobaa-core-0 is pending +INFO[0000] CLI version: 2.2.0 +INFO[0000] noobaa-image: noobaa/noobaa-core:5.4.0 +INFO[0000] operator-image: noobaa/noobaa-operator:2.2.0 Verify that there are enough resources. run `oc describe pod noobaa-core-0` for more information diff --git a/pkg/bundle/deploy.go b/pkg/bundle/deploy.go index 3063f71b3..53f9184be 100644 --- a/pkg/bundle/deploy.go +++ b/pkg/bundle/deploy.go @@ -1,6 +1,6 @@ package bundle -const Version = "2.1.1" +const Version = "2.2.0" const Sha256_deploy_cluster_role_yaml = "349e613915ed288629c4926e22cd42f4a3776ed38dfbc9e814a9b28211a67b3c" diff --git a/pkg/options/options.go b/pkg/options/options.go index e4c24e51a..bd4315d19 100644 --- a/pkg/options/options.go +++ b/pkg/options/options.go @@ -30,7 +30,7 @@ const ( // ContainerImageRepo is the repo of the default image url ContainerImageRepo = "noobaa-core" // ContainerImageTag is the tag of the default image url - ContainerImageTag = "5.3.1" + ContainerImageTag = "5.4.0-rc1" // ContainerImageSemverLowerBound is the lower bound for supported image versions ContainerImageSemverLowerBound = "5.0.0" // ContainerImageSemverUpperBound is the upper bound for supported image versions diff --git a/version/version.go b/version/version.go index aa07df403..65ad79a12 100644 --- a/version/version.go +++ b/version/version.go @@ -2,5 +2,5 @@ package version const ( // Version is the noobaa-operator version (semver) - Version = "2.1.1" + Version = "2.2.0" )