Skip to content

Commit

Permalink
Merge pull request #450 from jvanz/main
Browse files Browse the repository at this point in the history
fix: certificate rotation workaround is fixed.
  • Loading branch information
flavio authored Sep 9, 2024
2 parents 8ef9743 + 9d6f005 commit 5449991
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions docs/howtos/workarounds/policy-server-certificate-expiry.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,23 @@ doc-topic: [howto, workarounds, policy server certificates]
<link rel="canonical" href="https://docs.kubewarden.io/howtos/policy-server-certificate-expiry"/>
</head>

During the release process for v1.14, a bug related to the policy server certificate rotation was discovered.
The Root CA is configured to expire in 10 years, but each policy-server certificate secret has a one-year expiry.
:::important
This workaround is only needed for Kubewarden v1.16.0 and earlier. Starting
from v1.17.0, the controller will automatically renew the policy server
certificates.
:::

During the release process for v1.14, a bug related to the policy server
certificate rotation was discovered. The Root CA is configured to expire in 10
years, but each policy-server certificate secret has a one-year expiry.
However, the controller is currently unable to renew them automatically.

In the v1.14 release, we have ensured that policy-server secrets are created with a 10-year expiry.
In the v1.14 release, we have ensured that policy-server secrets are created
with a 10-year expiry.

For future releases we'll implement an automated renewal process.

Until then, users can manually delete the expired certificate secret (policy-server-default) and trigger a controller reconciliation.
You do this by adding, removing, or updating a policy or by adjusting the number of replicas of a PolicyServer.
Until then, users can manually delete the expired certificate secret
(policy-server-default) and trigger a controller reconciliation. You do this by
adding, removing, or updating a policy or by adjusting the number of replicas
of a PolicyServer.

0 comments on commit 5449991

Please sign in to comment.