runwhen-contrib / rw-public-codecollection

RunWhen Public Codecollection Repository - Open Source troubleshooting runbook library for Kubernetes and cloud infrastructure components.
https://registry.runwhen.com
Apache License 2.0
40 stars 5 forks source link

k8s-postgres-query improvements #46

Closed stewartshea closed 1 year ago

stewartshea commented 1 year ago

This PR aims to solve the issues outlined in #42 with the exception of query validation, though through testing codebundle, if the codebundle is configured properly and the query is wrong, the error is fed back into the error logs which is helpful. If the codebundle is not configured correctly, then the error is less helpful, but this is tracked in another issue regarding the kubectl service.

Notable changes;