-
Notifications
You must be signed in to change notification settings - Fork 544
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolve Install Plan before Requiring Approval #364
Conversation
@@ -54,7 +54,6 @@ type InstallPlanConditionType string | |||
|
|||
const ( | |||
InstallPlanResolved InstallPlanConditionType = "Resolved" | |||
InstallPlanApproved InstallPlanConditionType = "Approved" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused, should be determined from spec.approved
.
The e2e tests were failing because of |
9daa86c
to
ee46f52
Compare
test/e2e/alm_e2e_test.go
Outdated
@@ -132,21 +132,22 @@ func TestCreateInstallPlanManualApproval(t *testing.T) { | |||
if step.Resource.Kind == "CustomResourceDefinition" { | |||
_, err := c.GetCustomResourceDefinition(step.Resource.Name) | |||
|
|||
require.NoError(t, err) | |||
require.Error(t, err) | |||
vaultResourcesPresent = vaultResourcesPresent + 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ecordell This fails because our CI target cluster always has all the CRDs. Should we just disable this check?
@alecmerdler For the e2e tests, we want them to be aware of the approval state:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolve Install Plan before Requiring Approval
Resolve Install Plan before Requiring Approval
Description
Fixes regression introduced which prevented
status.plan
from being filled before a manual install plan is approved. Also updates docs to include theRequiresApproval
phase.Addresses https://jira.coreos.com/browse/ALM-623