diff --git a/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/crd/kustomization.go b/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/crd/kustomization.go index 25fbc18af85..0dd55f5204c 100644 --- a/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/crd/kustomization.go +++ b/pkg/plugins/common/kustomize/v1/scaffolds/internal/templates/config/crd/kustomization.go @@ -50,6 +50,7 @@ func (f *Kustomization) SetTemplateDefaults() error { return nil } +//nolint:gosec to ignore false complain G101: Potential hardcoded credentials (gosec) const ( resourceMarker = "crdkustomizeresource" webhookPatchMarker = "crdkustomizewebhookpatch" diff --git a/pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/kustomization.go b/pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/kustomization.go index 352d0b15bb6..87137778bf8 100644 --- a/pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/kustomization.go +++ b/pkg/plugins/common/kustomize/v2/scaffolds/internal/templates/config/crd/kustomization.go @@ -51,6 +51,7 @@ func (f *Kustomization) SetTemplateDefaults() error { return nil } +//nolint:gosec to ignore false complain G101: Potential hardcoded credentials (gosec) const ( resourceMarker = "crdkustomizeresource" webhookPatchMarker = "crdkustomizewebhookpatch" diff --git a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/crd/kustomization.go b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/crd/kustomization.go index c0e20efdf8e..7f23dbb5d5b 100644 --- a/pkg/plugins/golang/v2/scaffolds/internal/templates/config/crd/kustomization.go +++ b/pkg/plugins/golang/v2/scaffolds/internal/templates/config/crd/kustomization.go @@ -50,6 +50,7 @@ func (f *Kustomization) SetTemplateDefaults() error { return nil } +//nolint:gosec to ignore false complain G101: Potential hardcoded credentials (gosec) const ( resourceMarker = "crdkustomizeresource" webhookPatchMarker = "crdkustomizewebhookpatch"