Skip to content

Commit

Permalink
Merge pull request #399 from SgtCoDFish/dynamic-istiod-initial-issuer
Browse files Browse the repository at this point in the history
Handle initial issuer config for dynamic istiod cert
  • Loading branch information
cert-manager-prow[bot] authored Sep 4, 2024
2 parents 6cfff77 + ef130cb commit 13f57d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/istiodcert/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ func New(log logr.Logger, restConfig *rest.Config, opts Options, issuerChangeNot
// It waits for a notification of an issuer change, and when it gets one it
// triggers reconciliation of the dynamic istiod cert.
func (dicp *DynamicIstiodCertProvisioner) Start(ctx context.Context) error {
if dicp.initialIssuerRef != nil {
dicp.handleNewIssuer(dicp.initialIssuerRef)
}

for {
select {
case <-ctx.Done():
Expand Down

0 comments on commit 13f57d6

Please sign in to comment.