From c64734337ac1e3514bc49fca748d836cb14cd10c Mon Sep 17 00:00:00 2001 From: Sergio Ballesteros Date: Wed, 28 Dec 2022 17:16:31 +0100 Subject: [PATCH] Release v1.2.4 --- Makefile | 2 +- README.md | 8 ++++---- charts/redisoperator/Chart.yaml | 4 ++-- charts/redisoperator/values.yaml | 4 ++-- manifests/kustomize/components/version/kustomization.yaml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Makefile b/Makefile index 5c3a867d8..af392a2da 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION := v1.2.3 +VERSION := v1.2.4 # Name of this service/application SERVICE_NAME := redis-operator diff --git a/README.md b/README.md index 0964e230a..f27d99e01 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.3 +REDIS_OPERATOR_VERSION=v1.2.4 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.3 +REDIS_OPERATOR_VERSION=v1.2.4 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.3 +kustomize build github.com/spotahome/redis-operator/manifests/kustomize/overlays/default?ref=v1.2.4 ``` 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.3 +REDIS_OPERATOR_VERSION=v1.2.4 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 76f6f1439..eac551ba2 100644 --- a/charts/redisoperator/Chart.yaml +++ b/charts/redisoperator/Chart.yaml @@ -1,6 +1,6 @@ annotations: category: Redis Operator -appVersion: 1.2.3 +appVersion: 1.2.4 apiVersion: v1 description: A Helm chart for the Spotahome Redis Operator name: redis-operator @@ -12,4 +12,4 @@ keywords: - "cluster" sources: - https://github.com/spotahome/redis-operator -kubeVersion: '>=1.21.0-0' +kubeVersion: ">=1.21.0-0" diff --git a/charts/redisoperator/values.yaml b/charts/redisoperator/values.yaml index 7f12597ba..e551a3961 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.3 + tag: v1.2.4 imageCredentials: create: false @@ -16,7 +16,7 @@ imageCredentials: email: someone@example.com # Use exists secrets in namespace existsSecrets: - - registrysecret + - registrysecret updateStrategy: type: RollingUpdate diff --git a/manifests/kustomize/components/version/kustomization.yaml b/manifests/kustomize/components/version/kustomization.yaml index ea2665750..92ecf994d 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.3 + app.kubernetes.io/version: 1.2.4 images: - name: quay.io/spotahome/redis-operator - newTag: v1.2.3 + newTag: v1.2.4