Skip to content

Commit

Permalink
Fix kudo init --verify on cluster without KUDO (#1757)
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Neumann <aneumann@mesosphere.com>
  • Loading branch information
ANeumann82 committed Jan 23, 2021
1 parent 4392995 commit 7be10eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/kudoctl/kudoinit/prereq/webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,10 @@ func (k *KudoWebHook) verifyWithCertManager(client *kube.Client, result *verifie
if err := k.validateCertManagerInstallation(client, result); err != nil {
return err
}
if !result.IsValid() {
return nil
}

if err := validateUnstructuredInstallation(client.DynamicClient, k.issuer, result); err != nil {
return err
}
Expand Down

0 comments on commit 7be10eb

Please sign in to comment.