-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathscalardl-audit-custom-values.yaml
111 lines (94 loc) · 2.67 KB
/
scalardl-audit-custom-values.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
envoy:
replicaCount: 3
prometheusRule:
enabled: false
serviceMonitor:
enabled: false
grafanaDashboard:
enabled: false
service:
type: LoadBalancer
annotations:
service.beta.kubernetes.io/azure-load-balancer-internal: "true"
service.beta.kubernetes.io/aws-load-balancer-internal: "true"
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- scalardl-audit
- key: app.kubernetes.io/app
operator: In
values:
- envoy
topologyKey: kubernetes.io/hostname
weight: 50
auditor:
replicaCount: 3
scalarAuditorConfiguration:
auditorProperties: |
# # Cosmo DB for NoSQL
# # The Cosmos DB for NoSQL URI
# scalar.db.contact_points=<COSMOS_DB_FOR_NOSQL_URI>
#
# # The Cosmos DB for NoSQL key
# scalar.db.password=<COSMOS_DB_FOR_NOSQL_KEY>
#
# # Cosmos DB for NoSQL storage implementation
# scalar.db.storage=cosmos
# # DynamoDB
# # The AWS region
# scalar.db.contact_points=<REGION>
#
# # The AWS access key ID and secret access key
# scalar.db.username=<ACCESS_KEY_ID>
# scalar.db.password=<SECRET_ACCESS_KEY>
#
# # DynamoDB storage implementation
# scalar.db.storage=dynamo
# # Auditor configurations
# scalar.dl.auditor.ledger.host=<Host name to access ScalarDL Ledger pods>
# scalar.dl.auditor.private_key_path=/keys/private-key
# scalar.dl.auditor.cert_path=/keys/certificate
extraVolumes:
- name: auditor-keys
secret:
secretName: auditor-keys
extraVolumeMounts:
- name: auditor-keys
mountPath: /keys
readOnly: true
prometheusRule:
enabled: false
serviceMonitor:
enabled: false
grafanaDashboard:
enabled: false
affinity:
podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution:
- podAffinityTerm:
labelSelector:
matchExpressions:
- key: app.kubernetes.io/name
operator: In
values:
- scalardl-audit
- key: app.kubernetes.io/app
operator: In
values:
- auditor
topologyKey: kubernetes.io/hostname
weight: 50
resources:
requests:
cpu: 2000m
memory: 4Gi
limits:
cpu: 2000m
memory: 4Gi