Skip to content

Commit

Permalink
Bump to v1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ese committed Sep 8, 2022
1 parent 78dcad4 commit 48d91b7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION := v1.2.0-rc1
VERSION := v1.2.0

# Name of this service/application
SERVICE_NAME := redis-operator
Expand Down
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Redis Operator creates/configures/manages redis-failovers atop Kubernetes.

## Requirements

Redis Operator is meant to be run on Kubernetes 1.19+.
Redis operator is being tested against kubernetes 1.22 1.23 1.24
All dependencies have been vendored, so there's no need to any additional download.

## Operator deployment on Kubernetes
Expand All @@ -30,7 +30,8 @@ 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.

```
kubectl apply -f https://raw.githubusercontent.com/spotahome/redis-operator/master/manifests/databases.spotahome.com_redisfailovers.yaml
REDIS_OPERATOR_VERSION=v1.2.0
kubectl replace -f https://raw.githubusercontent.com/spotahome/redis-operator/${REDIS_OPERATOR_VERSION}/manifests/databases.spotahome.com_redisfailovers.yaml
```

```
Expand All @@ -41,8 +42,9 @@ helm upgrade redis-operator redis-operator/redis-operator
To create the operator, you can directly create it with kubectl:

```
kubectl apply -f https://raw.githubusercontent.com/spotahome/redis-operator/master/manifests/databases.spotahome.com_redisfailovers.yaml
kubectl apply -f https://raw.githubusercontent.com/spotahome/redis-operator/master/example/operator/all-redis-operator-resources.yaml
REDIS_OPERATOR_VERSION=v1.2.0
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
```

This will create a deployment named `redisoperator`.
Expand Down Expand Up @@ -93,7 +95,8 @@ 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:
```
kubectl create -f https://raw.githubusercontent.com/spotahome/redis-operator/master/example/redisfailover/basic.yaml
REDIS_OPERATOR_VERSION=v1.2.0
kubectl create -f https://raw.githubusercontent.com/spotahome/redis-operator/${REDIS_OPERATOR_VERSION}/example/redisfailover/basic.yaml
```

This redis-failover will be managed by the operator, resulting in the following elements created inside Kubernetes:
Expand Down
4 changes: 2 additions & 2 deletions charts/redisoperator/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
annotations:
category: Redis Operator
appVersion: 1.1.1
appVersion: 1.2.0
apiVersion: v1
description: A Helm chart for the Spotahome Redis Operator
name: redis-operator
version: 3.1.6
version: 3.2.0
home: https://github.com/spotahome/redis-operator
keywords:
- "golang"
Expand Down
4 changes: 2 additions & 2 deletions charts/redisoperator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# Name of the image repository to pull the container image from.
image:
repository: quay.io/spotahome/redis-operator
pullPolicy: Always
tag: v1.1.1
pullPolicy: IfNotPresent
tag: v1.2.0

imageCredentials:
create: false
Expand Down

0 comments on commit 48d91b7

Please sign in to comment.