propagate invalid Bundle source type to status
github-actions opened this issue · 1 comments
github-actions commented
return ctrl.Result{Requeue: false}, fmt.Errorf("failed to parse Bundle source type: %s is an unsupported Bundle type", bundle.Spec.Source.Type)
}
}()
u.UpdateStatus(updater.EnsureObservedGeneration(bundle.Generation))
// switch bundle.Spec.Source.Type {
// case "image":
// stub
// case "git":
// stub
// default:
// // TODO: propagate invalid Bundle source type to status
// return ctrl.Result{Requeue: false}, fmt.Errorf("failed to parse Bundle source type: %s is an unsupported Bundle type", bundle.Spec.Source.Type)
// }
pod := &corev1.Pod{}
if op, err := r.ensureUnpackPod(ctx, bundle, pod); err != nil {
u.UpdateStatus(updater.SetBundleInfo(nil), updater.EnsureBundleDigest(""))
github-actions commented
This issue has become stale because it has been open 60 days with no activity. The maintainers of this repo will remove this label during issue triage or it will be removed automatically after an update. Adding the lifecycle/frozen
label will cause this issue to ignore lifecycle events.