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