diff --git a/.github/actions/spelling/excludes.txt b/.github/actions/spelling/excludes.txt index 6c962f69ba..e8f6b89e85 100644 --- a/.github/actions/spelling/excludes.txt +++ b/.github/actions/spelling/excludes.txt @@ -3,6 +3,7 @@ /swagger-ui/ CODEOWNERS CONTRIBUTORS.md +CHANGELOG.md ignore$ \.editorconfig$ \.gitkeep$ diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 67499dc1a3..4f4b3d86dd 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -175,7 +175,7 @@ eventobject docsembed dco codespace -certiticatehandler +certificatehandler golangci hellopy htmltest @@ -205,3 +205,37 @@ timeframe toml usecase webhooknamespaces +Datasources +eventsender +google +kics +schedulinggateshandler +taskdefinitionhandler +thanosruler +tracerfactory +webhookmanager +workloadsstate +timezone +undeploy +toc +tmp +timespan +timeseries +timepicker +thschue +threshold +taskcontext +taskdef +taskdefinitionhandler +taskparameters +taskstatus +vcluster +versioning +webhookcainjection +workloadsstate +workloadstatus +workloadversion +youtube +yourregistry +YOURNAME +yannh diff --git a/docs/content/en/docs/implementing/evaluatemetrics.md b/docs/content/en/docs/implementing/evaluatemetrics.md index 61c2430cf5..82f0768604 100644 --- a/docs/content/en/docs/implementing/evaluatemetrics.md +++ b/docs/content/en/docs/implementing/evaluatemetrics.md @@ -166,7 +166,7 @@ This section shows how to do that. Metrics can also be displayed on a Grafana or other dashboard or they can be exposed as OpenTelemetry metrics; see -[Access Keptn metrics as OpenTelementry metrics](otel.md/#access-keptn-metrics-as-opentelemetry-metrics) +[Access Keptn metrics as OpenTelemetry metrics](otel.md/#access-keptn-metrics-as-opentelemetry-metrics) for instructions. ### Retrieve KeptnMetric values with kubectl and the KeptnMetric API diff --git a/docs/content/en/docs/yaml-crd-ref/analysisdefinition.md b/docs/content/en/docs/yaml-crd-ref/analysisdefinition.md index ffbe851d1c..8e3270ce4a 100644 --- a/docs/content/en/docs/yaml-crd-ref/analysisdefinition.md +++ b/docs/content/en/docs/yaml-crd-ref/analysisdefinition.md @@ -97,10 +97,10 @@ spec: * **keyObjective** -- If set to `true`, the entire analysis fails if this objective fails * **totalScore** (required) -- - * **passPercentage** -- threshhold to reach for the full analysis + * **passPercentage** -- threshold to reach for the full analysis (all objectives) to pass - * **warningPercentage** -- threshhold to reach + * **warningPercentage** -- threshold to reach for the full analysis (all objectives) to pass with `warning` status ## Usage diff --git a/lifecycle-operator/apis/lifecycle/v1alpha2/common/phases.go b/lifecycle-operator/apis/lifecycle/v1alpha2/common/phases.go index 35144c969e..9847322f3c 100644 --- a/lifecycle-operator/apis/lifecycle/v1alpha2/common/phases.go +++ b/lifecycle-operator/apis/lifecycle/v1alpha2/common/phases.go @@ -30,7 +30,7 @@ var phases = []KeptnPhaseType{ PhaseCreateTask, PhaseCreateApp, PhaseCreateWorkload, - PhaseCreateWorklodInstance, + PhaseCreateWorkloadInstance, PhaseCreateAppVersion, PhaseCompleted, PhaseDeprecated, @@ -93,7 +93,7 @@ var ( PhaseCreateTask = KeptnPhaseType{LongName: "Create Task", ShortName: "CreateTask"} PhaseCreateApp = KeptnPhaseType{LongName: "Create App", ShortName: "CreateApp"} PhaseCreateWorkload = KeptnPhaseType{LongName: "Create Workload", ShortName: "CreateWorkload"} - PhaseCreateWorklodInstance = KeptnPhaseType{LongName: "Create WorkloadInstance", ShortName: "CreateWorkloadInstance"} + PhaseCreateWorkloadInstance = KeptnPhaseType{LongName: "Create WorkloadInstance", ShortName: "CreateWorkloadInstance"} PhaseCreateAppVersion = KeptnPhaseType{LongName: "Create AppVersion", ShortName: "CreateAppVersion"} PhaseCompleted = KeptnPhaseType{LongName: "Completed", ShortName: "Completed"} PhaseDeprecated = KeptnPhaseType{LongName: "Deprecated", ShortName: "Deprecated"} diff --git a/lifecycle-operator/apis/lifecycle/v1alpha3/common/common.go b/lifecycle-operator/apis/lifecycle/v1alpha3/common/common.go index 84dc0fe22d..d38ac542a5 100644 --- a/lifecycle-operator/apis/lifecycle/v1alpha3/common/common.go +++ b/lifecycle-operator/apis/lifecycle/v1alpha3/common/common.go @@ -204,7 +204,7 @@ func MergeMaps(m1 map[string]string, m2 map[string]string) map[string]string { return merged } -// IsOwnerSupported returns whether the owner of the given object is supported to be considered a KeptnWorklooad +// IsOwnerSupported returns whether the owner of the given object is supported to be considered a KeptnWorkload func IsOwnerSupported(owner metav1.OwnerReference) bool { return owner.Kind == "ReplicaSet" || owner.Kind == "Deployment" || owner.Kind == "StatefulSet" || owner.Kind == "DaemonSet" || owner.Kind == "Rollout" } diff --git a/lifecycle-operator/controllers/common/taskdefinitionhandler.go b/lifecycle-operator/controllers/common/taskdefinitionhandler.go index d744aff584..328007512e 100644 --- a/lifecycle-operator/controllers/common/taskdefinitionhandler.go +++ b/lifecycle-operator/controllers/common/taskdefinitionhandler.go @@ -69,7 +69,7 @@ func GetRuntimeMountPath(def *klcv1alpha3.KeptnTaskDefinition) string { return path } -// check if either the funtions or container spec is set +// check if either the functions or container spec is set func SpecExists(definition *klcv1alpha3.KeptnTaskDefinition) bool { if definition == nil { return false