{{- if and .Values.bootstrap.enabled .Values.users }}
WARNING: this PostgreSQL was provisioned as a restore (bootstrap.enabled=true).

The roles recovered from the backup keep the password hashes of the source. Each
declared user is a managed role of the Cluster pointing at its account Secret,
and CloudNativePG applies the stored value from that Secret once the recovered
primary is up, so a password minted on this application's credentials
(core.cozystack.io) takes effect without any action here. A restored account
whose Secret was seeded with this application has no issued password yet: mint
one, and poll a login with it until it succeeds.
{{- end }}
