{{- if .Values.secrets.valkeySecretRef }} apiVersion: onepassword.com/v1 kind: OnePasswordItem metadata: name: {{ .Release.Name }}-{{ .Chart.Name }}-valkey-secret spec: # Optional, and only meaningful with settings.limiter: true. The item must # carry a "valkey-url" field pointing at an EXTERNAL Valkey/Redis; the chart # deploys none of its own. Chart dependencies are admissible since #214 # (README, guideline 14), but this chart declares none: an external connection # through a secret is the same shape outline and paperless-ngx use for their # databases. itemPath: {{ .Values.secrets.valkeySecretRef }} {{- end }}