Skip to content

Commit fa8331f

Browse files
Update Redis
Signed-off-by: souravbiswassanto <[email protected]>
1 parent 567a158 commit fa8331f

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

content/post/kubedb-v2025.5.30/index.md

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ spec:
247247
```bash
248248
➤ kubectl get hazelcast -n demo hazelcast-standalone
249249
NAME VERSION STATUS AGE
250-
hazelcast-standalone 5.5.2 Ready 2m39s
250+
hazelcast-standalone 5.5.2 Ready 2m39s
251251
```
252252

253253
### Deploy a `Replicaset` Instance with multiple replicas
@@ -492,11 +492,14 @@ Finally, the operator will update the database cluster with the new credential a
492492

493493

494494
## Redis
495-
New Feature: Rotate Authentication Credentials for Redis
495+
### New Feature: Rotate Authentication Credentials for Redis
496496
`RotateAuth` OpsRequest for `Redis` has been added. If a user wants to update the authentication credentials for a particular database, they can create an `OpsRequest` of type `RotateAuth` with or without referencing an authentication secret.
497-
Rotate Authentication Without Referencing a Secret
497+
498+
#### Rotate Authentication Without Referencing a Secret
498499
If the secret is not referenced, the `ops-manager` operator will create new credentials and update the existing secret with the new credentials.
500+
499501
Example YAML:
502+
500503
```yaml
501504
apiVersion: ops.kubedb.com/v1alpha1
502505
kind: RedisOpsRequest
@@ -509,7 +512,7 @@ spec:
509512
name: rd-demo
510513
```
511514

512-
Rotate Authentication With a Referenced Secret
515+
#### Rotate Authentication With a Referenced Secret
513516
If a secret is referenced, the operator will update the `.spec.authSecret.name` field with the new secret name. Archives the old credentials in the newly created secret under the keys `username.prev` and `password.prev`.
514517

515518
New Secret Example:
@@ -542,12 +545,15 @@ spec:
542545
```
543546
Finally, the operator will update the database with the new credential and the old credentials will be stored in the secret with keys `username.prev` and `password.prev`. We have added a field `.spec.authSecret.activeFrom` to the db yaml which refers to the timestamp of the credential is active from. We also add an annotation `kubedb.com/auth-active-from` in currently using auth secret which refers to the active from time of this secret.
544547

548+
**Note:** The `RotateAuth` OpsRequest can be applied to **Valkey** in the same way as it is for **Redis**.
549+
545550
## RedisSentinel
546551

547552
### Rotate Authentication Credentials for RedisSentinel
548553
`RotateAuth` OpsRequest for `RedisSentinel` has been added. If a user wants to update the authentication credentials for `RedisSentinel`, they can create an `OpsRequest` of type `RotateAuth` with or without referencing an authentication secret.
549-
Rotate Authentication Without Referencing a Secret
554+
#### Rotate Authentication Without Referencing a Secret
550555
If the secret is not referenced, the `ops-manager` operator will create new credentials and update the existing secret with the new credentials.
556+
551557
Example YAML:
552558
```yaml
553559
apiVersion: ops.kubedb.com/v1alpha1
@@ -561,8 +567,9 @@ spec:
561567
name: sen-demo
562568
```
563569

564-
### Rotate Authentication With a Referenced Secret
570+
#### Rotate Authentication With a Referenced Secret
565571
If a secret is referenced, the operator will update the `.spec.authSecret.name` field with the new secret name. Archives the old credentials in the newly created secret under the keys `username.prev` and `password.prev`.
572+
566573
New Secret Example:
567574
```yaml
568575
apiVersion: v1
@@ -593,7 +600,7 @@ spec:
593600
```
594601
Finally, the operator will update the sentinel with the new credential and the old credentials will be stored in the secret with keys `username.prev` and `password.prev`. We have added a field `.spec.authSecret.activeFrom` to the db yaml which refers to the timestamp of the credential is active from. We also add an annotation `kubedb.com/auth-active-from` in currently using auth secret which refers to the active from time of this secret.
595602

596-
603+
**Note:** The `RotateAuth` OpsRequest can be applied to **Valkeysentinel** in the same way as it is for **Redissentinel**.
597604
## SingleStore
598605

599606
In this release, we have addressed a bug related to the SingleStore Backup process. Previously the `databases` flag was not functioning properly, which occasionally caused issues during backup. This issue has been fixed in this release.

0 commit comments

Comments
 (0)