metacat
metacat copied to clipboard
Abort Metacat Startup if PostgreSQL not accessible (k8s only)
If metacat is running in a container (see env var METACAT_IN_K8S), check on startup that PostgreSQL database is running and accessible. If not, abort startup (see #1631).
If legacy deployment (i.e. non-containerized), we MUST allow startup to happen without postgres available, since the operator will then be prompted for connection credentials via the admin page
Re-assess this. May not be best practice for k8s. Better to fail readiness probe until PG becomes available??