Skip to content

Commit 91b7f5f

Browse files
committed
update warning templ per review comments
Signed-off-by: everettraven <[email protected]>
1 parent 209d783 commit 91b7f5f

File tree

1 file changed

+2
-3
lines changed
  • pkg/controller/operators/catalog

1 file changed

+2
-3
lines changed

pkg/controller/operators/catalog/step.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,8 @@ func (b *builder) NewCRDV1Step(client apiextensionsv1client.ApiextensionsV1Inter
155155
// is an error related to validation, warn that validation failed but that we are trusting
156156
// that the conversion strategy specified by the author will successfully convert to a format
157157
// that passes validation and allow the upgrade to continue
158-
warnTempl := `validation of existing CRs against new CRD's schema failed, but a webhook conversion strategy was specified.
159-
allowing the CRD upgrade to occur as we can't run the webhook, but is assumed that it will successfully convert existing CRs
160-
to a format that would have passed validation.
158+
warnTempl := `Validation of existing CRs against the new CRD's schema failed, but a webhook conversion strategy was specified in the new CRD.
159+
The new webhook will only start after the bundle is upgraded, so we must assume that it will successfully convert existing CRs to a format that would have passed validation.
161160
162161
CRD: %q
163162
Validation Error: %s

0 commit comments

Comments
 (0)