Skip to content

Document PostgreSQL CA certificate setup - #687

Merged
Rachael-Graham merged 6 commits into
mainfrom
byo-db-ca
Nov 4, 2026
Merged

Rachael-Graham merged 6 commits into
mainfrom
byo-db-ca

Conversation

@Rachael-Graham

Copy link
Copy Markdown
Contributor

Explain how to verify PostgreSQL certificates using system roots or a mounted private CA, and note the Agent Substrate chart limitation.

Explain how to verify PostgreSQL certificates using system roots or a mounted private CA, and note the Agent Substrate chart limitation.

Signed-off-by: Rachael Graham <rachael.graham@solo.io>
@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Docs preview

Link Points at
Branch preview The newest push to this branch. Updates in place.
Commit preview 6f17b56 only. Frozen.

Both are uploaded Worker versions and serve no production traffic.

Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
Signed-off-by: Rachael Graham <rachael.graham@solo.io>
## In-place upgrade blockers

Each of the following independent changes rules out `helm upgrade`, so working around any one of them does not help.
Review the following changes between 0.10.x and 1.0 before you continue. Each change prevents an in-place upgrade with `helm upgrade` on its own, so a workaround for one change does not help.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand the second sentence

## Export your 0.10.x resources

Your Kubernetes resources do carry forward, so export them before anything replaces the CRDs. Conversation history does not carry forward.
Export your resources before anything replaces the CRDs. Some resources convert to 1.0, and the rest serve as a reference when you write their 1.0 replacements. 1.0 cannot read the conversation history of 0.10.x.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Export your resources before anything replaces the CRDs. Some resources convert to 1.0, and the rest serve as a reference when you write their 1.0 replacements. 1.0 cannot read the conversation history of 0.10.x.
Export your resources before they are replaced by the new CRDs. Some resources convert to 1.0, and the rest serve as a reference when you write their 1.0 replacements. 1.0 cannot read the conversation history of 0.10.x.

An installation of {{< reuse "kagent-docs/snippets/name-product.md" >}} consists of five Helm releases. Upgrade the releases in the order that you installed them, starting with the CRDs, then Agent Substrate, and then the kagent control plane.

Upgrade through each minor version in order, and do not skip a minor version. For example, to move from 1.0.x to 1.2.0, upgrade to 1.1.0 first, and then to 1.2.0. Within a minor version, you can upgrade directly to any later patch release, such as from 1.0.0 to 1.0.2. To move a 0.10.x installation to 1.x, see [Upgrade from 0.x]({{< link path="operations/upgrade-from-0x" >}}) instead.
Upgrade from one stable release to the next, and do not skip a stable release. Before you move to the next stable release, upgrade to the latest patch release of your current stable release. Patch releases do not change the database schema, so you can upgrade directly to the latest patch release without the patch releases in between. To move a 0.10.x installation to 1.x, see [Upgrade from 0.x]({{< link path="operations/upgrade-from-0x" >}}) instead.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Upgrade from one stable release to the next, and do not skip a stable release. Before you move to the next stable release, upgrade to the latest patch release of your current stable release. Patch releases do not change the database schema, so you can upgrade directly to the latest patch release without the patch releases in between. To move a 0.10.x installation to 1.x, see [Upgrade from 0.x]({{< link path="operations/upgrade-from-0x" >}}) instead.
Upgrade from one stable release to the next, and do not skip a stable release. Before you move to the next stable release, upgrade to the latest patch version of your current stable release. Patch releases do not change the database schema, so you can upgrade directly to the latest patch release without the patch releases in between. To move a 0.10.x installation to 1.x, see [Upgrade from 0.x]({{< link path="operations/upgrade-from-0x" >}}) instead.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just as a comment: stable and latest is not what we use in calver. If they apply calver, we would need to change this to LTS

For an installation that you exported from the kagent CLI, the `kagent-values.yaml` file contains your model provider API key in plain text. Store the files securely.

6. Save the target versions in environment variables. The following values are the versions that this documentation describes. To upgrade through an intermediate minor version first, set the versions of that release.
6. Save the target versions in environment variables. The following values are the versions that this documentation describes. To upgrade through an intermediate stable release first, set the versions of that release.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To upgrade through an intermediate stable release first, set the versions of that release.

what is the intermediate stable release?

--from-file=ca.crt=<path-to-ca-certificate>
```
2. Add `sslrootcert=/run/postgres-ca/ca.crt` to both kagent connection strings.
3. When you [install kagent](#install-kagent-helm), add the following values to the command.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

explain what this does.

Signed-off-by: Rachael Graham <rachael.graham@solo.io>
@Rachael-Graham
Rachael-Graham merged commit e346ab2 into main Nov 4, 2026
4 checks passed
@Rachael-Graham
Rachael-Graham deleted the byo-db-ca branch November 4, 2026 16:23
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.

2 participants