Skip to content

Commit

Permalink
apply rootca in pg node during cert rotate
Browse files Browse the repository at this point in the history
Signed-off-by: Vivek Shankar <[email protected]>
  • Loading branch information
vivekshankar1 committed Oct 23, 2024
1 parent 9d923a8 commit 5e6c3ea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func (c *certRotateFlow) rotatePGNodeCerts(infra *AutomateHAInfraDetails, sshUti
remoteService := POSTGRESQL

// Creating and patching the required configurations.
config := fmt.Sprintf(POSTGRES_CONFIG_IGNORE_ISSUER_CERT, certs.privateCert, certs.publicCert)
config := fmt.Sprintf(POSTGRES_CONFIG, certs.privateCert, certs.publicCert, certs.rootCA)

skipIpsList := c.compareCurrentCertsWithNewCerts(remoteService, certs, &flagsObj, currentCertsInfo)
c.skipMessagePrinter(remoteService, SKIP_IPS_MSG_CERT_ROTATE, flagsObj.node, skipIpsList)
Expand Down

0 comments on commit 5e6c3ea

Please sign in to comment.