@@ -194,7 +194,7 @@ type HelmReleaseSpec struct {
194194 // health of custom resources using Common Expression Language (CEL).
195195 // The expressions are evaluated only when the specific Helm action
196196 // taking place has wait enabled, i.e. DisableWait is false, and the
197- // 'watcher ' WaitStrategy is used.
197+ // 'poller ' WaitStrategy is used.
198198 // +optional
199199 HealthCheckExprs []kustomize.CustomHealthCheck `json:"healthCheckExprs,omitempty"`
200200}
@@ -441,8 +441,8 @@ type HelmChartTemplateVerification struct {
441441type WaitStrategyName string
442442
443443const (
444- // WaitStrategyWatcher is the strategy for watching resource statuses via kstatus.
445- WaitStrategyWatcher WaitStrategyName = "watcher "
444+ // WaitStrategyPoller is the strategy for polling resource statuses via kstatus.
445+ WaitStrategyPoller WaitStrategyName = "poller "
446446
447447 // WaitStrategyLegacy is the legacy strategy for waiting for resources to be ready
448448 // used in Helm v3.
@@ -453,12 +453,12 @@ const (
453453// resources to become ready.
454454type WaitStrategy struct {
455455 // Name is Helm's wait strategy for waiting for applied resources to
456- // become ready. One of 'watcher ' or 'legacy'. The 'watcher ' strategy uses
457- // kstatus to watch resource statuses, while the 'legacy' strategy uses
456+ // become ready. One of 'poller ' or 'legacy'. The 'poller ' strategy uses
457+ // kstatus to poll resource statuses, while the 'legacy' strategy uses
458458 // Helm v3's waiting logic.
459- // Defaults to 'watcher ', or to 'legacy' when UseHelm3Defaults feature
459+ // Defaults to 'poller ', or to 'legacy' when UseHelm3Defaults feature
460460 // gate is enabled.
461- // +kubebuilder:validation:Enum=watcher ;legacy
461+ // +kubebuilder:validation:Enum=poller ;legacy
462462 // +required
463463 Name WaitStrategyName `json:"name"`
464464}
0 commit comments