Skip to content

Commit 695092b

Browse files
authored
Spelling (#3856)
* spelling: adopt Signed-off-by: Josh Soref <[email protected]> * spelling: case-sensitive Signed-off-by: Josh Soref <[email protected]> * spelling: certificates Signed-off-by: Josh Soref <[email protected]> * spelling: controller Signed-off-by: Josh Soref <[email protected]> * spelling: current Signed-off-by: Josh Soref <[email protected]> * spelling: directory Signed-off-by: Josh Soref <[email protected]> * spelling: disconnected Signed-off-by: Josh Soref <[email protected]> * spelling: github Signed-off-by: Josh Soref <[email protected]> * spelling: identifier Signed-off-by: Josh Soref <[email protected]> * spelling: independently Signed-off-by: Josh Soref <[email protected]> * spelling: iterations Signed-off-by: Josh Soref <[email protected]> * spelling: jqlang Signed-off-by: Josh Soref <[email protected]> * spelling: mismatch Signed-off-by: Josh Soref <[email protected]> * spelling: nonexistent Signed-off-by: Josh Soref <[email protected]> * spelling: occurred Signed-off-by: Josh Soref <[email protected]> * spelling: particularly Signed-off-by: Josh Soref <[email protected]> * spelling: password Signed-off-by: Josh Soref <[email protected]> * spelling: preexisting Signed-off-by: Josh Soref <[email protected]> * spelling: remaining Signed-off-by: Josh Soref <[email protected]> * spelling: requeuing Signed-off-by: Josh Soref <[email protected]> * spelling: than Signed-off-by: Josh Soref <[email protected]> * spelling: the Signed-off-by: Josh Soref <[email protected]> * spelling: todo Signed-off-by: Josh Soref <[email protected]> * spelling: utilized Signed-off-by: Josh Soref <[email protected]> * spelling: version Signed-off-by: Josh Soref <[email protected]> --------- Signed-off-by: Josh Soref <[email protected]>
1 parent d31b67f commit 695092b

File tree

25 files changed

+46
-46
lines changed

25 files changed

+46
-46
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ possible as to what the changes are. Good things to include:
8686
understand.
8787
```
8888

89-
If you wish to tag a Github issue or another project management tracker, please
89+
If you wish to tag a GitHub issue or another project management tracker, please
9090
do so at the bottom of the commit message, and make it clearly labeled like so:
9191

9292
```

config/crd/bases/postgres-operator.crunchydata.com_postgresclusters.yaml

+7-7
Original file line numberDiff line numberDiff line change
@@ -2695,7 +2695,7 @@ spec:
26952695
- bucket
26962696
type: object
26972697
name:
2698-
description: The name of the the repository
2698+
description: The name of the repository
26992699
pattern: ^repo[1-4]
27002700
type: string
27012701
s3:
@@ -4438,10 +4438,10 @@ spec:
44384438
properties:
44394439
pgbackrest:
44404440
description: 'Defines a pgBackRest cloud-based data source that
4441-
can be used to pre-populate the the PostgreSQL data directory
4442-
for a new PostgreSQL cluster using a pgBackRest restore. The
4443-
PGBackRest field is incompatible with the PostgresCluster field:
4444-
only one data source can be used for pre-populating a new PostgreSQL
4441+
can be used to pre-populate the PostgreSQL data directory for
4442+
a new PostgreSQL cluster using a pgBackRest restore. The PGBackRest
4443+
field is incompatible with the PostgresCluster field: only one
4444+
data source can be used for pre-populating a new PostgreSQL
44454445
cluster'
44464446
properties:
44474447
affinity:
@@ -5615,7 +5615,7 @@ spec:
56155615
- bucket
56165616
type: object
56175617
name:
5618-
description: The name of the the repository
5618+
description: The name of the repository
56195619
pattern: ^repo[1-4]
56205620
type: string
56215621
s3:
@@ -15323,7 +15323,7 @@ spec:
1532315323
type: boolean
1532415324
repoOptionsHash:
1532515325
description: A hash of the required fields in the spec for
15326-
defining an Azure, GCS or S3 repository, Utilizd to detect
15326+
defining an Azure, GCS or S3 repository, Utilized to detect
1532715327
changes to these fields and then execute pgBackRest stanza-create
1532815328
commands accordingly.
1532915329
type: string

installers/olm/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tools: ## Download tools needed to build bundles
6666
tools: tools/$(SYSTEM)/jq
6767
tools/$(SYSTEM)/jq:
6868
install -d '$(dir $@)'
69-
curl -fSL -o '$@' "https://github.com/stedolan/jq/releases/download/jq-1.6/jq-$$(SYSTEM='$(SYSTEM)'; \
69+
curl -fSL -o '$@' "https://github.com/jqlang/jq/releases/download/jq-1.6/jq-$$(SYSTEM='$(SYSTEM)'; \
7070
case "$$SYSTEM" in \
7171
(linux-*) echo "$${SYSTEM/-amd/}";; (darwin-*) echo "$${SYSTEM/darwin/osx}";; (*) echo '$(SYSTEM)';; \
7272
esac)"

installers/olm/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Marketplace: https://github.com/redhat-openshift-ecosystem/redhat-marketplace-op
5555

5656
We hit various issues with 5.1.0 where the 'replaces' name, set in the clusterserviceversion.yaml, didn't match the
5757
expected names found for all indexes. Previously, we set the 'com.redhat.openshift.versions' annotation to "v4.6-v4.9".
58-
The goal for this setting was to limit the upper bound of supported versions for a particulary PGO release.
58+
The goal for this setting was to limit the upper bound of supported versions for a particularly PGO release.
5959
The problem with this was, at the time of the 5.1.0 release, OCP 4.10 had been just been released. This meant that the
6060
5.0.5 bundle did not exist in the OCP 4.10 index. The solution presented by Red Hat was to use the 'skips' clause for
6161
the 5.1.0 release to remedy the immediate problem, but then go back to using an unbounded setting for subsequent

internal/bridge/client_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ func TestClientDoWithRetry(t *testing.T) {
304304
assert.Assert(t, requests[1].Header.Get("Idempotency-Key") != prior,
305305
"expected a new idempotency key")
306306

307-
// Requests are delayed according the the server's response.
307+
// Requests are delayed according the server's response.
308308
// TODO: Mock the clock for faster tests.
309309
assert.Assert(t, times[0].Add(time.Second).Before(times[1]),
310310
"expected the second request over 1sec after the first")

internal/bridge/crunchybridgecluster/crunchybridgecluster_controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func (r *CrunchyBridgeClusterReconciler) Reconcile(ctx context.Context, req ctrl
317317

318318
// TODO(crunchybridgecluster) If the CreateCluster response was interrupted, we won't have the ID
319319
// so we can get by name
320-
// BUT if we do that, there's a chance for the K8s object to grab a pre-existing Bridge cluster
320+
// BUT if we do that, there's a chance for the K8s object to grab a preexisting Bridge cluster
321321
// which means there's a chance to delete a Bridge cluster through K8s actions
322322
// even though that cluster didn't originate from K8s.
323323

internal/config/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func RegistrationRequiredBy(cluster *v1beta1.PostgresCluster) string {
6565
// Red Hat Marketplace requires operators to use environment variables be used
6666
// for any image other than the operator itself. Those variables must start with
6767
// "RELATED_IMAGE_" so that OSBS can transform their tag values into digests
68-
// for a "disconncted" OLM CSV.
68+
// for a "disconnected" OLM CSV.
6969

7070
// - https://redhat-connect.gitbook.io/certified-operator-guide/troubleshooting-and-resources/offline-enabled-operators
7171
// - https://osbs.readthedocs.io/en/latest/users.html#pullspec-locations

internal/controller/pgupgrade/jobs.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func upgradeCommand(upgrade *v1beta1.PGUpgrade, fetchKeyCommand string) []string
6969
`echo "postgres:x:${gid%% *}:") > "${NSS_WRAPPER_GROUP}"`,
7070

7171
// Create a copy of the system user definitions, but remove the "postgres"
72-
// user or any user with the currrent UID. Replace them with our own that
72+
// user or any user with the current UID. Replace them with our own that
7373
// has the current UID and GID.
7474
`uid=$(id -u); NSS_WRAPPER_PASSWD=$(mktemp)`,
7575
`(sed "/^postgres:x:/ d; /^[^:]*:x:${uid}:/ d" /etc/passwd`,
@@ -80,7 +80,7 @@ func upgradeCommand(upgrade *v1beta1.PGUpgrade, fetchKeyCommand string) []string
8080
`export LD_PRELOAD='libnss_wrapper.so' NSS_WRAPPER_GROUP NSS_WRAPPER_PASSWD`,
8181

8282
// Below is the pg_upgrade script used to upgrade a PostgresCluster from
83-
// one major verson to another. Additional information concerning the
83+
// one major version to another. Additional information concerning the
8484
// steps used and command flag specifics can be found in the documentation:
8585
// - https://www.postgresql.org/docs/current/pgupgrade.html
8686

internal/controller/postgrescluster/controller_ref_manager_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func TestManageControllerRefs(t *testing.T) {
6767
t.Run("adopt Object", func(t *testing.T) {
6868

6969
obj := objBase.DeepCopy()
70-
obj.Name = "adpot"
70+
obj.Name = "adopt"
7171
obj.Labels = map[string]string{naming.LabelCluster: clusterName}
7272

7373
if err := r.Client.Create(ctx, obj); err != nil {
@@ -155,7 +155,7 @@ func TestManageControllerRefs(t *testing.T) {
155155

156156
obj := objBase.DeepCopy()
157157
obj.Name = "ignore-no-postgrescluster"
158-
obj.Labels = map[string]string{naming.LabelCluster: "noexist"}
158+
obj.Labels = map[string]string{naming.LabelCluster: "nonexistent"}
159159

160160
if err := r.Client.Create(ctx, obj); err != nil {
161161
t.Error(err)

internal/controller/postgrescluster/helpers_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -210,14 +210,14 @@ func testCluster() *v1beta1.PostgresCluster {
210210

211211
// setupManager creates the runtime manager used during controller testing
212212
func setupManager(t *testing.T, cfg *rest.Config,
213-
contollerSetup func(mgr manager.Manager)) (context.Context, context.CancelFunc) {
213+
controllerSetup func(mgr manager.Manager)) (context.Context, context.CancelFunc) {
214214

215215
mgr, err := runtime.CreateRuntimeManager("", cfg, true)
216216
if err != nil {
217217
t.Fatal(err)
218218
}
219219

220-
contollerSetup(mgr)
220+
controllerSetup(mgr)
221221

222222
ctx, cancel := context.WithCancel(context.Background())
223223
go func() {

internal/controller/postgrescluster/instance.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ instance name or set to blank ("")
6969
### Logic Map
7070

7171
With this, the grid below shows the expected replica count value, depending on
72-
the the values. Below, the letters represent the following:
72+
the values. Below, the letters represent the following:
7373

7474
M = StartupInstance matches the instance name
7575

internal/controller/postgrescluster/pgbackrest.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -2190,7 +2190,7 @@ func (r *Reconciler) reconcileManualBackup(ctx context.Context,
21902190
//
21912191
// TODO (andrewlecuyer): Since reconciliation doesn't currently occur when a leader is elected,
21922192
// the operator may not get another chance to create the backup if a writable instance is not
2193-
// detected, and it then returns without requeing. To ensure this doesn't occur and that the
2193+
// detected, and it then returns without requeuing. To ensure this doesn't occur and that the
21942194
// operator always has a chance to reconcile when an instance becomes writable, we should watch
21952195
// Pods in the cluster for leader election events, and trigger reconciles accordingly.
21962196
if !clusterWritable || manualAnnotation == "" ||
@@ -2384,7 +2384,7 @@ func (r *Reconciler) reconcileReplicaCreateBackup(ctx context.Context,
23842384
//
23852385
// TODO (andrewlecuyer): Since reconciliation doesn't currently occur when a leader is elected,
23862386
// the operator may not get another chance to create the backup if a writable instance is not
2387-
// detected, and it then returns without requeing. To ensure this doesn't occur and that the
2387+
// detected, and it then returns without requeuing. To ensure this doesn't occur and that the
23882388
// operator always has a chance to reconcile when an instance becomes writable, we should watch
23892389
// Pods in the cluster for leader election events, and trigger reconciles accordingly.
23902390
if !clusterWritable || replicaCreateRepoStatus == nil || replicaCreateRepoStatus.ReplicaCreateBackupComplete {
@@ -2624,7 +2624,7 @@ func (r *Reconciler) reconcileStanzaCreate(ctx context.Context,
26242624
//
26252625
// TODO (andrewlecuyer): Since reconciliation doesn't currently occur when a leader is elected,
26262626
// the operator may not get another chance to create the stanza if a writable instance is not
2627-
// detected, and it then returns without requeing. To ensure this doesn't occur and that the
2627+
// detected, and it then returns without requeuing. To ensure this doesn't occur and that the
26282628
// operator always has a chance to reconcile when an instance becomes writable, we should watch
26292629
// Pods in the cluster for leader election events, and trigger reconciles accordingly.
26302630
if !clusterWritable || stanzasCreated {

internal/controller/postgrescluster/pgbackrest_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -729,9 +729,9 @@ func TestReconcileStanzaCreate(t *testing.T) {
729729
Message: "pgBackRest dedicated repository host is ready",
730730
})
731731

732-
configHashMistmatch, err := r.reconcileStanzaCreate(ctx, postgresCluster, instances, "abcde12345")
732+
configHashMismatch, err := r.reconcileStanzaCreate(ctx, postgresCluster, instances, "abcde12345")
733733
assert.NilError(t, err)
734-
assert.Assert(t, !configHashMistmatch)
734+
assert.Assert(t, !configHashMismatch)
735735

736736
events := &corev1.EventList{}
737737
err = wait.Poll(time.Second/2, Scale(time.Second*2), func() (bool, error) {
@@ -773,7 +773,7 @@ func TestReconcileStanzaCreate(t *testing.T) {
773773
SystemIdentifier: "6952526174828511264",
774774
}
775775

776-
configHashMismatch, err := r.reconcileStanzaCreate(ctx, postgresCluster, instances, "abcde12345")
776+
configHashMismatch, err = r.reconcileStanzaCreate(ctx, postgresCluster, instances, "abcde12345")
777777
assert.Error(t, err, "fake stanza create failed: ")
778778
assert.Assert(t, !configHashMismatch)
779779

internal/controller/postgrescluster/pgmonitor.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (r *Reconciler) reconcilePGMonitor(ctx context.Context,
5454
// Status.Monitoring.ExporterConfiguration is used to determine when the
5555
// pgMonitor postgres_exporter configuration should be added/changed to
5656
// limit how often PodExec is used
57-
// - TODO jmckulk: kube perms comment?
57+
// - TODO (jmckulk): kube perms comment?
5858
func (r *Reconciler) reconcilePGMonitorExporter(ctx context.Context,
5959
cluster *v1beta1.PostgresCluster, instances *observedInstances,
6060
monitoringSecret *corev1.Secret) error {
@@ -251,7 +251,7 @@ func addPGMonitorToInstancePodSpec(
251251

252252
// addPGMonitorExporterToInstancePodSpec performs the necessary setup to
253253
// add pgMonitor exporter resources to a PodTemplateSpec
254-
// TODO jmckulk: refactor to pass around monitoring secret; Without the secret
254+
// TODO (jmckulk): refactor to pass around monitoring secret; Without the secret
255255
// the exporter container cannot be created; Testing relies on ensuring the
256256
// monitoring secret is available
257257
func addPGMonitorExporterToInstancePodSpec(

internal/controller/postgrescluster/pgmonitor_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ func TestReconcilePGMonitorExporterStatus(t *testing.T) {
604604
exporterEnabled: true,
605605
podExecCalled: false,
606606
// Status was generated manually for this test case
607-
// TODO jmckulk: add code to generate status
607+
// TODO (jmckulk): add code to generate status
608608
status: v1beta1.MonitoringStatus{ExporterConfiguration: "7cdb484b6c"},
609609
statusChangedAfterReconcile: false,
610610
}} {
@@ -695,7 +695,7 @@ func TestReconcilePGMonitorExporterStatus(t *testing.T) {
695695
// is correct. If exporter is enabled, the return shouldn't be nil. If the exporter is disabled, the
696696
// return should be nil.
697697
func TestReconcileMonitoringSecret(t *testing.T) {
698-
// TODO jmckulk: debug test with existing cluster
698+
// TODO (jmckulk): debug test with existing cluster
699699
// Seems to be an issue when running with other tests
700700
if strings.EqualFold(os.Getenv("USE_EXISTING_CLUSTER"), "true") {
701701
t.Skip("Test failing with existing cluster")

internal/controller/postgrescluster/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ func safeHash32(content func(w io.Writer) error) (string, error) {
301301
// updateReconcileResult creates a new Result based on the new and existing results provided to it.
302302
// This includes setting "Requeue" to true in the Result if set to true in the new Result but not
303303
// in the existing Result, while also updating RequeueAfter if the RequeueAfter value for the new
304-
// result is less the the RequeueAfter value for the existing Result.
304+
// result is less than the RequeueAfter value for the existing Result.
305305
func updateReconcileResult(currResult, newResult reconcile.Result) reconcile.Result {
306306

307307
if newResult.Requeue {

internal/naming/annotations.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const (
4646
PGBackRestCurrentConfig = annotationPrefix + "pgbackrest-config"
4747

4848
// PGBackRestRestore is the annotation that is added to a PostgresCluster to initiate an in-place
49-
// restore. The value of the annotation will be a unique identfier for a restore Job (e.g. a
49+
// restore. The value of the annotation will be a unique identifier for a restore Job (e.g. a
5050
// timestamp), which will be stored in the PostgresCluster status to properly track completion
5151
// of the Job.
5252
PGBackRestRestore = annotationPrefix + "pgbackrest-restore"

internal/patroni/reconcile_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func TestInstancePod(t *testing.T) {
132132
cluster.Spec.ImagePullPolicy = corev1.PullAlways
133133
clusterConfigMap := new(corev1.ConfigMap)
134134
clusterPodService := new(corev1.Service)
135-
instanceCertficates := new(corev1.Secret)
135+
instanceCertificates := new(corev1.Secret)
136136
instanceConfigMap := new(corev1.ConfigMap)
137137
instanceSpec := new(v1beta1.PostgresInstanceSetSpec)
138138
patroniLeaderService := new(corev1.Service)
@@ -142,7 +142,7 @@ func TestInstancePod(t *testing.T) {
142142
call := func() error {
143143
return InstancePod(context.Background(),
144144
cluster, clusterConfigMap, clusterPodService, patroniLeaderService,
145-
instanceSpec, instanceCertficates, instanceConfigMap, template)
145+
instanceSpec, instanceCertificates, instanceConfigMap, template)
146146
}
147147

148148
assert.NilError(t, call())

internal/pgbackrest/config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ func serverConfig(cluster *v1beta1.PostgresCluster) iniSectionSet {
492492
//
493493
// NOTE(cbandy): The unspecified IPv6 address, which ends up being the IPv6
494494
// wildcard address, did not work in all environments. In some cases, the
495-
// the "server-ping" command would not connect.
495+
// "server-ping" command would not connect.
496496
// - https://tools.ietf.org/html/rfc3493#section-3.8
497497
//
498498
// TODO(cbandy): When pgBackRest provides a way to bind to all addresses,

internal/pki/pki_test.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ func basicOpenSSLVerify(t *testing.T, openssl string, root, leaf Certificate) {
479479
// - https://mail.python.org/pipermail/cryptography-dev/2016-August/000676.html
480480

481481
// TODO(cbandy): When we generate intermediate certificates, verify them
482-
// idependently then bundle them with the root to verify the leaf.
482+
// independently then bundle them with the root to verify the leaf.
483483

484484
verify(t, "-CAfile", rootFile, leafFile)
485485
verify(t, "-CAfile", rootFile, "-purpose", "sslclient", leafFile)
@@ -525,7 +525,7 @@ func strictOpenSSLVerify(t *testing.T, openssl string, root, leaf Certificate) {
525525
assert.NilError(t, os.WriteFile(leafFile, leafBytes, 0o600))
526526

527527
// TODO(cbandy): When we generate intermediate certificates, verify them
528-
// idependently then pass them via "-untrusted" to verify the leaf.
528+
// independently then pass them via "-untrusted" to verify the leaf.
529529

530530
verify(t, "-trusted", rootFile, leafFile)
531531
verify(t, "-trusted", rootFile, "-purpose", "sslclient", leafFile)

internal/postgres/password/scram.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ import (
3737
//
3838
// where:
3939
// DIGEST = SCRAM-SHA-256 (only value for now in PostgreSQL)
40-
// ITERATIONS = the number of iteratiosn to use for PBKDF2
40+
// ITERATIONS = the number of iterations to use for PBKDF2
4141
// SALT = the salt used as part of the PBKDF2, stored in base64
4242
// STORED_KEY = the hash of the client key, stored in base64
4343
// SERVER_KEY = the hash of the server key
@@ -179,7 +179,7 @@ func (s *SCRAMPassword) saslPrep() string {
179179

180180
// perform SASLprep on the password. if the SASLprep fails or returns an
181181
// empty string, return the original password
182-
// Otherwise return the clean pasword
182+
// Otherwise return the clean password
183183
cleanedPassword, err := stringprep.SASLprep.Prepare(s.password)
184184
if cleanedPassword == "" || err != nil {
185185
return s.password

internal/util/util.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import (
2626
// be used as part of an SQL statement.
2727
//
2828
// Any double quotes in name will be escaped. The quoted identifier will be
29-
// case sensitive when used in a query. If the input string contains a zero
29+
// case-sensitive when used in a query. If the input string contains a zero
3030
// byte, the result will be truncated immediately before it.
3131
//
3232
// Implementation borrowed from lib/pq: https://github.com/lib/pq which is

pkg/apis/postgres-operator.crunchydata.com/v1beta1/pgbackrest_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ type PGBackRestRepo struct {
311311
// will be applicable once implemented:
312312
// https://github.com/kubernetes/enhancements/tree/master/keps/sig-api-machinery/1027-api-unions
313313

314-
// The name of the the repository
314+
// The name of the repository
315315
// +kubebuilder:validation:Required
316316
// +kubebuilder:validation:Pattern=^repo[1-4]
317317
Name string `json:"name"`
@@ -414,7 +414,7 @@ type RepoStatus struct {
414414
ReplicaCreateBackupComplete bool `json:"replicaCreateBackupComplete,omitempty"`
415415

416416
// A hash of the required fields in the spec for defining an Azure, GCS or S3 repository,
417-
// Utilizd to detect changes to these fields and then execute pgBackRest stanza-create
417+
// Utilized to detect changes to these fields and then execute pgBackRest stanza-create
418418
// commands accordingly.
419419
// +optional
420420
RepoOptionsHash string `json:"repoOptionsHash,omitempty"`

pkg/apis/postgres-operator.crunchydata.com/v1beta1/postgrescluster_types.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ type PostgresClusterSpec struct {
184184
// DataSource defines data sources for a new PostgresCluster.
185185
type DataSource struct {
186186
// Defines a pgBackRest cloud-based data source that can be used to pre-populate the
187-
// the PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore.
187+
// PostgreSQL data directory for a new PostgreSQL cluster using a pgBackRest restore.
188188
// The PGBackRest field is incompatible with the PostgresCluster field: only one
189189
// data source can be used for pre-populating a new PostgreSQL cluster
190190
// +optional
@@ -221,7 +221,7 @@ type DataSourceVolumes struct {
221221
PGBackRestVolume *DataSourceVolume `json:"pgBackRestVolume,omitempty"`
222222
}
223223

224-
// DataSourceVolume defines the PVC name and data diretory path for an existing cluster volume.
224+
// DataSourceVolume defines the PVC name and data directory path for an existing cluster volume.
225225
type DataSourceVolume struct {
226226
// The existing PVC name.
227227
PVCName string `json:"pvcName"`

0 commit comments

Comments
 (0)