diff --git a/example/v1beta2/backup_restore/backup/env-secrets.yaml b/example/v1beta2/backup_restore/backup/env-secrets.yaml index 430118c13..ae124980b 100644 --- a/example/v1beta2/backup_restore/backup/env-secrets.yaml +++ b/example/v1beta2/backup_restore/backup/env-secrets.yaml @@ -14,5 +14,5 @@ stringData: BACKUP_DESTINATION: AWS_S3 AWS_S3_BUCKET: shubham-redis AWS_DEFAULT_REGION: ap-south-1 - AWS_ACCESS_KEY_ID: "AKIA4C3B4OYHOLOWCGMB" - AWS_SECRET_ACCESS_KEY: "xOMLu/yz02i+SmScjmyZxD2os/8xO5ymDwjlvPD6" \ No newline at end of file + AWS_ACCESS_KEY_ID: "" + AWS_SECRET_ACCESS_KEY: "" \ No newline at end of file diff --git a/example/v1beta2/backup_restore/configmap.yaml b/example/v1beta2/backup_restore/restore/configmap.yaml similarity index 100% rename from example/v1beta2/backup_restore/configmap.yaml rename to example/v1beta2/backup_restore/restore/configmap.yaml diff --git a/example/v1beta2/backup_restore/env-secret.yaml b/example/v1beta2/backup_restore/restore/env-secret.yaml similarity index 79% rename from example/v1beta2/backup_restore/env-secret.yaml rename to example/v1beta2/backup_restore/restore/env-secret.yaml index d0cdea45a..03748498a 100644 --- a/example/v1beta2/backup_restore/env-secret.yaml +++ b/example/v1beta2/backup_restore/restore/env-secret.yaml @@ -10,9 +10,6 @@ stringData: DEFAULT_FILE_PATH: /data/dump.rdb RESTIC_PASSWORD: abc@123 RESTIC_CACHE_DIR: "/tmp/restic_cache" - DEFAULT_REDIS_HOST: redis-cluster-leader-0 - DEFAULT_REDIS_PORT: "6379" - DEFAULT_REDIS_PASSWORD: "" BACKUP_DESTINATION: AWS_S3 AWS_S3_BUCKET: shubham-redis AWS_DEFAULT_REGION: ap-south-1 diff --git a/example/v1beta2/backup_restore/redis-cluster.yaml b/example/v1beta2/backup_restore/restore/redis-cluster.yaml similarity index 87% rename from example/v1beta2/backup_restore/redis-cluster.yaml rename to example/v1beta2/backup_restore/restore/redis-cluster.yaml index 8744c451f..e8f857fa6 100644 --- a/example/v1beta2/backup_restore/redis-cluster.yaml +++ b/example/v1beta2/backup_restore/restore/redis-cluster.yaml @@ -27,7 +27,7 @@ spec: # - name: regcred initContainer: enabled: true - image: shubham192001/restore:latest + image: quay.io/opstree/redis-operator-restore:latest imagePullPolicy: Always command: ["/bin/bash", "-c", "/app/restore.bash"] resources: @@ -63,21 +63,6 @@ spec: secretKeyRef: name: env-secrets key: RESTIC_CACHE_DIR - - name: DEFAULT_REDIS_HOST - valueFrom: - secretKeyRef: - name: env-secrets - key: DEFAULT_REDIS_HOST - - name: DEFAULT_REDIS_PORT - valueFrom: - secretKeyRef: - name: env-secrets - key: DEFAULT_REDIS_PORT - - name: DEFAULT_REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: env-secrets - key: DEFAULT_REDIS_PASSWORD - name: BACKUP_DESTINATION valueFrom: secretKeyRef: @@ -138,6 +123,7 @@ spec: resources: requests: storage: 1Gi + nodeConfVolume: true nodeConfVolumeClaimTemplate: spec: accessModes: ["ReadWriteOnce"] diff --git a/example/v1beta2/redis-cluster.yaml b/example/v1beta2/redis-cluster.yaml index f32a8f4a5..b9881f06d 100644 --- a/example/v1beta2/redis-cluster.yaml +++ b/example/v1beta2/redis-cluster.yaml @@ -11,7 +11,7 @@ spec: runAsUser: 1000 fsGroup: 1000 kubernetesConfig: - image: quay.io/opstree/redis:v7.0.5 + image: quay.io/opstree/redis:v7.0.11 imagePullPolicy: IfNotPresent resources: requests: @@ -64,6 +64,7 @@ spec: resources: requests: storage: 1Gi + nodeConfVolume: true nodeConfVolumeClaimTemplate: spec: accessModes: ["ReadWriteOnce"]