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.
Built-in options
All built-in options are passed to ArangoDB servers via commandlinearguments configured in the Pod-spec.
Other configuration options
All commandline options of arangod
(and arangosync
) are availableby adding options to the spec.<group>.args
list of a groupof servers.
These arguments are added to th commandline created for these servers.
Secrets
The ArangoDB cluster needs several secrets such as JWT tokensTLS certificates and so on.
All these secrets are stored as Kubernetes Secrets and passed tothe applicable Pods as files, mapped into the Pods filesystem.
The name of the secret is specified in the custom resource.For example:
apiVersion: "cluster.arangodb.com/v1alpha"
kind: "Cluster"
metadata:
name: "example-arangodb-cluster"
spec:
mode: Cluster
auth:
jwtSecretName: <name-of-JWT-token-secret>