{{- include "nats.defaultValues" . }} {{- if .hasContentsSecret }} {{- with .Values.natsBox }} {{- if .enabled }} {{- with .contentsSecret}} {{- include "nats.loadMergePatch" (merge (dict "file" "nats-box/contents-secret.yaml" "ctx" $) .) }} {{- end }} {{- end }} {{- end }} {{- end }}