Skip to content

Commit c72c6a0

Browse files
ValClarksoncbandy
andauthored
added documentation for root certificate rotation (#3298)
* added documentation for root certificate rotation [sc-14561] * Update docs/content/tutorial/administrative-tasks.md Co-authored-by: Chris Bandy <[email protected]> * updated per pr comments Co-authored-by: Chris Bandy <[email protected]>
1 parent b499528 commit c72c6a0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/content/tutorial/administrative-tasks.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,18 @@ There are a few ways to restart an older version PgBouncer to reload Secrets:
143143
--patch '{"spec":{"proxy":{"pgBouncer":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}}}'
144144
```
145145

146+
### Rotating the Root Certificate
147+
148+
Is it time to rotate your PGO root certificate? All you need to do is delete the `pgo-root-cacert` secret. PGO will regenerate it and roll it out seamlessly, ensuring your apps continue communicating with the Postgres cluster without having to update any configuration or deal with any downtime.
149+
150+
```yaml
151+
kubectl delete secret pgo-root-cacert
152+
```
153+
154+
{{% notice note %}}
155+
PGO only updates secrets containing the generated root certificate. It does not touch custom certificates.
156+
{{% /notice %}}
157+
146158
## Changing the Primary
147159

148160
There may be times when you want to change the primary in your HA cluster. This can be done

0 commit comments

Comments
 (0)