Skip to content

Commit

Permalink
Add Redis Init Script Doc (#658)
Browse files Browse the repository at this point in the history
Signed-off-by: AbdullahAlShaad <[email protected]>
  • Loading branch information
AbdullahAlShaad authored Aug 6, 2024
1 parent 38afc7c commit 0496b01
Show file tree
Hide file tree
Showing 3 changed files with 470 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/examples/redis/initialization/demo-1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
apiVersion: kubedb.com/v1alpha2
kind: Redis
metadata:
name: rd-init-script
namespace: demo
spec:
version: 7.2.3
disableAuth: false
storageType: Durable
init:
script:
projected:
sources:
- configMap:
name: redis-init-script
storage:
storageClassName: "standard"
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 1Gi
10 changes: 10 additions & 0 deletions docs/guides/redis/initialization/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
title: MongoDB Initialization
menu:
docs_{{ .version }}:
identifier: rd-initialization-redis
name: Initialization
parent: rd-redis-guides
weight: 41
menu_name: docs_{{ .version }}
---
Loading

0 comments on commit 0496b01

Please sign in to comment.