infinispan / infinispan-operator

Infinispan Operator
https://infinispan.org/docs/infinispan-operator/main/operator.html
Apache License 2.0
51 stars 54 forks source link

Support XSite Certificate Reloading #2122

Closed ryanemerson closed 1 month ago

ryanemerson commented 4 months ago

ISPN-15916 added Keystore reloading capabilities to the Infinispan server, however updates to the cert secrets don't seem to have an impact on the server pods. This needs to be investigated and fixed either by changes to the server or operator code.

ahus1 commented 4 months ago

I see that that feature was added only in 15.1.0.Dev01, and that might be more recent than the 15.0.x branch we're using in our testing in the Keycloak Benchmark repository.

ryanemerson commented 4 months ago

You're right @ahus1, ISPN-15916 was only added in 15.1.0.Dev01. However, more work is still required in order for us to support the automatic reloading of certificates in XSite deployments.

Infinispan 14/15.0.x behaviour

Infinispan 15.1.0.Dev01 behaviour

Proposal

  1. Prevent StatefulSet rolling update on Keystore/Truststore updates for Infinispan 15.1.0 onwards as these changes can be dynamically loaded without pod restarts #2125 .
  2. Provide support for automatic cert reloading in the JGroups GossipRouter JGRP-2813