{{- /* With the valkey subchart on, THIS is the item that also carries the "auth-conf" field the bundled Valkey reads (NOTES.txt prints all three fields). The rule that valkey.secrets.authSecretRef must then be set is enforced in values.schema.json and NOT by a fail() here - measured, see that file: Helm validates the schema before it renders, and it renders a subchart's templates before the parent's, so a check in this file could never beat the subchart's own required() to it. */ -}} apiVersion: onepassword.com/v1 kind: OnePasswordItem metadata: name: {{ .Release.Name }}-{{ .Chart.Name }}-redis-secret spec: itemPath: {{ required "A secret-reference for the Redis-Secret must be provided" .Values.secrets.redisSecretRef }}