Always apply sync manifests on bootstrap

This commit is contained in:
stefanprodan
2020-09-22 14:58:51 +03:00
parent 59011c9517
commit 7b4e815a8d
2 changed files with 10 additions and 10 deletions

View File

@ -239,12 +239,12 @@ func bootstrapGitHubCmdRun(cmd *cobra.Command, args []string) error {
return err
}
logger.Successf("sync manifests pushed")
}
// apply manifests and waiting for sync
logger.Actionf("applying sync manifests")
if err := applySyncManifests(ctx, kubeClient, namespace, namespace, ghPath, tmpDir); err != nil {
return err
}
// apply manifests and waiting for sync
logger.Actionf("applying sync manifests")
if err := applySyncManifests(ctx, kubeClient, namespace, namespace, ghPath, tmpDir); err != nil {
return err
}
if withErrors {