Skip to content

Commit 94acacb

Browse files
Update cmd/hubagent/options/validation.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f33a83f commit 94acacb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/hubagent/options/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func (o *Options) Validate() field.ErrorList {
5757
}
5858

5959
if o.UseCertManager && !o.EnableWorkload {
60-
errs = append(errs, field.Invalid(newPath.Child("UseCertManager"), o.UseCertManager, "UseCertManager requires EnableWorkload to be true (cert-manager pods need to run in the hub cluster)"))
60+
errs = append(errs, field.Invalid(newPath.Child("UseCertManager"), o.UseCertManager, "UseCertManager requires EnableWorkload to be true (when EnableWorkload is false, a validating webhook blocks pod creation except for certain system pods; cert-manager controller pods must be allowed to run in the hub cluster)"))
6161
}
6262

6363
connectionType := o.WebhookClientConnectionType

0 commit comments

Comments
 (0)