|
| 1 | +# API Reference for ArangoDeploymentReplication V1 |
| 2 | + |
| 3 | +## Spec |
| 4 | + |
| 5 | +### .spec.cancellation.ensureInSync: bool |
| 6 | + |
| 7 | +EnsureInSync if it is true then during cancellation process data consistency is required. |
| 8 | +Default value is true. |
| 9 | + |
| 10 | +[Code Reference](/pkg/apis/replication/v1/replication_spec.go#L38) |
| 11 | + |
| 12 | +### .spec.cancellation.sourceReadOnly: bool |
| 13 | + |
| 14 | +SourceReadOnly if it true then after cancellation source data center should be in read-only mode. |
| 15 | +Default value is false. |
| 16 | + |
| 17 | +[Code Reference](/pkg/apis/replication/v1/replication_spec.go#L41) |
| 18 | + |
| 19 | +### .spec.destination.auth.keyfileSecretName: string |
| 20 | + |
| 21 | +KeyfileSecretName holds the name of a Secret containing a client authentication |
| 22 | +certificate formatted at keyfile in a `tls.keyfile` field. |
| 23 | +If `userSecretName` has not been set, |
| 24 | +the client authentication certificate found in the secret with this name is also used to configure |
| 25 | +the synchronization and fetch the synchronization status. |
| 26 | + |
| 27 | +[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) |
| 28 | + |
| 29 | +### .spec.destination.auth.userSecretName: string |
| 30 | + |
| 31 | +UserSecretName holds the name of a Secret containing a `username` & `password` |
| 32 | +field used for basic authentication. |
| 33 | +The user identified by the username must have write access in the `_system` database |
| 34 | +of the ArangoDB cluster at the endpoint. |
| 35 | + |
| 36 | +[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) |
| 37 | + |
| 38 | +### .spec.destination.deploymentName: string |
| 39 | + |
| 40 | +DeploymentName holds the name of an ArangoDeployment resource. |
| 41 | +If set, this provides default values for masterEndpoint, auth & tls. |
| 42 | + |
| 43 | +[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L36) |
| 44 | + |
| 45 | +### .spec.destination.masterEndpoint: []string |
| 46 | + |
| 47 | +MasterEndpoint holds a list of URLs used to reach the syncmaster(s) |
| 48 | +Use this setting if the source cluster is not running inside a Kubernetes cluster |
| 49 | +that is reachable from the Kubernetes cluster the `ArangoDeploymentReplication` resource is deployed in. |
| 50 | +Specifying this setting and `deploymentName` at the same time is not allowed. |
| 51 | + |
| 52 | +Default Value: [] |
| 53 | + |
| 54 | +[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L42) |
| 55 | + |
| 56 | +### .spec.destination.tls.caSecretName: string |
| 57 | + |
| 58 | +CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. |
| 59 | +This setting is required, unless `deploymentName` has been set. |
| 60 | + |
| 61 | +[Code Reference](/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) |
| 62 | + |
| 63 | +### .spec.source.auth.keyfileSecretName: string |
| 64 | + |
| 65 | +KeyfileSecretName holds the name of a Secret containing a client authentication |
| 66 | +certificate formatted at keyfile in a `tls.keyfile` field. |
| 67 | +If `userSecretName` has not been set, |
| 68 | +the client authentication certificate found in the secret with this name is also used to configure |
| 69 | +the synchronization and fetch the synchronization status. |
| 70 | + |
| 71 | +[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L37) |
| 72 | + |
| 73 | +### .spec.source.auth.userSecretName: string |
| 74 | + |
| 75 | +UserSecretName holds the name of a Secret containing a `username` & `password` |
| 76 | +field used for basic authentication. |
| 77 | +The user identified by the username must have write access in the `_system` database |
| 78 | +of the ArangoDB cluster at the endpoint. |
| 79 | + |
| 80 | +[Code Reference](/pkg/apis/replication/v1/endpoint_authentication_spec.go#L42) |
| 81 | + |
| 82 | +### .spec.source.deploymentName: string |
| 83 | + |
| 84 | +DeploymentName holds the name of an ArangoDeployment resource. |
| 85 | +If set, this provides default values for masterEndpoint, auth & tls. |
| 86 | + |
| 87 | +[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L36) |
| 88 | + |
| 89 | +### .spec.source.masterEndpoint: []string |
| 90 | + |
| 91 | +MasterEndpoint holds a list of URLs used to reach the syncmaster(s) |
| 92 | +Use this setting if the source cluster is not running inside a Kubernetes cluster |
| 93 | +that is reachable from the Kubernetes cluster the `ArangoDeploymentReplication` resource is deployed in. |
| 94 | +Specifying this setting and `deploymentName` at the same time is not allowed. |
| 95 | + |
| 96 | +Default Value: [] |
| 97 | + |
| 98 | +[Code Reference](/pkg/apis/replication/v1/endpoint_spec.go#L42) |
| 99 | + |
| 100 | +### .spec.source.tls.caSecretName: string |
| 101 | + |
| 102 | +CASecretName holds the name of a Secret containing a ca.crt public key for TLS validation. |
| 103 | +This setting is required, unless `deploymentName` has been set. |
| 104 | + |
| 105 | +[Code Reference](/pkg/apis/replication/v1/endpoint_tls_spec.go#L34) |
| 106 | + |
0 commit comments