forked from aquasecurity/aqua-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
operator_v1alpha1_aquadatabase.yaml
34 lines (34 loc) · 2.32 KB
/
operator_v1alpha1_aquadatabase.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: operator.aquasec.com/v1alpha1
kind: AquaDatabase
metadata:
name: aquadatabase-sample
spec:
infra: # Optional: Infrastructure information
serviceAccount: "aqua-sa" # Optional: auto generate if requirment is true
version: "2022.4" # Optional: auto generate if requirment is true to latest version
common:
storageclass: "default" # Optional: if not given then use storage class default
imagePullSecret: # Optional: if already created image pull secret then mention in here
databaseSecret: # Optional: if already created database password secret
key:
name:
splitDB: # Optional: create 2 database deployments, one for audit and one for configuration
deploy: # Required: information about aqua gateway deployment
replicas: 1 # Required: number of replicas
service: "ClusterIP" # Required: service type for aqua server
image: # Optional: if not given take the default value and version from infra.version
repository: "database" # Optional: if not given take the default value - database
registry: "registry.aquasec.com" # Optional: if not given take the default value - registry.aquasec.com
tag: "2022.4" # Optional: if not given take the default value - 4.5 (latest tested version for this operator version)
pullPolicy: "IfNotPresent" # Optional: if not given take the default value - IfNotPresent
diskSize: 10 # Required: size of database disk pvc
auditDB: # Optional: applied only when splitDB set to true.
information: # Optional: could be used for creating audit-db password
host:
port:
username:
password: # Optional: if not, generating a random password
secret: # Optional: the secret to use for audit-db. if secret not exist, create secret with audit-db.information.password
key:
name:
runAsNonRoot: # Optional: true/false