Skip to content

Commit

Permalink
handle initial issuer config for dynamic istiod cert
Browse files Browse the repository at this point in the history
Signed-off-by: Ashley Davis <ashley.davis@venafi.com>
  • Loading branch information
SgtCoDFish committed Sep 4, 2024
1 parent 6cfff77 commit ef130cb
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 ef130cb

Please sign in to comment.