Skip to content

Commit f87ef7a

Browse files
committed
Fix typos
1 parent c81d453 commit f87ef7a

28 files changed

Lines changed: 65 additions & 65 deletions

File tree

crates/k8s-version/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//!
2424
//! ### Constructing
2525
//!
26-
//! Alternatively, they can be constructed programatically using the
26+
//! Alternatively, they can be constructed programmatically using the
2727
//! [`ApiVersion::new()`] and [`ApiVersion::try_new()`] functions.
2828
//!
2929
//! ```

crates/stackable-certs/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ All notable changes to this project will be documented in this file.
1414

1515
- BREAKING: The functions `generate_leaf_certificate`, `generate_rsa_leaf_certificate` and
1616
`generate_ecdsa_leaf_certificate` of `CertificateAuthority` accept an additional parameter
17-
`subject_alterative_dns_names` ([#1057]).
17+
`subject_alternative_dns_names` ([#1057]).
1818
- The passed SANs are added to the generated certificate, this is needed when the HTTPS server is
1919
accessible on multiple DNS names and/or IPs.
2020
- Pass an empty list (`[]`) to keep the existing behavior.

crates/stackable-certs/src/ca/mod.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ where
163163
}
164164

165165
/// A certificate authority (CA) which is used to generate and sign
166-
/// intermidiate or leaf certificates.
166+
/// intermediate or leaf certificates.
167167
#[derive(Debug)]
168168
pub struct CertificateAuthority<S>
169169
where
@@ -298,7 +298,7 @@ where
298298
key_pair: T,
299299
name: &str,
300300
scope: &str,
301-
subject_alterative_dns_names: impl IntoIterator<Item = &'a str> + Debug,
301+
subject_alternative_dns_names: impl IntoIterator<Item = &'a str> + Debug,
302302
validity: Duration,
303303
) -> Result<CertificatePair<T>>
304304
where
@@ -353,7 +353,7 @@ where
353353
]))
354354
.context(AddCertificateExtensionSnafu)?;
355355

356-
let sans = subject_alterative_dns_names
356+
let sans = subject_alternative_dns_names
357357
.into_iter()
358358
.map(|dns_name| {
359359
let ia5_dns_name =
@@ -385,11 +385,11 @@ where
385385
&mut self,
386386
name: &str,
387387
scope: &str,
388-
subject_alterative_dns_names: impl IntoIterator<Item = &'a str> + Debug,
388+
subject_alternative_dns_names: impl IntoIterator<Item = &'a str> + Debug,
389389
validity: Duration,
390390
) -> Result<CertificatePair<rsa::SigningKey>> {
391391
let key = rsa::SigningKey::new().context(GenerateRsaSigningKeySnafu)?;
392-
self.generate_leaf_certificate(key, name, scope, subject_alterative_dns_names, validity)
392+
self.generate_leaf_certificate(key, name, scope, subject_alternative_dns_names, validity)
393393
}
394394

395395
/// Generates an ECDSAasync -based leaf certificate which is signed by this CA.
@@ -401,11 +401,11 @@ where
401401
&mut self,
402402
name: &str,
403403
scope: &str,
404-
subject_alterative_dns_names: impl IntoIterator<Item = &'a str> + Debug,
404+
subject_alternative_dns_names: impl IntoIterator<Item = &'a str> + Debug,
405405
validity: Duration,
406406
) -> Result<CertificatePair<ecdsa::SigningKey>> {
407407
let key = ecdsa::SigningKey::new().context(GenerateEcdsaSigningKeySnafu)?;
408-
self.generate_leaf_certificate(key, name, scope, subject_alterative_dns_names, validity)
408+
self.generate_leaf_certificate(key, name, scope, subject_alternative_dns_names, validity)
409409
}
410410

411411
/// Create a [`CertificateAuthority`] from a Kubernetes [`Secret`].

