Skip to content

useful.md

mgoerens edited this page Nov 15, 2022 · 1 revision

Debug Postgres instance

echo `oc get secret hippo-pguser-hippo -o json | jq .data.dbname` |sed 's/^.\(.*\).$/\1/' | base64 -d
echo `oc get secret hippo-pguser-admin -o json | jq .data.password` |sed 's/^.\(.*\).$/\1/' | base64 -d && echo "" # PSQL_PWD
oc port-forward hippo-instance1-dg59-0 5432
oc port-forward hippo-instance1-dg59-0 5432

Add external CRDs to envtest

https://github.com/kubernetes-sigs/controller-runtime/issues/1191#issuecomment-769678481

Clone this wiki locally