-
Notifications
You must be signed in to change notification settings - Fork 214
/
local-values.yaml
154 lines (146 loc) · 4.05 KB
/
local-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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
# Copyright (c) 2023 Contributors to the Eclipse Foundation
#
# See the NOTICE file(s) distributed with this work for additional
# information regarding copyright ownership.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0
#
# SPDX-License-Identifier: EPL-2.0
---
# Default values for ditto.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
jwtOnly: false
basicAuthUsers:
ditto:
user: ditto
password: ditto
logging:
customConfigFile:
enabled: true
## ----------------------------------------------------------------------------
## policies configuration
## ref: https://www.eclipse.dev/ditto/architecture-services-policies.html
policies:
resources:
cpu: 0.2
memoryMi: 512
jvm:
activeProcessorCount: 2
heapRamPercentage: 50
config:
persistence:
events:
historicalHeadersToPersist:
- "ditto-originator"
- "ditto-origin"
- "correlation-id"
## ----------------------------------------------------------------------------
## things configuration
## ref: https://www.eclipse.dev/ditto/architecture-services-things.html
things:
resources:
cpu: 0.2
memoryMi: 512
jvm:
activeProcessorCount: 2
heapRamPercentage: 50
config:
persistence:
events:
historicalHeadersToPersist:
- "ditto-originator"
- "ditto-origin"
- "correlation-id"
## ----------------------------------------------------------------------------
## things-search configuration
## ref: https://www.eclipse.dev/ditto/architecture-services-things-search.html
thingsSearch:
resources:
cpu: 0.2
memoryMi: 512
jvm:
activeProcessorCount: 2
heapRamPercentage: 50
## ----------------------------------------------------------------------------
## connectivity configuration
## ref: https://www.eclipse.dev/ditto/architecture-services-connectivity.html
connectivity:
resources:
cpu: 0.2
memoryMi: 768
jvm:
activeProcessorCount: 2
heapRamPercentage: 55
## ----------------------------------------------------------------------------
## gateway configuration
## ref: https://www.eclipse.dev/ditto/architecture-services-gateway.html
gateway:
resources:
cpu: 0.2
memoryMi: 512
jvm:
activeProcessorCount: 2
heapRamPercentage: 50
config:
authentication:
enablePreAuthentication: true
oauth:
openidConnectIssuers:
example:
issuer: "example.com"
authSubjects:
- "{{ jwt:sub }}"
- "{{ jwt:groups }}"
devops:
## this controls whether /devops resource is secured or not
secured: true
authMethod: "basic"
oauth:
# configure the amount of clock skew in seconds to tolerate when verifying the local time against the exp and nbf claims
allowedClockSkew: 20s
openidConnectIssuers:
example-ops:
issuer: "example.com"
authSubjects:
- "{{ jwt:sub }}"
- "{{ jwt:groups }}"
oauthSubjects:
- "example-ops:devops-admin"
## this controls whether /status resource is secured or not
statusSecured: true
statusAuthMethod: "basic"
# array of strings for subjects authorized to use "/status" API
statusOauthSubjects:
- "example-ops:devops-admin"
## ----------------------------------------------------------------------------
## nginx configuration
nginx:
resources:
cpu: 0.1
memoryMi: 64
initContainers:
waitForGateway:
enabled: false
## ----------------------------------------------------------------------------
## mongodb dependency chart configuration
mongodb:
enabled: false
resources:
limits:
cpu: 100m
memory: 256Mi
requests:
cpu: 100m
memory: 256Mi
readinessProbe:
enabled: false
livenessProbe:
enabled: false
auth:
enabled: false
persistence:
enabled: false