crates/stackable-certs/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ pub enum CertificatePairError<E>
4343
where
4444
E: std::error::Error + 'static,
4545
{
46-
#[snafu(display("failed to seralize certificate as {key_encoding}"))]
46+
#[snafu(display("failed to serialize certificate as {key_encoding}"))]
4747
SerializeCertificate {
4848
source: x509_cert::der::Error,
4949
key_encoding: KeyEncoding,

crates/stackable-operator/CHANGELOG.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1501,7 +1501,7 @@ Only rust documentation was changed.
15011501
- status::condition module to compute the cluster resource status ([#571]).
15021502
- Helper function to build RBAC resources ([#572]).
15031503
- Add `ClusterResourceApplyStrategy` to `ClusterResource` ([#573]).
1504-
- Add `ClusterOperation` common struct with `reconcilation_paused` and `stopped` flags ([#573]).
1504+
- Add `ClusterOperation` common struct with `reconciliation_paused` and `stopped` flags ([#573]).
15051505

15061506
[#571]: https://github.com/stackabletech/operator-rs/pull/571
15071507
[#572]: https://github.com/stackabletech/operator-rs/pull/572
@@ -1846,7 +1846,7 @@ This is a rerelease of 0.25.1 which some last-minute incompatible API changes to
18461846

18471847
### Changed
18481848

1849-
- BREAKING: Removed `commons::s3::S3ConnectionImplementation`. `commons::s3::InlinedBucketSpec::endpoint()` doesn't take arguments since the protocol decision is now based on the existance of TLS configuration ([#390]).
1849+
- BREAKING: Removed `commons::s3::S3ConnectionImplementation`. `commons::s3::InlinedBucketSpec::endpoint()` doesn't take arguments since the protocol decision is now based on the existence of TLS configuration ([#390]).
18501850
- BREAKING: Changes to resource requirements structs to enable deep merging ([#392])
18511851
- Changed fields in `Resources` to no longer be optional
18521852
- Changed atomic fields in `MemoryLimits`, `JvmHeapLimits`, `CpuLimits` and `PvcConfig` to be optional
@@ -1882,7 +1882,7 @@ This is a rerelease of 0.25.1 which some last-minute incompatible API changes to
18821882
### Added
18831883

18841884
- Export logs to Jaeger ([#360]).
1885-
- Added common datastructures shared between all operators like `Tls` oder `AuthenticationClass` ([#366]).
1885+
- Added common datastructures shared between all operators like `Tls` or `AuthenticationClass` ([#366]).
18861886
- Added helpers for env variables from Secrets or ConfigMaps ([#370]).
18871887

18881888
### Changed
@@ -2096,7 +2096,7 @@ This is a rerelease of 0.25.1 which some last-minute incompatible API changes to
20962096
### Changed
20972097

20982098
- BREAKING: In builder: `add_stackable_agent_tolerations` to `add_tolerations` ([#255]).
2099-
- Generic `VALUE` paramters to `impl Into<_>` arguments for consistency ([#253]).
2099+
- Generic `VALUE` parameters to `impl Into<_>` arguments for consistency ([#253]).
21002100

21012101
### Removed
21022102

crates/stackable-operator/crds/DummyCluster.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -597,7 +597,7 @@ spec:
597597
type: object
598598
type: object
599599
enableVectorAgent:
600-
description: Wether or not to deploy a container with the Vector log agent.
600+
description: Whether or not to deploy a container with the Vector log agent.
601601
nullable: true
602602
type: boolean
603603
type: object
@@ -1209,7 +1209,7 @@ spec:
12091209
type: object
12101210
type: object
12111211
enableVectorAgent:
1212-
description: Wether or not to deploy a container with the Vector log agent.
1212+
description: Whether or not to deploy a container with the Vector log agent.
12131213
nullable: true
12141214
type: boolean
12151215
type: object

crates/stackable-operator/src/builder/pdb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub enum Error {
4545
pub struct PodDisruptionBudgetBuilder<ObjectMeta, LabelSelector, PodDisruptionBudgetConstraint> {
4646
metadata: ObjectMeta,
4747
selector: LabelSelector,
48-
/// Tracks wether either `maxUnavailable` or `minAvailable` is set.
48+
/// Tracks whether either `maxUnavailable` or `minAvailable` is set.
4949
constraint: Option<PodDisruptionBudgetConstraint>,
5050
}
5151

crates/stackable-operator/src/builder/pod/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ mod tests {
667667
.build()
668668
}
669669

670-
/// A [`PodBuilder`] that already contains the minum setup to build a Pod (name and container).
670+
/// A [`PodBuilder`] that already contains the minimum setup to build a Pod (name and container).
671671
#[fixture]
672672
fn pod_builder_with_name_and_container(dummy_container: Container) -> PodBuilder {
673673
let mut builder = PodBuilder::new();

crates/stackable-operator/src/commons/resources.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ pub enum ResourceRequirementsType {
381381
// We currently don't use claims in our container builder and thus also
382382
// do not support setting and validating them. When we do support claims
383383
// in the future, we can just remove the comment to get support for it
384-
// immediatly.
384+
// immediately.
385385
// Claims,
386386
}
387387

@@ -404,7 +404,7 @@ pub trait ResourceRequirementsExt {
404404
resource: &str,
405405
) -> Result<()>;
406406

407-
/// Returns wether the implementor has a [`ResourceRequirementsType`] set
407+
/// Returns whether the implementor has a [`ResourceRequirementsType`] set
408408
/// for a `resource`.
409409
fn has_resource_requirement(&self, rr_type: ResourceRequirementsType, resource: &str) -> bool {
410410
self.check_resource_requirement(rr_type, resource).is_ok()
@@ -424,7 +424,7 @@ pub trait ResourceRequirementsExt {
424424
Ok(())
425425
}
426426

427-
/// Returns wether the implementor has all [`ResourceRequirementsType`]s set
427+
/// Returns whether the implementor has all [`ResourceRequirementsType`]s set
428428
/// for a `resource`.
429429
fn has_resource_requirements(
430430
&self,

crates/stackable-operator/src/crd/git_sync/v1alpha1_impl.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ mod tests {
432432

433433
let extra_env_vars = env_vars_from([
434434
("VAR1", "value1"),
435-
("GITSYNC_USERNAME", "overriden-username"),
435+
("GITSYNC_USERNAME", "overridden-username"),
436436
]);
437437

438438
let extra_volume_mounts = [VolumeMount {
@@ -500,7 +500,7 @@ command:
500500
- -c
501501
env:
502502
- name: GITSYNC_USERNAME
503-
value: overriden-username
503+
value: overridden-username
504504
- name: VAR1
505505
value: value1
506506
image: oci.stackable.tech/sdp/product:latest
@@ -574,7 +574,7 @@ env:
574574
key: password
575575
name: git-credentials
576576
- name: GITSYNC_USERNAME
577-
value: overriden-username
577+
value: overridden-username
578578
- name: VAR1
579579
value: value1
580580
image: oci.stackable.tech/sdp/product:latest
@@ -643,7 +643,7 @@ command:
643643
- -c
644644
env:
645645
- name: GITSYNC_USERNAME
646-
value: overriden-username
646+
value: overridden-username
647647
- name: VAR1
648648
value: value1
649649
image: oci.stackable.tech/sdp/product:latest
@@ -682,7 +682,7 @@ command:
682682
- -c
683683
env:
684684
- name: GITSYNC_USERNAME
685-
value: overriden-username
685+
value: overridden-username
686686
- name: VAR1
687687
value: value1
688688
image: oci.stackable.tech/sdp/product:latest
@@ -724,7 +724,7 @@ env:
724724
key: password
725725
name: git-credentials
726726
- name: GITSYNC_USERNAME
727-
value: overriden-username
727+
value: overridden-username
728728
- name: VAR1
729729
value: value1
730730
image: oci.stackable.tech/sdp/product:latest
@@ -761,7 +761,7 @@ command:
761761
- -c
762762
env:
763763
- name: GITSYNC_USERNAME
764-
value: overriden-username
764+
value: overridden-username
765765
- name: VAR1
766766
value: value1
767767
image: oci.stackable.tech/sdp/product:latest

0 commit comments

Comments
 (0)