mirror of
https://github.com/arangodb/kube-arangodb.git
synced 2024-12-14 11:57:37 +00:00
fe66d98444
- remove duplicated docs - update old docs with new info - rework docs index page - file names not changed to make sure redirects from old site will work as expected Co-authored-by: jwierzbo <jakub.wierzbowski@arangodb.com>
36 lines
972 B
Markdown
36 lines
972 B
Markdown
# Configuration & secrets
|
|
|
|
An ArangoDB cluster has lots of configuration options.
|
|
Some will be supported directly in the ArangoDB Operator,
|
|
others will have to specified separately.
|
|
|
|
## Passing command line options
|
|
|
|
All command-line options of `arangod` (and `arangosync`) are available
|
|
by adding options to the `spec.<group>.args` list of a group
|
|
of servers.
|
|
|
|
These arguments are added to the command-line created for these servers.
|
|
|
|
## Secrets
|
|
|
|
The ArangoDB cluster needs several secrets such as JWT tokens
|
|
TLS certificates and so on.
|
|
|
|
All these secrets are stored as Kubernetes Secrets and passed to
|
|
the applicable Pods as files, mapped into the Pods filesystem.
|
|
|
|
The name of the secret is specified in the custom resource.
|
|
For example:
|
|
|
|
```yaml
|
|
apiVersion: "database.arangodb.com/v1"
|
|
kind: "ArangoDeployment"
|
|
metadata:
|
|
name: "example-simple-cluster"
|
|
spec:
|
|
mode: Cluster
|
|
image: 'arangodb/arangodb:3.10.8'
|
|
auth:
|
|
jwtSecretName: <name-of-JWT-token-secret>
|
|
```
|