Skip to content

Commit e3db82c

Browse files
committed
chore: improve docs
Signed-off-by: Gabriele Bartolini <[email protected]>
1 parent 34ad37b commit e3db82c

File tree

3 files changed

+12
-4
lines changed

3 files changed

+12
-4
lines changed

api/v1/objectstore_types.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,11 @@ type InstanceSidecarConfiguration struct {
3838
// +optional
3939
Resources corev1.ResourceRequirements `json:"resources,omitempty"`
4040

41-
// AdditionalContainerArgs defines additional arguments to be passed to the sidecar container
41+
// AdditionalContainerArgs is an optional list of command-line arguments
42+
// to be passed to the sidecar container when it starts.
43+
// The provided arguments are appended to the container’s default
44+
// arguments. This can be used, for example, to enable verbose logging.
45+
// Example: ["--log-level=debug"]
4246
// +optional
4347
AdditionalContainerArgs []string `json:"additionalContainerArgs,omitempty"`
4448
}

config/crd/bases/barmancloud.cnpg.io_objectstores.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,8 +392,12 @@ spec:
392392
pods
393393
properties:
394394
additionalContainerArgs:
395-
description: AdditionalContainerArgs defines additional arguments
396-
to be passed to the sidecar container
395+
description: |-
396+
AdditionalContainerArgs is an optional list of command-line arguments
397+
to be passed to the sidecar container when it starts.
398+
The provided arguments are appended to the container’s default
399+
arguments. This can be used, for example, to enable verbose logging.
400+
Example: ["--log-level=debug"]
397401
items:
398402
type: string
399403
type: array

web/docs/plugin-barman-cloud.v1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ _Appears in:_
2929
| `env` _[EnvVar](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#envvar-v1-core) array_ | The environment to be explicitly passed to the sidecar | | | |
3030
| `retentionPolicyIntervalSeconds` _integer_ | The retentionCheckInterval defines the frequency at which the<br />system checks and enforces retention policies. | | 1800 | |
3131
| `resources` _[ResourceRequirements](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.32/#resourcerequirements-v1-core)_ | Resources define cpu/memory requests and limits for the sidecar that runs in the instance pods. | | | |
32-
| `additionalContainerArgs` _string array_ | AdditionalContainerArgs defines additional arguments to be passed to the sidecar container | | | |
32+
| `additionalContainerArgs` _string array_ | AdditionalContainerArgs is an optional list of command-line arguments<br />to be passed to the sidecar container when it starts.<br />The provided arguments are appended to the container’s default<br />arguments. This can be used, for example, to enable verbose logging.<br />Example: ["--log-level=debug"] | | | |
3333

3434

3535
#### ObjectStore

0 commit comments

Comments
 (0)