diff --git a/api/v1/condition_types.go b/api/v1/condition_types.go index 619e36b6d..2871ed882 100644 --- a/api/v1/condition_types.go +++ b/api/v1/condition_types.go @@ -125,7 +125,7 @@ const ( // object. PatchOperationFailedReason string = "PatchOperationFailed" - // InvalidSTSConfigurationReason signals that the STS configurtion is invalid. + // InvalidSTSConfigurationReason signals that the STS configuration is invalid. InvalidSTSConfigurationReason string = "InvalidSTSConfiguration" // InvalidProviderConfigurationReason signals that the provider diff --git a/docs/spec/v1beta2/gitrepositories.md b/docs/spec/v1beta2/gitrepositories.md index 03ffbeb82..9608eb0ec 100644 --- a/docs/spec/v1beta2/gitrepositories.md +++ b/docs/spec/v1beta2/gitrepositories.md @@ -299,7 +299,7 @@ This field takes precedence over [`.branch`](#branch-example) and #### Name example -To Git checkout a specfied [reference](https://git-scm.com/book/en/v2/Git-Internals-Git-References), +To Git checkout a specified [reference](https://git-scm.com/book/en/v2/Git-Internals-Git-References), use `.spec.ref.name`: ```yaml diff --git a/internal/controller/gitrepository_controller.go b/internal/controller/gitrepository_controller.go index 593a4f60f..6279b669b 100644 --- a/internal/controller/gitrepository_controller.go +++ b/internal/controller/gitrepository_controller.go @@ -1258,7 +1258,7 @@ func (r *GitRepositoryReconciler) verifySignature(ctx context.Context, obj *sour var message strings.Builder if obj.Spec.Verification.VerifyTag() { // If we need to verify a tag object, then the commit must have a tag - // that points to it. If it does not, then its safe to asssume that + // that points to it. If it does not, then its safe to assume that // the checkout didn't happen via a tag reference, thus the object can // be marked as stalled. tag := commit.ReferencingTag diff --git a/internal/helm/repository/chart_repository.go b/internal/helm/repository/chart_repository.go index e82f93f90..a8ebe7fe2 100644 --- a/internal/helm/repository/chart_repository.go +++ b/internal/helm/repository/chart_repository.go @@ -515,7 +515,7 @@ func jsonOrYamlUnmarshal(b []byte, i any) error { // the error isn't important for index loading // // In particular, charts may introduce validations that don't impact repository indexes -// And repository indexes may be generated by older/non-complient software, which doesn't +// And repository indexes may be generated by older/non-compliant software, which doesn't // conform to all validations. // // this code is taken from https://github.com/helm/helm/blob/v3.15.2/pkg/repo/index.go#L402