Make release name templatable

This commit is contained in:
2026-02-16 15:52:27 +02:00
parent ddcec86b9c
commit aec600c300
5 changed files with 41 additions and 41 deletions

View File

@@ -2,7 +2,7 @@
apiVersion: secretgenerator.mittwald.de/v1alpha1
kind: StringSecret
metadata:
name: memelord-laurivosandi-redis
name: {{ .Release.Name }}-redis
spec:
fields:
- fieldName: redis-password
@@ -12,7 +12,7 @@ spec:
apiVersion: dragonflydb.io/v1alpha1
kind: Dragonfly
metadata:
name: memelord-laurivosandi-redis
name: {{ .Release.Name }}-redis
spec:
affinity:
podAffinity:
@@ -25,7 +25,7 @@ spec:
topologyKey: topology.kubernetes.io/zone
authentication:
passwordFromSecret:
name: memelord-laurivosandi-redis
name: {{ .Release.Name }}-redis
key: redis-password
replicas: 2
resources: