--- apiVersion: secretgenerator.mittwald.de/v1alpha1 kind: StringSecret metadata: name: memelord-laurivosandi-redis spec: fields: - fieldName: redis-password length: "32" encoding: hex --- apiVersion: dragonflydb.io/v1alpha1 kind: Dragonfly metadata: name: memelord-laurivosandi-redis spec: affinity: podAffinity: preferredDuringSchedulingIgnoredDuringExecution: - weight: 100 podAffinityTerm: labelSelector: matchLabels: app: memelord topologyKey: kubernetes.io/zone authentication: passwordFromSecret: name: memelord-laurivosandi-redis key: redis-password replicas: 2 resources: requests: cpu: 500m memory: 500Mi limits: cpu: 600m memory: 750Mi