From 1b34773208273da74d73fbb43fde01d36e172c44 Mon Sep 17 00:00:00 2001 From: Samuel Vijaykumar M Date: Tue, 6 Sep 2022 12:30:35 +0530 Subject: [PATCH] Update readme --- README.md | 29 +++++++++++++++++++++++++---- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c31eb8b9e..692e1fff6 100644 --- a/README.md +++ b/README.md @@ -170,23 +170,44 @@ If the user choose to have extra volumes creates and mounted, he could use the ` - Secrets that sidecars might use to backup of RDBs - Extra users and their secrets and acls that could used the initContainers to create multiple users - Extra Configurations that could merge on top the existing configurations +- To pass failover scripts for addition for additional operations ``` +--- +apiVersion: v1 +kind: Secret +metadata: + name: foo + namespace: exm +type: Opaque +stringData: + password: MWYyZDFlMmU2N2Rm +--- apiVersion: databases.spotahome.com/v1 kind: RedisFailover metadata: - name: redisfailover + name: foo + namespace: exm spec: sentinel: replicas: 3 + extraVolumes: + - name: foo + secret: + secretName: foo + optional: false + extraVolumeMounts: + - name: foo + mountPath: "/etc/foo" + readOnly: true redis: replicas: 3 extraVolumes: - - name: foo_user + - name: foo secret: - secretName: mysecret + secretName: foo optional: false - exraVolumeMounts: + extraVolumeMounts: - name: foo mountPath: "/etc/foo" readOnly: true