You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e870061
Browse filesBrowse the repository at this point in the historyBrowse files
The upgrade tests installed the previous release's charts with Helm and its
bundled PostgreSQL, then upgraded with make helm-install-provider. That no
longer works: the chart has no database, and the bundled database only
accepts certificate logins.
- install-previous-release downloads the previous release's kagent CLI from
its GitHub release and runs kagent install, as a user would. It rejects
releases whose tree lacks bundled_postgres.sql, and the CI setup action
skips those legs; that sentinel replaces the "predates Goose" check.
- The upgrade step runs make kagent-cli-deploy.
- psql and pg_dump run as postgres over the pod's local socket, against the
kagent schema. Migrations, the clean-install reference, and the schema
rollback connect through a port-forward as kagent_user with role
kagent_owner, using a client certificate the test signs with the active
postgres-ca-pool CA. The clean-install reference lives in a scratch schema,
because pg_hba admits application logins only to the kagent database.
- The CI upgrade jobs drop KAGENT_HELM_EXTRA_ARGS=--cleanup-on-fail=false,
which the CLI would pass to Helm as a junk --set value.
No published release installs its database with kagent install yet, so both
upgrade jobs skip until one does.
Signed-off-by: Jeremy Alvis <jeremy.alvis@solo.io>
[ -n"$$db_flags" ] || { echo"Could not read bundled-Postgres --set flags from v$(UPGRADE_FROM_VERSION):Makefile; the upgrade-from release's install target may have moved or renamed them.">&2;exit 1; };\
581
-
case"$$db_flags"in*'$$'*|*'('*|*'{'*) echo"Bundled-Postgres --set flags from v$(UPGRADE_FROM_VERSION):Makefile contain an unexpanded variable and cannot be passed to helm verbatim: $$db_flags">&2;exit 1;; esac;\
0 commit comments