Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
FIX: Populates status of bundles waiting to be unpacked
Browse files Browse the repository at this point in the history
- closes #300

- Adds message "Waiting for the Bundle to be unpacked" to bundles
  waiting for the unpacking component to successfully source and unpack
  the contents
  • Loading branch information
nsapse committed May 13, 2022
1 parent 5a4d696 commit 6a584ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions internal/provisioner/plain/controllers/bundle_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,10 @@ func updateStatusUnpackPending(u *updater.Updater) {
updater.EnsureContentURL(""),
updater.SetPhase(rukpakv1alpha1.PhasePending),
updater.EnsureCondition(metav1.Condition{
Type: rukpakv1alpha1.TypeUnpacked,
Status: metav1.ConditionFalse,
Reason: rukpakv1alpha1.ReasonUnpackPending,
Type: rukpakv1alpha1.TypeUnpacked,
Status: metav1.ConditionFalse,
Reason: rukpakv1alpha1.ReasonUnpackPending,
Message: "Waiting for the bundle to be unpacked",
}),
)
}
Expand Down

0 comments on commit 6a584ff

Please sign in to comment.