-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(Documentation) Update ArangoDeploymentReplication and ArangoLocalSto…
…rage CR auto-generated docs (#1455)
- Loading branch information
1 parent
03da8ba
commit fc050c7
Showing
14 changed files
with
227 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,106 @@ | ||
# API Reference for ArangoDeploymentReplication V1 | ||
|
||
## Spec | ||
|
||
### .spec.cancellation.ensureInSync: bool | ||
|
||
EnsureInSync if it is true then during cancellation process data consistency is required. | ||
Default value is true. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/replication_spec.go#L38) | ||
|
||
### .spec.cancellation.sourceReadOnly: bool | ||
|
||
SourceReadOnly if it true then after cancellation source data center should be in read-only mode. | ||
Default value is false. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/replication_spec.go#L41) | ||
|
||
### .spec.destination.auth.keyfileSecretName: string | ||
|
||
KeyfileSecretName holds the name of a Secret containing a client authentication | ||
certificate formatted at keyfile in a `tls.keyfile` field. | ||
If `userSecretName` has not been set, | ||
the client authentication certificate found in the secret with this name is also used to configure | ||
the synchronization and fetch the synchronization status. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) | ||
|
||
### .spec.destination.auth.userSecretName: string | ||
|
||
UserSecretName holds the name of a Secret containing a `username` & `password` | ||
field used for basic authentication. | ||
The user identified by the username must have write access in the `_system` database | ||
of the ArangoDB cluster at the endpoint. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) | ||
|
||
### .spec.destination.deploymentName: string | ||
|
||
DeploymentName holds the name of an ArangoDeployment resource. | ||
If set, this provides default values for masterEndpoint, auth & tls. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L36) | ||
|
||
### .spec.destination.masterEndpoint: []string | ||
|
||
MasterEndpoint holds a list of URLs used to reach the syncmaster(s) | ||
Use this setting if the source cluster is not running inside a Kubernetes cluster | ||
that is reachable from the Kubernetes cluster the `ArangoDeploymentReplication` resource is deployed in. | ||
Specifying this setting and `deploymentName` at the same time is not allowed. | ||
|
||
Default Value: [] | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L42) | ||
|
||
### .spec.destination.tls.caSecretName: string | ||
|
||
CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. | ||
This setting is required, unless `deploymentName` has been set. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) | ||
|
||
### .spec.source.auth.keyfileSecretName: string | ||
|
||
KeyfileSecretName holds the name of a Secret containing a client authentication | ||
certificate formatted at keyfile in a `tls.keyfile` field. | ||
If `userSecretName` has not been set, | ||
the client authentication certificate found in the secret with this name is also used to configure | ||
the synchronization and fetch the synchronization status. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) | ||
|
||
### .spec.source.auth.userSecretName: string | ||
|
||
UserSecretName holds the name of a Secret containing a `username` & `password` | ||
field used for basic authentication. | ||
The user identified by the username must have write access in the `_system` database | ||
of the ArangoDB cluster at the endpoint. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) | ||
|
||
### .spec.source.deploymentName: string | ||
|
||
DeploymentName holds the name of an ArangoDeployment resource. | ||
If set, this provides default values for masterEndpoint, auth & tls. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L36) | ||
|
||
### .spec.source.masterEndpoint: []string | ||
|
||
MasterEndpoint holds a list of URLs used to reach the syncmaster(s) | ||
Use this setting if the source cluster is not running inside a Kubernetes cluster | ||
that is reachable from the Kubernetes cluster the `ArangoDeploymentReplication` resource is deployed in. | ||
Specifying this setting and `deploymentName` at the same time is not allowed. | ||
|
||
Default Value: [] | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L42) | ||
|
||
### .spec.source.tls.caSecretName: string | ||
|
||
CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. | ||
This setting is required, unless `deploymentName` has been set. | ||
|
||
[Code Reference](/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# API Reference for ArangoLocalStorage V1Alpha | ||
|
||
## Spec | ||
|
||
### .spec.localPath: []string | ||
|
||
LocalPath setting specifies one or more local directories (on the nodes) used to create persistent volumes in. | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L36) | ||
|
||
### .spec.nodeSelector: map[string]string | ||
|
||
NodeSelector setting specifies which nodes the operator will provision persistent volumes on. | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L43) | ||
|
||
### .spec.podCustomization.priority: int32 | ||
|
||
Priority if defined, sets the priority for pods of storage provisioner | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_pod_customization.go#L25) | ||
|
||
### .spec.privileged: bool | ||
|
||
Privileged if set, passes Privileged flag to SecurityContext for pods of storage provisioner | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L45) | ||
|
||
### .spec.storageClass.isDefault: bool | ||
|
||
IsDefault setting specifies if the created `StorageClass` will | ||
be marked as default storage class. | ||
|
||
Default Value: false | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/storage_class_spec.go#L42) | ||
|
||
### .spec.storageClass.name: string | ||
|
||
Name setting specifies the name of the storage class that | ||
created `PersistentVolume` will use. | ||
If empty, this field defaults to the name of the `ArangoLocalStorage` object. | ||
If a `StorageClass` with given name does not yet exist, it will be created. | ||
|
||
Default Value: "" | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/storage_class_spec.go#L38) | ||
|
||
### .spec.storageClass.reclaimPolicy: core.PersistentVolumeReclaimPolicy | ||
|
||
ReclaimPolicy defines what happens to a persistent volume when released from its claim. | ||
|
||
Links: | ||
* [Documentation of core.PersistentVolumeReclaimPolicy](https://kubernetes.io/docs/concepts/storage/persistent-volumes#reclaiming) | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/storage_class_spec.go#L46) | ||
|
||
### .spec.tolerations: []core.Toleration | ||
|
||
Tolerations specifies the tolerations added to pods of storage provisioner | ||
|
||
Links: | ||
* [Documentation of core.Toleration](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#toleration-v1-core) | ||
|
||
[Code Reference](/pkg/apis/storage/v1alpha/local_storage_spec.go#L41) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.