Skip to content

Commit 13f57d6

Browse files
Merge pull request #399 from SgtCoDFish/dynamic-istiod-initial-issuer
Handle initial issuer config for dynamic istiod cert
2 parents 6cfff77 + ef130cb commit 13f57d6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/istiodcert/worker.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ func New(log logr.Logger, restConfig *rest.Config, opts Options, issuerChangeNot
9595
// It waits for a notification of an issuer change, and when it gets one it
9696
// triggers reconciliation of the dynamic istiod cert.
9797
func (dicp *DynamicIstiodCertProvisioner) Start(ctx context.Context) error {
98+
if dicp.initialIssuerRef != nil {
99+
dicp.handleNewIssuer(dicp.initialIssuerRef)
100+
}
101+
98102
for {
99103
select {
100104
case <-ctx.Done():

0 commit comments

Comments
 (0)