Skip to content

[req]: Reload the flintlock client certificate without a restart #102

Description

@phoban01

flintlockclient.New reads each host's cert_file, key_file, and ca_file once, into a static tls.Config. When the certificate is renewed (for example by cert-manager), battery keeps presenting the old one until it restarts.

Read the files at handshake time instead, so a renewed certificate is picked up on the next connection with no restart and no signal.

Related: #69 covers the same problem for poolmgrd's own API server certificate.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions