Skip to content

Commit

Permalink
chore(lint): fix codespell
Browse files Browse the repository at this point in the history
  • Loading branch information
rriski committed Dec 19, 2023
1 parent c963a0c commit 0e362c3
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
- Add `minumim`, `maximum` validations for `number` type
- Move helm charts to the operator repository
- Add helm charts generator
- Remove `ip_filter` backward compatability
- Remove `ip_filter` backward compatibility
- Fix deletion errors omitted
- Add service integration `clickhouseKafka.tables.data_format-property` enum `RawBLOB` value
- Update OpenSearch `userConfig.opensearch.email_sender_username` validation pattern
Expand Down
2 changes: 1 addition & 1 deletion charts/aiven-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ webhooks:
image:
repository: aivenoy/aiven-operator
pullPolicy: IfNotPresent
# default is .Chart.AppVersion but can be overriden here
# default is .Chart.AppVersion but can be overridden here
tag: ''

imagePullSecrets: []
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/aiven.io_crd-all.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ spec:
minimum: 0
type: integer
pattern:
description: Must consist of alpha-numeric characters,
description: Must consist of alphanumeric characters,
dashes, underscores, dots and glob characters (* and
?)
maxLength: 1024
Expand Down
2 changes: 1 addition & 1 deletion controllers/basic_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ func (i *instanceReconcilerHelper) finalize(ctx context.Context, o v1alpha1.Aive
deletionPolicy := deletionPolicyDelete

// Parse the annotations for the deletion policy. For simplicity, we only allow 'Orphan'.
// If set will skip the deletion of the remote object. Disable by removing the annoation.
// If set will skip the deletion of the remote object. Disable by removing the annotation.
if p, ok := o.GetAnnotations()[deletionPolicyAnnotation]; ok {
deletionPolicy = deletionPolicyOrphan
if p != deletionPolicyOrphan {
Expand Down
2 changes: 1 addition & 1 deletion controllers/kafkaconnector_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (h KafkaConnectorHandler) createOrUpdate(ctx context.Context, avn *aiven.Cl
return nil
}

// buildConnectorConfig joins mandatory fields with additional conncetor specific config
// buildConnectorConfig joins mandatory fields with additional connector specific config
func (h KafkaConnectorHandler) buildConnectorConfig(conn *v1alpha1.KafkaConnector) (aiven.KafkaConnectorConfig, error) {
const (
configFieldConnectorName = "name"
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
- Add `minumim`, `maximum` validations for `number` type
- Move helm charts to the operator repository
- Add helm charts generator
- Remove `ip_filter` backward compatability
- Remove `ip_filter` backward compatibility
- Fix deletion errors omitted
- Add service integration `clickhouseKafka.tables.data_format-property` enum `RawBLOB` value
- Update OpenSearch `userConfig.opensearch.email_sender_username` validation pattern
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/contributing/resource-generation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ When a new schema is issued on the API,
a cron job fetches it, parses, patches, and saves in a shared library — [go-api-schemas][go-api-schemas].

When the library is updated,
the GitHub [dependabot](https://github.com/dependabot) creates PRs to the dependant repositories,
the GitHub [dependabot](https://github.com/dependabot) creates PRs to the dependent repositories,
like Aiven Kubernetes Operator and Aiven Terraform Provider.

Then the [`make generate`](#make-generate) command is called by GitHub action.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Use the following command to visualize all the logs from the operator.
kubectl logs -n aiven-operator-system -l control-plane=controller-manager
```

### Verifing the operator version
### Verifying the operator version

```shell
kubectl get pod -n aiven-operator-system -l control-plane=controller-manager -o jsonpath="{.items[0].spec.containers[0].image}"
Expand Down
8 changes: 4 additions & 4 deletions generators/userconfigs/generator_test_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ properties:
max_length: 256
pattern: ^[a-z0-9-]+$
example: aws-eu-central-1
user_error: Must consist of lower-case alpha-numeric characters or dashes
user_error: Must consist of lower-case alphanumeric characters or dashes
max_items: 1
admin_password:
title: Custom password for admin user. Defaults to random string. This must be
Expand All @@ -22,7 +22,7 @@ properties:
create_only: true
pattern: ^[a-zA-Z0-9-_]+$
example: z66o9QXqKM
user_error: Must consist of alpha-numeric characters, underscores or dashes
user_error: Must consist of alphanumeric characters, underscores or dashes
admin_username:
title: Custom username for admin user. This must be set only when a new service
is being created.
Expand All @@ -31,7 +31,7 @@ properties:
create_only: true
pattern: ^[_A-Za-z0-9][-._A-Za-z0-9]{0,63}$
example: avnadmin
user_error: Must consist of alpha-numeric characters, dots, underscores or dashes,
user_error: Must consist of alphanumeric characters, dots, underscores or dashes,
may not start with dash or dot, max 64 characters
backup_hour:
title: The hour of day (in UTC) when backup for the service is started. New backup
Expand Down Expand Up @@ -419,7 +419,7 @@ properties:
max_length: 64
pattern: ^[_A-Za-z0-9][-._A-Za-z0-9]{0,63}$
example: myrolename
user_error: Must consist of alpha-numeric characters, dots, underscores or
user_error: Must consist of alphanumeric characters, dots, underscores or
dashes, may not start with dash or dot, max 64 characters
pg_stat_monitor.pgsm_enable_query_plan:
title: pg_stat_monitor.pgsm_enable_query_plan
Expand Down

0 comments on commit 0e362c3

Please sign in to comment.