Skip to content

Commit 6722882

Browse files
committed
Updated spec
1 parent 7d6455f commit 6722882

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

docs/Manual/Deployment/Kubernetes/DeploymentReplicationResource.md

+31-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ a `CustomResourceDefinition` created by the operator.
88
Example minimal replication definition:
99

1010
```yaml
11-
apiVersion: "database.arangodb.com/v1alpha"
11+
apiVersion: "replication.database.arangodb.com/v1alpha"
1212
kind: "ArangoDeploymentReplication"
1313
metadata:
1414
name: "replication-from-a-to-b"
@@ -18,7 +18,7 @@ spec:
1818
destination:
1919
deploymentName: cluster-b
2020
auth:
21-
clientSecretName: client-auth-cert
21+
clientAuthSecretName: client-auth-cert
2222
```
2323
2424
This definition results in:
@@ -53,6 +53,20 @@ that is reachable from the Kubernetes cluster the `ArangoDeploymentReplication`
5353

5454
Specifying this setting and `spec.source.deploymentName` at the same time is not allowed.
5555

56+
### `spec.source.auth.jwtSecretName: string`
57+
58+
This setting specifies the name of a `Secret` containing a JWT `token` used to authenticate
59+
with the SyncMaster at the specified source.
60+
61+
This setting is required, unless `spec.source.deploymentName` has been set.
62+
63+
### `spec.source.tls.caSecretName: string`
64+
65+
This setting specifies the name of a `Secret` containing a TLS CA certificate `ca.crt` used to verify
66+
the TLS connection created by the SyncMaster at the specified source.
67+
68+
This setting is required, unless `spec.source.deploymentName` has been set.
69+
5670
### `spec.destination.deploymentName: string`
5771

5872
This setting specifies the name of an `ArangoDeployment` resource that runs a cluster
@@ -75,7 +89,21 @@ that is reachable from the Kubernetes cluster the `ArangoDeploymentReplication`
7589

7690
Specifying this setting and `spec.destination.deploymentName` at the same time is not allowed.
7791

78-
### `spec.auth.clientSecretName: string`
92+
### `spec.destination.auth.jwtSecretName: string`
93+
94+
This setting specifies the name of a `Secret` containing a JWT `token` used to authenticate
95+
with the SyncMaster at the specified destination.
96+
97+
This setting is required, unless `spec.destination.deploymentName` has been set.
98+
99+
### `spec.destination.tls.caSecretName: string`
100+
101+
This setting specifies the name of a `Secret` containing a TLS CA certificate `ca.crt` used to verify
102+
the TLS connection created by the SyncMaster at the specified destination.
103+
104+
This setting is required, unless `spec.destination.deploymentName` has been set.
105+
106+
### `spec.auth.clientAuthSecretName: string`
79107

80108
This setting specifies the name of a `Secret` containing a client authentication certificate,
81109
used to authenticate the SyncMaster in the destination cluster with the SyncMaster in the

0 commit comments

Comments
 (0)