Skip to content

Commit

Permalink
unique name for redis in-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit committed Apr 20, 2024
1 parent d9d0047 commit 8e71583
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions resources/in-cluster-redis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ entity:
values:
templates:
init: |-
name: redis
name: redis-{{ randAlpha 5 | lower}}
port: 6379
manifests: |-
deployment.yaml:
{{ .resource.id }}-deployment.yaml:
location: namespace
data:
apiVersion: apps/v1
Expand Down Expand Up @@ -55,7 +55,7 @@ entity:
volumes:
- name: redis-data
emptyDir: {}
service.yaml:
{{ .resource.id }}-service.yaml:
location: namespace
data:
apiVersion: v1
Expand Down

0 comments on commit 8e71583

Please sign in to comment.