From e40825b4f1af500dd17c3d05224b6b60e0643b57 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 23 Aug 2024 17:53:32 +0800 Subject: [PATCH 1/6] update workflows Signed-off-by: Tom --- .github/workflows/code-spell.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/code-spell.yml diff --git a/.github/workflows/code-spell.yml b/.github/workflows/code-spell.yml new file mode 100644 index 00000000..22cdd283 --- /dev/null +++ b/.github/workflows/code-spell.yml @@ -0,0 +1,22 @@ +--- +name: Codespell + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: + contents: read + +jobs: + codespell: + name: Check for spelling errors + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Codespell + uses: codespell-project/actions-codespell@v2 From 5595f7c7e7413f5578c00e03bfc47726e2137b31 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 23 Aug 2024 18:01:43 +0800 Subject: [PATCH 2/6] typo fix Signed-off-by: Tom --- .codespellrc | 3 +++ CODE_OF_CONDUCT.md | 2 +- cmd/kurator/app/pipeline/execution/logs/logs.go | 4 ++-- docs/README.md | 2 +- docs/content/en/docs/Integrations/istio.md | 2 +- docs/content/en/docs/Integrations/pixie-vizier.md | 4 ++-- docs/content/en/docs/fleet-manager/_index.md | 2 +- docs/content/en/docs/fleet-manager/application.md | 2 +- .../docs/fleet-manager/distributedstorage-plugin.md | 12 ++++++------ .../en/docs/fleet-manager/manage-attachedcluster.md | 2 +- docs/content/en/docs/fleet-manager/rollout/abtest.md | 4 ++-- .../en/docs/fleet-manager/rollout/blue-green.md | 4 ++-- docs/content/en/docs/fleet-manager/rollout/canary.md | 4 ++-- docs/content/en/docs/pipeline/setting.md | 2 +- docs/content/en/references/fleet_v1alpha1_types.html | 2 +- docs/proposals/rollout/rollout.md | 4 ++-- hack/util.sh | 10 +++++----- ...machinepools.infrastructure.cluster.x-k8s.io.yaml | 4 ++-- ...agedclusters.infrastructure.cluster.x-k8s.io.yaml | 2 +- ...dcontrolplanes.controlplane.cluster.x-k8s.io.yaml | 2 +- ...machinepools.infrastructure.cluster.x-k8s.io.yaml | 2 +- .../crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml | 2 +- ...ksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml | 2 +- .../kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml | 8 ++++---- ...dmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml | 8 ++++---- ...mcontrolplanes.controlplane.cluster.x-k8s.io.yaml | 8 ++++---- ...planetemplates.controlplane.cluster.x-k8s.io.yaml | 8 ++++---- .../crds/apps.kurator.dev_applications.yaml | 6 +++--- .../fleet-manager/crds/fleet.kurator.dev_fleets.yaml | 2 +- manifests/profiles/infra/plugins/aws-cni-calico.yaml | 2 +- ...erator-0alertmanagerCustomResourceDefinition.yaml | 2 +- ...operator-0prometheusCustomResourceDefinition.yaml | 2 +- ...perator-0thanosrulerCustomResourceDefinition.yaml | 2 +- ...erator-0alertmanagerCustomResourceDefinition.yaml | 2 +- ...operator-0prometheusCustomResourceDefinition.yaml | 2 +- ...perator-0thanosrulerCustomResourceDefinition.yaml | 2 +- pkg/apis/cluster/v1alpha1/cluster_consts.go | 2 +- pkg/apis/fleet/v1alpha1/types.go | 2 +- pkg/client/client.go | 2 +- pkg/fleet-manager/application/rollout_helper.go | 2 +- pkg/fleet-manager/controlplane.go | 2 +- pkg/infra/aws/aws_pod_identity.go | 2 +- pkg/infra/plugin/testdata/aws-cni-calico.yaml | 2 +- pkg/plugin/istio/install.go | 4 ++-- pkg/plugin/prometheus/plugin.go | 2 +- pkg/plugin/volcano/plugin.go | 2 +- 46 files changed, 79 insertions(+), 76 deletions(-) create mode 100644 .codespellrc diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 00000000..265bff8e --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = .git,go.sum,go.mod,*.png,*.svg +ignore-words-list = NotIn,te,ans,AKS \ No newline at end of file diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index dd4958a9..ffa13d8e 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -7,7 +7,7 @@ In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, -level of experience, education, socio-economic status, nationality, personal +level of experience, education, socioeconomic status, nationality, personal appearance, race, religion, or sexual identity and orientation. ## Our Standards diff --git a/cmd/kurator/app/pipeline/execution/logs/logs.go b/cmd/kurator/app/pipeline/execution/logs/logs.go index 9d660109..15110f1f 100644 --- a/cmd/kurator/app/pipeline/execution/logs/logs.go +++ b/cmd/kurator/app/pipeline/execution/logs/logs.go @@ -41,8 +41,8 @@ func NewCmd(opts *generic.Options) *cobra.Command { PipelineList, err := logs.NewPipelineLogs(opts, &Args, pipelineExecutionName) if err != nil { - logrus.Errorf("pipeline excution logs init error: %v", err) - return fmt.Errorf("pipeline excution logs init error: %v", err) + logrus.Errorf("pipeline execution logs init error: %v", err) + return fmt.Errorf("pipeline execution logs init error: %v", err) } logrus.Debugf("start logs pipeline execution obj, Global: %+v ", opts) diff --git a/docs/README.md b/docs/README.md index 9d87eab4..cf7e06a1 100644 --- a/docs/README.md +++ b/docs/README.md @@ -4,6 +4,6 @@ Kurator doc is built by [Hugo](https://gohugo.io/) and [Docsy](https://www.docsy for local dev please run the following command: -```cosole +```console hugo run -p 3000 --bind 0.0.0.0 ``` diff --git a/docs/content/en/docs/Integrations/istio.md b/docs/content/en/docs/Integrations/istio.md index f8503f5b..f909ac9b 100644 --- a/docs/content/en/docs/Integrations/istio.md +++ b/docs/content/en/docs/Integrations/istio.md @@ -45,4 +45,4 @@ kurator install istio --primary member1 --remote member2 ### Next steps -Now, you can [verify the installion](https://istio.io/latest/docs/setup/install/multicluster/verify) +Now, you can [verify the installation](https://istio.io/latest/docs/setup/install/multicluster/verify) diff --git a/docs/content/en/docs/Integrations/pixie-vizier.md b/docs/content/en/docs/Integrations/pixie-vizier.md index 949770c6..079d762d 100644 --- a/docs/content/en/docs/Integrations/pixie-vizier.md +++ b/docs/content/en/docs/Integrations/pixie-vizier.md @@ -39,8 +39,8 @@ Create a deployment key following the directions [here](https://docs.pixielabs.a Kurator provides a very simple command to install Pixie vizier to all clusters joined to karmada. -- `--cloud-addr` sepcifies the address of the Pixie cloud instance that the vizier should be connected to. -- `--deploy-key` sepcifies the deploy key is used to link the deployed vizier to a specific user/project. +- `--cloud-addr` specifies the address of the Pixie cloud instance that the vizier should be connected to. +- `--deploy-key` specifies the deploy key is used to link the deployed vizier to a specific user/project. ```bash kurator install pixie vizier --deploy-key= diff --git a/docs/content/en/docs/fleet-manager/_index.md b/docs/content/en/docs/fleet-manager/_index.md index 37599e3f..c857679a 100644 --- a/docs/content/en/docs/fleet-manager/_index.md +++ b/docs/content/en/docs/fleet-manager/_index.md @@ -31,4 +31,4 @@ The overall architecture of Kurator fleet manager is shown as below: >}} -The Kurator Fleet Manager runs as a kubernetes operator, it is in charge of fleet control plane lifecycle management and also responsible for cluster registeration and un registration. +The Kurator Fleet Manager runs as a kubernetes operator, it is in charge of fleet control plane lifecycle management and also responsible for cluster registration and un registration. diff --git a/docs/content/en/docs/fleet-manager/application.md b/docs/content/en/docs/fleet-manager/application.md index f248f61b..0a074c2a 100644 --- a/docs/content/en/docs/fleet-manager/application.md +++ b/docs/content/en/docs/fleet-manager/application.md @@ -247,7 +247,7 @@ kubectl get po -A --kubeconfig=/root/.kube/kurator-member2.config Upon examining the respective clusters, you'll find that applications originating from the same source configuration have been distributed to different clusters based on their respective policy selector labels. -## Playgroud +## Playground Kurator uses killercoda to provide [applications demo](https://killercoda.com/965010e0-4f60-4a28-bf27-597d3kurator/scenario/application-example), allowing users to experience hands-on operations. diff --git a/docs/content/en/docs/fleet-manager/distributedstorage-plugin.md b/docs/content/en/docs/fleet-manager/distributedstorage-plugin.md index 12329289..08708c45 100644 --- a/docs/content/en/docs/fleet-manager/distributedstorage-plugin.md +++ b/docs/content/en/docs/fleet-manager/distributedstorage-plugin.md @@ -125,7 +125,7 @@ rook-ceph-rgw-ceph-objectstore-a-5c4df48bbb-bf6jn 2/2 Runn ## Persistent Volume Use Guide -After rook opeartor and rook ceph cluster are installed, this chapter provides examples of using Block Storage, Filesystem Storage and Object Storage. +After rook operator and rook ceph cluster are installed, this chapter provides examples of using Block Storage, Filesystem Storage and Object Storage. ### Block Storage Class Configuration @@ -168,8 +168,8 @@ allowVolumeExpansion: true There are a few things to note in the above block storage class configuration: - provisioner is configured in the format (operator-namespace).rbd.csi.ceph.com. Change "rook-ceph" provisioner prefix to match the operator namespace if needed. -- `parametes.clusterID` is the namespace where the rook cluster is running. -- `parametes.pool` is the `CephBlockPool` created before. +- `parameters.clusterID` is the namespace where the rook cluster is running. +- `parameters.pool` is the `CephBlockPool` created before. ### FileSystem Storage Class Configuration @@ -289,7 +289,7 @@ There are a few things to note in the above filesystem storage class configurati ### Use Block Storage -After creating the storagec class for block, file and object storage, it's time to actually use this storage class. We can ues Kurator application to create Persistent Volume Claim and Pod that consume it. +After creating the storagec class for block, file and object storage, it's time to actually use this storage class. We can use Kurator application to create Persistent Volume Claim and Pod that consume it. ```console kubectl apply -f - <PluginConfig -

