From 5d1cd3ec59863b3ee9cca581e2dfe03c871fb216 Mon Sep 17 00:00:00 2001 From: Sergio Ballesteros Date: Fri, 21 Oct 2022 11:11:44 +0200 Subject: [PATCH] Bump v1.2.2 --- Makefile | 2 +- README.md | 8 ++++---- charts/redisoperator/Chart.yaml | 4 ++-- charts/redisoperator/values.yaml | 2 +- manifests/kustomize/components/version/kustomization.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 21ca105b7..e93af3205 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := v1.2.1 +VERSION := v1.2.2 # Name of this service/application SERVICE_NAME := redis-operator diff --git a/README.md b/README.md index 5d6a4d23b..9c826678e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ helm install redis-operator redis-operator/redis-operator Helm chart only manage the creation of CRD in the first install. In order to update the CRD you will need to apply directly. ``` -REDIS_OPERATOR_VERSION=v1.2.1 +REDIS_OPERATOR_VERSION=v1.2.2 kubectl replace -f https://raw.githubusercontent.com/spotahome/redis-operator/${REDIS_OPERATOR_VERSION}/manifests/databases.spotahome.com_redisfailovers.yaml ``` @@ -45,7 +45,7 @@ helm upgrade redis-operator redis-operator/redis-operator To create the operator, you can directly create it with kubectl: ``` -REDIS_OPERATOR_VERSION=v1.2.1 +REDIS_OPERATOR_VERSION=v1.2.2 kubectl create -f https://raw.githubusercontent.com/spotahome/redis-operator/${REDIS_OPERATOR_VERSION}/manifests/databases.spotahome.com_redisfailovers.yaml kubectl apply -f https://raw.githubusercontent.com/spotahome/redis-operator/${REDIS_OPERATOR_VERSION}/example/operator/all-redis-operator-resources.yaml ``` @@ -70,7 +70,7 @@ Finally, you can install the `full` overlay if you want everything this operator It's always a good practice to pin the version of the operator in your configuration to make sure you are not surprised by changes on the latest development branch: ```shell -kustomize build github.com/spotahome/redis-operator/manifests/kustomize/overlays/default?ref=v1.2.1 +kustomize build github.com/spotahome/redis-operator/manifests/kustomize/overlays/default?ref=v1.2.2 ``` You can easily create your own config by creating a `kustomization.yaml` file @@ -98,7 +98,7 @@ Once the operator is deployed inside a Kubernetes cluster, a new API will be acc In order to deploy a new redis-failover a [specification](example/redisfailover/basic.yaml) has to be created: ``` -REDIS_OPERATOR_VERSION=v1.2.1 +REDIS_OPERATOR_VERSION=v1.2.2 kubectl create -f https://raw.githubusercontent.com/spotahome/redis-operator/${REDIS_OPERATOR_VERSION}/example/redisfailover/basic.yaml ``` diff --git a/charts/redisoperator/Chart.yaml b/charts/redisoperator/Chart.yaml index f0c330be2..f0326dd83 100644 --- a/charts/redisoperator/Chart.yaml +++ b/charts/redisoperator/Chart.yaml @@ -1,10 +1,10 @@ annotations: category: Redis Operator -appVersion: 1.2.1 +appVersion: 1.2.2 apiVersion: v1 description: A Helm chart for the Spotahome Redis Operator name: redis-operator -version: 3.2.3 +version: 3.2.4 home: https://github.com/spotahome/redis-operator keywords: - "golang" diff --git a/charts/redisoperator/values.yaml b/charts/redisoperator/values.yaml index 8851ff060..332982c0e 100644 --- a/charts/redisoperator/values.yaml +++ b/charts/redisoperator/values.yaml @@ -6,7 +6,7 @@ image: repository: quay.io/spotahome/redis-operator pullPolicy: IfNotPresent - tag: v1.2.1 + tag: v1.2.2 imageCredentials: create: false diff --git a/manifests/kustomize/components/version/kustomization.yaml b/manifests/kustomize/components/version/kustomization.yaml index df6fd7fad..eda00c880 100644 --- a/manifests/kustomize/components/version/kustomization.yaml +++ b/manifests/kustomize/components/version/kustomization.yaml @@ -3,8 +3,8 @@ kind: Component labels: - pairs: - app.kubernetes.io/version: 1.2.1 + app.kubernetes.io/version: 1.2.2 images: - name: quay.io/spotahome/redis-operator - newTag: v1.2.1 + newTag: v1.2.2