diff --git a/testing/config.go b/testing/config.go index a06b564..afa307d 100644 --- a/testing/config.go +++ b/testing/config.go @@ -41,7 +41,8 @@ type ExpectConfig struct { // StatusSubResourceTypes is a set of object types that support the status sub-resource. For // these types, the only way to modify the resource's status is update or patch the status // sub-resource. Patching or updating the main resource will not mutated the status field. - // Built-in Kubernetes types are already accounted for and do not need to be listed. + // Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not + // need to be listed. // // Interacting with a status sub-resource for a type not enumerated as having a status // sub-resource will return a not found error. diff --git a/testing/reconciler.go b/testing/reconciler.go index 3b4f25f..48b5894 100644 --- a/testing/reconciler.go +++ b/testing/reconciler.go @@ -43,7 +43,8 @@ type ReconcilerTestCase struct { // StatusSubResourceTypes is a set of object types that support the status sub-resource. For // these types, the only way to modify the resource's status is update or patch the status // sub-resource. Patching or updating the main resource will not mutated the status field. - // Built-in Kubernetes types are already accounted for and do not need to be listed. + // Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not + // need to be listed. // // Interacting with a status sub-resource for a type not enumerated as having a status // sub-resource will return a not found error. diff --git a/testing/subreconciler.go b/testing/subreconciler.go index 93c1969..5716e4a 100644 --- a/testing/subreconciler.go +++ b/testing/subreconciler.go @@ -47,7 +47,8 @@ type SubReconcilerTestCase[Type client.Object] struct { // StatusSubResourceTypes is a set of object types that support the status sub-resource. For // these types, the only way to modify the resource's status is update or patch the status // sub-resource. Patching or updating the main resource will not mutated the status field. - // Built-in Kubernetes types are already accounted for and do not need to be listed. + // Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not + // need to be listed. // // Interacting with a status sub-resource for a type not enumerated as having a status // sub-resource will return a not found error. diff --git a/testing/webhook.go b/testing/webhook.go index dbd745c..ae8b5bd 100644 --- a/testing/webhook.go +++ b/testing/webhook.go @@ -47,7 +47,8 @@ type AdmissionWebhookTestCase struct { // StatusSubResourceTypes is a set of object types that support the status sub-resource. For // these types, the only way to modify the resource's status is update or patch the status // sub-resource. Patching or updating the main resource will not mutated the status field. - // Built-in Kubernetes types are already accounted for and do not need to be listed. + // Built-in Kubernetes types (e.g. Pod, Deployment, etc) are already accounted for and do not + // need to be listed. // // Interacting with a status sub-resource for a type not enumerated as having a status // sub-resource will return a not found error.