Flagger defines the configuretion for the kurator rollout engine.

+

Flagger defines the configuration for the kurator rollout engine.

diff --git a/docs/proposals/rollout/rollout.md b/docs/proposals/rollout/rollout.md index b8f24277..934464e4 100644 --- a/docs/proposals/rollout/rollout.md +++ b/docs/proposals/rollout/rollout.md @@ -430,7 +430,7 @@ type CrossNamespaceObjectReference struct { // e.g. // webhooks: // - timeoutSeconds: 15 -// commend: +// command: // - "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/" // The above example means that during trafficAnalysis, the cmd of "http://flagger-loadtester.test/" is invoked // to execute the command "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/" @@ -439,7 +439,7 @@ type Webhook struct { // Defaults to 60 TimeoutSeconds *int `json:"timeoutSeconds,omitempty"` - // Command defines to commends that executed by webhook. + // Command defines to commands that executed by webhook. // +optional Command []string `json:"command,omitempty"` } diff --git a/hack/util.sh b/hack/util.sh index 897de5a8..6c25ca4e 100755 --- a/hack/util.sh +++ b/hack/util.sh @@ -97,7 +97,7 @@ function util::wait_file_exist() { } # util::wait_pod_ready waits for pod state becomes ready until timeout. -# Parmeters: +# Parameters: # - $1: pod label, such as "app=etcd" # - $2: pod namespace, such as "karmada-system" # - $3: time out, such as "200s" @@ -120,7 +120,7 @@ function util::wait_pod_ready() { } # util::wait_apiservice_ready waits for apiservice state becomes Available until timeout. -# Parmeters: +# Parameters: # - $1: apiservice label, such as "app=etcd" # - $3: time out, such as "200s" function util::wait_apiservice_ready() { @@ -140,7 +140,7 @@ function util::wait_apiservice_ready() { # util::create_cluster creates a kubernetes cluster # util::create_cluster creates a kind cluster and don't wait for control plane node to be ready. -# Parmeters: +# Parameters: # - $1: cluster name, such as "host" # - $2: KUBECONFIG file, such as "/var/run/host.config" # - $3: node docker image to use for booting the cluster, such as "kindest/node:v1.19.1" @@ -266,8 +266,8 @@ function util::wait_pods() { ns=$1 lb=$2 waittime=$3 - # Wait for the pods to be ready in the given namespace with lable - while :; do + # Wait for the pods to be ready in the given namespace with label + while : ; do res=$(kubectl wait --kubeconfig="$4" --context "$5" -n "${ns}" pod \ -l "${lb}" --for=condition=Ready --timeout="${waittime}s" 2>/dev/null || true) if [[ "${res}" == *"condition met"* ]]; then diff --git a/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml index 07ac20cd..6b60c230 100755 --- a/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml @@ -32,11 +32,11 @@ spec: jsonPath: .status.replicas name: Replicas type: integer - - description: Minimum instanes in ASG + - description: Minimum instances in ASG jsonPath: .spec.minSize name: MinSize type: integer - - description: Maximum instanes in ASG + - description: Maximum instances in ASG jsonPath: .spec.maxSize name: MaxSize type: integer diff --git a/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml index 55dca472..63d39ee1 100755 --- a/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml @@ -93,7 +93,7 @@ spec: is suitable for use by control plane machines. type: boolean type: object - description: FailureDomains specifies a list fo available availability + description: FailureDomains specifies a list of available availability zones that can be used type: object ready: diff --git a/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml index 413ce63e..000cb99c 100755 --- a/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml @@ -1063,7 +1063,7 @@ spec: is suitable for use by control plane machines. type: boolean type: object - description: FailureDomains specifies a list fo available availability + description: FailureDomains specifies a list of available availability zones that can be used type: object failureMessage: diff --git a/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml index 59e89925..11564c9a 100755 --- a/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml @@ -84,7 +84,7 @@ spec: awsLaunchTemplate: description: AWSLaunchTemplate specifies the launch template to use to create the managed node group. If AWSLaunchTemplate is specified, - certain node group configuraions outside of launch template are + certain node group configurations outside of launch template are prohibited (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html). properties: additionalSecurityGroups: diff --git a/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml index ad3dcb21..49fe4f8e 100755 --- a/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml @@ -129,7 +129,7 @@ spec: is found on the device. Use with caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the tupe of partition + description: 'TableType specifies the type of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' diff --git a/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml index b1c68f3e..a305132d 100755 --- a/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml @@ -133,7 +133,7 @@ spec: caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the tupe of partition + description: 'TableType specifies the type of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' diff --git a/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml index 1da61d8a..ebf99622 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml @@ -428,7 +428,7 @@ spec: is found on the device. Use with caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the tupe of partition + description: 'TableType specifies the type of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -616,7 +616,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node API - object, for later re-use + object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of pre-flight @@ -722,7 +722,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate authority - used to secure comunications between node and control-plane. + used to secure communications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -827,7 +827,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node API - object, for later re-use + object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of pre-flight diff --git a/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml index 868df038..6e851382 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml @@ -456,7 +456,7 @@ spec: caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the tupe of partition + description: 'TableType specifies the type of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -655,7 +655,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later re-use + to the Node API object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice @@ -769,7 +769,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate - authority used to secure comunications between node + authority used to secure communications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -881,7 +881,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later re-use + to the Node API object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice diff --git a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml index ddd96325..a08fb874 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml @@ -481,7 +481,7 @@ spec: is 'false'. type: boolean tableType: - description: 'TableType specifies the tupe of partition + description: 'TableType specifies the type of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -674,7 +674,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node - API object, for later re-use + API object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of @@ -786,7 +786,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate - authority used to secure comunications between node and + authority used to secure communications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -894,7 +894,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node - API object, for later re-use + API object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of diff --git a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml index d0469efd..35dd0ced 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml @@ -483,7 +483,7 @@ spec: Use with caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the tupe of + description: 'TableType specifies the type of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -689,7 +689,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later re-use + to the Node API object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a @@ -807,7 +807,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate - authority used to secure comunications between node + authority used to secure communications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -925,7 +925,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later re-use + to the Node API object, for later reuse type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a diff --git a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml index 3fb6f0c2..f553c477 100644 --- a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml +++ b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml @@ -45,7 +45,7 @@ spec: destination: description: |- Destination defines the destination clusters where the artifacts will be synced. - It can be overriden by the syncPolicies' destination. + It can be overridden by the syncPolicies' destination. properties: clusterSelector: description: |- @@ -729,7 +729,7 @@ spec: type: object replace: description: |- - Replace tells the Helm install action to re-use the 'ReleaseName', but only + Replace tells the Helm install action to reuse the 'ReleaseName', but only if that name is a deleted release which remains in the history. type: boolean skipCRDs: @@ -1360,7 +1360,7 @@ spec: description: Webhook list for this traffic analysis properties: command: - description: Commands define to commends that + description: Commands define to commands that executed by webhook. items: type: string diff --git a/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml b/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml index 02e45f3d..1fd7b9f0 100644 --- a/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml +++ b/manifests/charts/fleet-manager/crds/fleet.kurator.dev_fleets.yaml @@ -2462,7 +2462,7 @@ spec: - storage type: object flagger: - description: Flagger defines the configuretion for the kurator + description: Flagger defines the configuration for the kurator rollout engine. properties: chart: diff --git a/manifests/profiles/infra/plugins/aws-cni-calico.yaml b/manifests/profiles/infra/plugins/aws-cni-calico.yaml index 4bd07c18..421a04ab 100644 --- a/manifests/profiles/infra/plugins/aws-cni-calico.yaml +++ b/manifests/profiles/infra/plugins/aws-cni-calico.yaml @@ -322,7 +322,7 @@ spec: numAllowedLocalASNumbers: description: Maximum number of local AS numbers that are allowed in the AS path for received routes. This removes BGP loop prevention - and should only be used if absolutely necesssary. + and should only be used if absolutely necessary. format: int32 type: integer password: diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml index d9717776..032145bd 100644 --- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml @@ -2639,7 +2639,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contails details about state of pvc + description: PersistentVolumeClaimCondition contains details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml index e361d8c8..8678fd47 100644 --- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml +++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml @@ -3975,7 +3975,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contails details about state of pvc + description: PersistentVolumeClaimCondition contains details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml index b9b3f279..c78fc465 100644 --- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml @@ -2801,7 +2801,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contails details about state of pvc + description: PersistentVolumeClaimCondition contains details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml index d9717776..032145bd 100644 --- a/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml @@ -2639,7 +2639,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contails details about state of pvc + description: PersistentVolumeClaimCondition contains details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml index e361d8c8..8678fd47 100644 --- a/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml +++ b/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml @@ -3975,7 +3975,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contails details about state of pvc + description: PersistentVolumeClaimCondition contains details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml index b9b3f279..c78fc465 100644 --- a/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml @@ -2801,7 +2801,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contails details about state of pvc + description: PersistentVolumeClaimCondition contains details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/pkg/apis/cluster/v1alpha1/cluster_consts.go b/pkg/apis/cluster/v1alpha1/cluster_consts.go index 9f53bff8..e02fa076 100644 --- a/pkg/apis/cluster/v1alpha1/cluster_consts.go +++ b/pkg/apis/cluster/v1alpha1/cluster_consts.go @@ -41,7 +41,7 @@ const ( ProvisioningReason = "Provisioning" // DeletingReason (Severity=Info) documents that the cluster is being deleted. DeletingReason = "Deleting" - // ProviderInitializeFailedReason (Severity=Error) documents that the cluster infrastructure provider initilize failed, probabily a wrong credential. + // ProviderInitializeFailedReason (Severity=Error) documents that the cluster infrastructure provider initialize failed, probably a wrong credential. ProviderInitializeFailedReason = "ProviderInitializeFailed" // ClusterResourceSetProvisionFailedReason (Severity=Error) documents that the additional Cluster API resources (ClusterResourceSet etc.) provisioning failed. diff --git a/pkg/apis/fleet/v1alpha1/types.go b/pkg/apis/fleet/v1alpha1/types.go index 5dd91839..d57042cc 100644 --- a/pkg/apis/fleet/v1alpha1/types.go +++ b/pkg/apis/fleet/v1alpha1/types.go @@ -85,7 +85,7 @@ type PluginConfig struct { Backup *BackupConfig `json:"backup,omitempty"` // DistributedStorage define the configuration for the distributed storage(Implemented with Rook) DistributedStorage *DistributedStorageConfig `json:"distributedStorage,omitempty"` - // Flagger defines the configuretion for the kurator rollout engine. + // Flagger defines the configuration for the kurator rollout engine. Flagger *FlaggerConfig `json:"flagger,omitempty"` } diff --git a/pkg/client/client.go b/pkg/client/client.go index 43fc6d61..2b445831 100644 --- a/pkg/client/client.go +++ b/pkg/client/client.go @@ -139,7 +139,7 @@ func (c *Client) UpdateResource(obj interface{}) error { return err } -// Copied from karmada, because we donot want to build the controller-runtime client. +// Copied from karmada, because we do not want to build the controller-runtime client. func (c *Client) memberClusterConfig(clusterName string) (*rest.Config, error) { cluster, err := c.karmada.ClusterV1alpha1().Clusters().Get(context.TODO(), clusterName, metav1.GetOptions{}) if err != nil { diff --git a/pkg/fleet-manager/application/rollout_helper.go b/pkg/fleet-manager/application/rollout_helper.go index 32bce3b4..0e7622fb 100644 --- a/pkg/fleet-manager/application/rollout_helper.go +++ b/pkg/fleet-manager/application/rollout_helper.go @@ -338,7 +338,7 @@ func installPrivateTestloader(ctx context.Context, namespacedName types.Namespac func deleteResourceCreatedByKurator(ctx context.Context, namespaceName types.NamespacedName, kubeClient client.Client, obj client.Object) error { if err := kubeClient.Get(ctx, namespaceName, obj); err != nil { if !apierrors.IsNotFound(err) { - return errors.Wrapf(err, "falied to get resource %s in %s", namespaceName.Name, namespaceName.Namespace) + return errors.Wrapf(err, "failed to get resource %s in %s", namespaceName.Name, namespaceName.Namespace) } } else { // verify if the deployment were created by kurator diff --git a/pkg/fleet-manager/controlplane.go b/pkg/fleet-manager/controlplane.go index 38b2231b..1a81ef4f 100644 --- a/pkg/fleet-manager/controlplane.go +++ b/pkg/fleet-manager/controlplane.go @@ -37,7 +37,7 @@ const FleetWorkerClusterRoleBindingName = "fleet-worker" func (f *FleetManager) reconcileControlPlane(ctx context.Context, fleet *fleetapi.Fleet) error { controlplane := fleet.Annotations[fleetapi.ControlplaneAnnotation] // if no controlplane is specified, do nothing - // we donot support annotation update yet + // we do not support annotation update yet if controlplane == "" { fleet.Status.Phase = fleetapi.ReadyPhase fleet.Status.CredentialSecret = nil diff --git a/pkg/infra/aws/aws_pod_identity.go b/pkg/infra/aws/aws_pod_identity.go index 05593356..c3c58dc8 100644 --- a/pkg/infra/aws/aws_pod_identity.go +++ b/pkg/infra/aws/aws_pod_identity.go @@ -32,7 +32,7 @@ import ( var _ service.PodIdentity = &AWSPodIdentity{} -// AWSPodIdentity is a service for creating AWS pod identity folow the guide: https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md +// AWSPodIdentity is a service for creating AWS pod identity follow the guide: https://github.com/aws/amazon-eks-pod-identity-webhook/blob/master/SELF_HOSTED_SETUP.md // It will create a S3 bucket and put the OIDC files(pubicl access) and certs(private access) to the bucket, then create a OpenID connect provider. type AWSPodIdentity struct { bucketName string diff --git a/pkg/infra/plugin/testdata/aws-cni-calico.yaml b/pkg/infra/plugin/testdata/aws-cni-calico.yaml index 9ef41573..c3c6ea0f 100644 --- a/pkg/infra/plugin/testdata/aws-cni-calico.yaml +++ b/pkg/infra/plugin/testdata/aws-cni-calico.yaml @@ -325,7 +325,7 @@ data: numAllowedLocalASNumbers: description: Maximum number of local AS numbers that are allowed in the AS path for received routes. This removes BGP loop prevention - and should only be used if absolutely necesssary. + and should only be used if absolutely necessary. format: int32 type: integer password: diff --git a/pkg/plugin/istio/install.go b/pkg/plugin/istio/install.go index 012b1202..2926a4f9 100644 --- a/pkg/plugin/istio/install.go +++ b/pkg/plugin/istio/install.go @@ -152,10 +152,10 @@ func (p *IstioPlugin) createIstioCacerts() error { return util.ApplyPropagationPolicy(p.Client, p.allClusters(), s) } // err can be divided into two types: - // 1 Unexpect, return directly + // 1 Unexpected, return directly // 2 IsNotFound, to create Istio Cacerts if !apierrors.IsNotFound(err) { - return fmt.Errorf("unexpect error when get secret %s, %w", caSecret, err) + return fmt.Errorf("unexpected error when get secret %s, %w", caSecret, err) } var gen istiocert.Generator diff --git a/pkg/plugin/prometheus/plugin.go b/pkg/plugin/prometheus/plugin.go index 9cf41317..d442f2f7 100644 --- a/pkg/plugin/prometheus/plugin.go +++ b/pkg/plugin/prometheus/plugin.go @@ -322,7 +322,7 @@ func (p *Plugin) createAdditionalScrapeConfigs() error { return err } if promCfg.Namespace == "" { - return fmt.Errorf("get prom faild, %+v", promCfg) + return fmt.Errorf("get prom failed, %+v", promCfg) } op := &policyv1alpha1.OverridePolicy{ TypeMeta: typemeta.OverridePolicy, diff --git a/pkg/plugin/volcano/plugin.go b/pkg/plugin/volcano/plugin.go index f020082a..39bb6208 100644 --- a/pkg/plugin/volcano/plugin.go +++ b/pkg/plugin/volcano/plugin.go @@ -158,7 +158,7 @@ func (p *Plugin) volcanoManifest() (string, error) { case "arm64": manifestName = "installer/volcano-development-arm64.yaml" default: - return "", fmt.Errorf("os arch %s is not supportted", runtime.GOARCH) + return "", fmt.Errorf("os arch %s is not supported", runtime.GOARCH) } url, _ := util.JoinUrlPath(volcano.ReleaseURLPrefix, ver, manifestName) yaml, err := util.DownloadResource(url, "") From 43ca14d3c89b67ac9827d11dc285afeba82fb29e Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 26 Aug 2024 04:31:19 +0000 Subject: [PATCH 3/6] typo fix in app_v1alpha1 Signed-off-by: Tom --- docs/content/en/references/apps_v1alpha1_types.html | 8 ++++---- pkg/apis/apps/v1alpha1/types.go | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/content/en/references/apps_v1alpha1_types.html b/docs/content/en/references/apps_v1alpha1_types.html index b6f5c9f2..67d85376 100644 --- a/docs/content/en/references/apps_v1alpha1_types.html +++ b/docs/content/en/references/apps_v1alpha1_types.html @@ -103,7 +103,7 @@

Application (Optional)

Destination defines the destination clusters where the artifacts will be synced. -It can be overriden by the syncPolicies’ destination.

+It can be overridden by the syncPolicies’ destination.

@@ -346,7 +346,7 @@

ApplicationSpec (Optional)

Destination defines the destination clusters where the artifacts will be synced. -It can be overriden by the syncPolicies’ destination.

+It can be overridden by the syncPolicies’ destination.

@@ -2270,7 +2270,7 @@

Webhook e.g.

webhooks:
 - timeoutSeconds: 15
-commend:
+command:
 - "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/"
 

The above example means that during trafficAnalysis, the cmd of “http://flagger-loadtester.test/” is invoked @@ -2306,7 +2306,7 @@

Webhook (Optional) -

Commands define to commends that executed by webhook.

+

Commands define to commands that executed by webhook.

diff --git a/pkg/apis/apps/v1alpha1/types.go b/pkg/apis/apps/v1alpha1/types.go index 78c6c949..81829aaf 100644 --- a/pkg/apis/apps/v1alpha1/types.go +++ b/pkg/apis/apps/v1alpha1/types.go @@ -46,7 +46,7 @@ type ApplicationSpec struct { // SyncPolicies controls how the artifact will be customized and where it will be synced. SyncPolicies []*ApplicationSyncPolicy `json:"syncPolicies"` // Destination defines the destination clusters where the artifacts will be synced. - // It can be overriden by the syncPolicies' destination. + // It can be overridden by the syncPolicies' destination. // +optional Destination *ApplicationDestination `json:"destination,omitempty"` } @@ -399,7 +399,7 @@ type CrossNamespaceObjectReference struct { // ```yaml // webhooks: // - timeoutSeconds: 15 -// commend: +// command: // - "hey -z 1m -q 10 -c 2 http://podinfo-canary.test:9898/" // // ``` @@ -411,7 +411,7 @@ type Webhook struct { // Defaults to 60 TimeoutSeconds *int `json:"timeoutSeconds,omitempty"` - // Commands define to commends that executed by webhook. + // Commands define to commands that executed by webhook. // +optional Commands []string `json:"command,omitempty"` } From ba1f61589a1d0d043119ad8ed55b150aa5e57022 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 26 Aug 2024 04:45:24 +0000 Subject: [PATCH 4/6] finish make gen Signed-off-by: Tom --- .../awsmachinepools.infrastructure.cluster.x-k8s.io.yaml | 4 ++-- ...wsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml | 2 +- ...anagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml | 2 +- ...nagedmachinepools.infrastructure.cluster.x-k8s.io.yaml | 2 +- .../crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml | 2 +- .../eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml | 2 +- .../crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml | 8 ++++---- ...kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml | 8 ++++---- ...ubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml | 8 ++++---- ...ntrolplanetemplates.controlplane.cluster.x-k8s.io.yaml | 8 ++++---- .../fleet-manager/crds/apps.kurator.dev_applications.yaml | 2 +- ...us-operator-0alertmanagerCustomResourceDefinition.yaml | 2 +- ...heus-operator-0prometheusCustomResourceDefinition.yaml | 2 +- ...eus-operator-0thanosrulerCustomResourceDefinition.yaml | 2 +- ...us-operator-0alertmanagerCustomResourceDefinition.yaml | 2 +- ...heus-operator-0prometheusCustomResourceDefinition.yaml | 2 +- ...eus-operator-0thanosrulerCustomResourceDefinition.yaml | 2 +- 17 files changed, 30 insertions(+), 30 deletions(-) diff --git a/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml index 6b60c230..07ac20cd 100755 --- a/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmachinepools.infrastructure.cluster.x-k8s.io.yaml @@ -32,11 +32,11 @@ spec: jsonPath: .status.replicas name: Replicas type: integer - - description: Minimum instances in ASG + - description: Minimum instanes in ASG jsonPath: .spec.minSize name: MinSize type: integer - - description: Maximum instances in ASG + - description: Maximum instanes in ASG jsonPath: .spec.maxSize name: MaxSize type: integer diff --git a/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml index 63d39ee1..55dca472 100755 --- a/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmanagedclusters.infrastructure.cluster.x-k8s.io.yaml @@ -93,7 +93,7 @@ spec: is suitable for use by control plane machines. type: boolean type: object - description: FailureDomains specifies a list of available availability + description: FailureDomains specifies a list fo available availability zones that can be used type: object ready: diff --git a/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml index 000cb99c..413ce63e 100755 --- a/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmanagedcontrolplanes.controlplane.cluster.x-k8s.io.yaml @@ -1063,7 +1063,7 @@ spec: is suitable for use by control plane machines. type: boolean type: object - description: FailureDomains specifies a list of available availability + description: FailureDomains specifies a list fo available availability zones that can be used type: object failureMessage: diff --git a/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml index 11564c9a..59e89925 100755 --- a/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/awsmanagedmachinepools.infrastructure.cluster.x-k8s.io.yaml @@ -84,7 +84,7 @@ spec: awsLaunchTemplate: description: AWSLaunchTemplate specifies the launch template to use to create the managed node group. If AWSLaunchTemplate is specified, - certain node group configurations outside of launch template are + certain node group configuraions outside of launch template are prohibited (https://docs.aws.amazon.com/eks/latest/userguide/launch-templates.html). properties: additionalSecurityGroups: diff --git a/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml index 49fe4f8e..ad3dcb21 100755 --- a/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/eksconfigs.bootstrap.cluster.x-k8s.io.yaml @@ -129,7 +129,7 @@ spec: is found on the device. Use with caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the type of partition + description: 'TableType specifies the tupe of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' diff --git a/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml index a305132d..b1c68f3e 100755 --- a/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/eksconfigtemplates.bootstrap.cluster.x-k8s.io.yaml @@ -133,7 +133,7 @@ spec: caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the type of partition + description: 'TableType specifies the tupe of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' diff --git a/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml index ebf99622..1da61d8a 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmconfigs.bootstrap.cluster.x-k8s.io.yaml @@ -428,7 +428,7 @@ spec: is found on the device. Use with caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the type of partition + description: 'TableType specifies the tupe of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -616,7 +616,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node API - object, for later reuse + object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of pre-flight @@ -722,7 +722,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate authority - used to secure communications between node and control-plane. + used to secure comunications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -827,7 +827,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node API - object, for later reuse + object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of pre-flight diff --git a/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml index 6e851382..868df038 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmconfigtemplates.bootstrap.cluster.x-k8s.io.yaml @@ -456,7 +456,7 @@ spec: caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the type of partition + description: 'TableType specifies the tupe of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -655,7 +655,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later reuse + to the Node API object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice @@ -769,7 +769,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate - authority used to secure communications between node + authority used to secure comunications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -881,7 +881,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later reuse + to the Node API object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice diff --git a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml index a08fb874..ddd96325 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanes.controlplane.cluster.x-k8s.io.yaml @@ -481,7 +481,7 @@ spec: is 'false'. type: boolean tableType: - description: 'TableType specifies the type of partition + description: 'TableType specifies the tupe of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -674,7 +674,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node - API object, for later reuse + API object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of @@ -786,7 +786,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate - authority used to secure communications between node and + authority used to secure comunications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -894,7 +894,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated to the Node - API object, for later reuse + API object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a slice of diff --git a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml index 35dd0ced..d0469efd 100755 --- a/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml +++ b/manifests/charts/cluster-operator/crds/kubeadmcontrolplanetemplates.controlplane.cluster.x-k8s.io.yaml @@ -483,7 +483,7 @@ spec: Use with caution. Default is 'false'. type: boolean tableType: - description: 'TableType specifies the type of + description: 'TableType specifies the tupe of partition table. The following are supported: ''mbr'': default and setups a MS-DOS partition table ''gpt'': setups a GPT partition table' @@ -689,7 +689,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later reuse + to the Node API object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a @@ -807,7 +807,7 @@ spec: type: string caCertPath: description: 'CACertPath is the path to the SSL certificate - authority used to secure communications between node + authority used to secure comunications between node and control-plane. Defaults to "/etc/kubernetes/pki/ca.crt". TODO: revisit when there is defaulting from k/k' type: string @@ -925,7 +925,7 @@ spec: criSocket: description: CRISocket is used to retrieve container runtime info. This information will be annotated - to the Node API object, for later reuse + to the Node API object, for later re-use type: string ignorePreflightErrors: description: IgnorePreflightErrors provides a diff --git a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml index f553c477..333ff934 100644 --- a/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml +++ b/manifests/charts/fleet-manager/crds/apps.kurator.dev_applications.yaml @@ -729,7 +729,7 @@ spec: type: object replace: description: |- - Replace tells the Helm install action to reuse the 'ReleaseName', but only + Replace tells the Helm install action to re-use the 'ReleaseName', but only if that name is a deleted release which remains in the history. type: boolean skipCRDs: diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml index 032145bd..d9717776 100644 --- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml @@ -2639,7 +2639,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contains details about state of pvc + description: PersistentVolumeClaimCondition contails details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml index 8678fd47..e361d8c8 100644 --- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml +++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml @@ -3975,7 +3975,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contains details about state of pvc + description: PersistentVolumeClaimCondition contails details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml b/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml index c78fc465..b9b3f279 100644 --- a/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom-thanos/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml @@ -2801,7 +2801,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contains details about state of pvc + description: PersistentVolumeClaimCondition contails details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml index 032145bd..d9717776 100644 --- a/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom/setup/prometheus-operator-0alertmanagerCustomResourceDefinition.yaml @@ -2639,7 +2639,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contains details about state of pvc + description: PersistentVolumeClaimCondition contails details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml index 8678fd47..e361d8c8 100644 --- a/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml +++ b/manifests/profiles/prom/setup/prometheus-operator-0prometheusCustomResourceDefinition.yaml @@ -3975,7 +3975,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contains details about state of pvc + description: PersistentVolumeClaimCondition contails details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. diff --git a/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml b/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml index c78fc465..b9b3f279 100644 --- a/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml +++ b/manifests/profiles/prom/setup/prometheus-operator-0thanosrulerCustomResourceDefinition.yaml @@ -2801,7 +2801,7 @@ spec: conditions: description: Current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'ResizeStarted'. items: - description: PersistentVolumeClaimCondition contains details about state of pvc + description: PersistentVolumeClaimCondition contails details about state of pvc properties: lastProbeTime: description: Last time we probed the condition. From d8f673f5b90e3cb5f14cffeb1aede4dba05682a3 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 26 Aug 2024 05:10:20 +0000 Subject: [PATCH 5/6] codespell skip manifests Signed-off-by: Tom --- .codespellrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.codespellrc b/.codespellrc index 265bff8e..e199e7d1 100644 --- a/.codespellrc +++ b/.codespellrc @@ -1,3 +1,3 @@ [codespell] -skip = .git,go.sum,go.mod,*.png,*.svg +skip = .git,go.sum,go.mod,*.png,*.svg,./manifests ignore-words-list = NotIn,te,ans,AKS \ No newline at end of file From f464b734ba12b913385a74a89a4e7a7bb3f3e592 Mon Sep 17 00:00:00 2001 From: Tom Date: Mon, 26 Aug 2024 06:02:20 +0000 Subject: [PATCH 6/6] trigger ci Signed-off-by: Tom