Skip to content

Add preflight check for external postgres permissions#459

Open
hedge-sparrow wants to merge 1 commit into
OpenHands:mainfrom
hedge-sparrow:ash/postgres-preflights
Open

Add preflight check for external postgres permissions#459
hedge-sparrow wants to merge 1 commit into
OpenHands:mainfrom
hedge-sparrow:ash/postgres-preflights

Conversation

@hedge-sparrow

Copy link
Copy Markdown

Description

Adds preflight collector and analyzer to attempt to check external postgresql permissions

Helm Chart Checklist

  • I have updated the version field in Chart.yaml for each modified chart
  • I have tested the chart upgrade path from the previous version
  • I have verified backwards compatibility with existing values.yaml configurations
  • I have updated the chart's README.md if there are any breaking changes or new required values

Additional Notes

jlav added a commit that referenced this pull request Jun 5, 2026
* Add TLS SAN + DNS hostname preflight to Replicated config

Adds replicated/preflight.yaml: a troubleshoot.sh Preflight that validates the uploaded TLS certificate covers every provisioned hostname (subdomain wildcard vs path-based exact runtime routing) and that those hostnames resolve in DNS. A proxied alpine/openssl runPod emits per-hostname warn outcomes. Adds the probe image to application.yaml additionalImages so air-gapped builds mirror it.

* Move TLS/DNS hostname preflight into the chart so KOTS discovers it

The standalone replicated/preflight.yaml (a top-level Preflight CR) is never
discovered by KOTS for this Helm-based app — preflights are surfaced only via
the chart-rendered Secret labeled troubleshoot.sh/kind: preflight. Move the
check into the chart's troubleshoot templates (mirroring PR #459), reading the
cert and hostnames from values already flowing into the chart (keycloak ingress
secret, per-service ingress hosts, runtime-api env, laminar) — no new config
plumbed through the HelmChart CR or values.yaml. The probe image reuses the
proxy base already embedded in image.repository.

Revert the now-unneeded replicated/preflight.yaml and the application.yaml
additionalImages entry. Bump the openhands chart to 0.7.38.

* Condense the top-of-file comment on the TLS hostname preflight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant