Skip to content

Commit

Permalink
CRD example now has multiple resources in it
Browse files Browse the repository at this point in the history
  • Loading branch information
WyriHaximus committed Jan 16, 2021
1 parent 5c98b44 commit 306a138
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions crd/v1-example.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
apiVersion: wyrihaximus.net/v1
kind: RedisDatabase
metadata:
Expand All @@ -6,5 +7,16 @@ spec:
secret:
name: example-redis-database
service:
read: redis://redis-follower.redis.svc.cluster.local:6379/
write: redis://redis-leader.redis.svc.cluster.local:6379/
read: redis://redis-slave.redis.svc.cluster.local:6379/
write: redis://redis-master.redis.svc.cluster.local:6379/
---
apiVersion: wyrihaximus.net/v1
kind: RedisDatabase
metadata:
name: another-example
spec:
secret:
name: another-example-redis-database
service:
read: redis://redis-slave.redis.svc.cluster.local:6379/
write: redis://redis-master.redis.svc.cluster.local:6379/

0 comments on commit 306a138

Please sign in to comment.