Skip to content

Commit

Permalink
[DEVOPS-824] Change limit to 48 characters for RF names
Browse files Browse the repository at this point in the history
  • Loading branch information
Julio Chana committed Sep 14, 2018
1 parent 7a7eeda commit f82dce7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ This redis-failover will be managed by the operator, resulting in the following
* `rfs-<NAME>`: Sentinel service

**NOTE**: `NAME` is the named provided when creating the RedisFailover.
**IMPORTANT**: the name of the redis-failover to be created cannot be longer that 58 characters, due to prepend of redis/sentinel identification.
**IMPORTANT**: the name of the redis-failover to be created cannot be longer that 48 characters, due to prepend of redis/sentinel identification and statefulset limitation.

### Persistance
The operator has the ability of add persistance to Redis data. By default an `emptyDir` will be used, so the data is not saved.
Expand Down
2 changes: 1 addition & 1 deletion api/redisfailover/v1alpha2/validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
)

const (
maxNameLength = 58
maxNameLength = 48
)

// Validate set the values by default if not defined and checks if the values given are valid
Expand Down

0 comments on commit f82dce7

Please sign in to comment.