-
Notifications
You must be signed in to change notification settings - Fork 2
/
values.yaml
275 lines (263 loc) · 8.24 KB
/
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
#
# K2HR3 Helm Chart
#
# Copyright 2022 Yahoo Japan Corporation.
#
# K2HR3 is K2hdkc based Resource and Roles and policy Rules, gathers
# common management information for the cloud.
# K2HR3 can dynamically manage information as "who", "what", "operate".
# These are stored as roles, resources, policies in K2hdkc, and the
# client system can dynamically read and modify these information.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
# AUTHOR: Takeshi Nakatani
# CREATE: Wed Jan 19 2022
# REVISION:
#
#---------------------------------------------------------
# Default values for k2hr3 helm chart.
#---------------------------------------------------------
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: true
# Annotations to add to the service account
annotations: {}
# The name of the service account to use.
# If not set and create is true, a name is generated using
# the fullname template
name: ""
#---------------------------------------------------------
# Common Variables
#
# antpickax
# configDir Specifies Antpickax common configuration
# directory(ex. /etc/antpickax)
# certPeriodYear Specify years for expire certificate
#
# minikube Specify true if run on minikube
#
antpickax:
configDir: /etc/antpickax
certPeriodYear: 5
minikube: false
#---------------------------------------------------------
# Variables for K2HR3 Cluster
#
# clusterName Specifies the cluster name for k2hr3 system
# for dbaas. This is used as the base name that
# affects each setting name.
# This value allows empty. If empty, the release
# name on the helm command line is used.
# ( ".Release.Name" )
# startManual Specify a flag for debugging. Setting this
# flag to true allows the k2hr3 system to be
# started manually.
# baseDomain Specifies the base domain name for the k2hr3
# system. Normally, leave this value empty. If
# empty, k8s.domain will be used.
#
# dkc.baseName Specifies the base name for k2hdkc in k2hr3
# system. Normally, leave this value empty.
# If empty, "r3dkc-<k2hr3.clusterName>" will
# be used.
# dkc.count Specifies the k2hdkc server count in k2hr3
# system.
#
# api.baseName Specifies the base name for k2hr3 api in k2hr3
# system. Normally, leave this value empty. If
# empty, "r3api-<k2hr3.clusterName>" will be
# used.
# api.count Specifies the k2hr3 api server count in k2hr3
# system.
# api.extHostname Specifies the k2hr3 api external host name.
# If this value empty, internal hostname will be
# used.
# api.customConf Specify the custom configuration file content
# formatted by json string(config/local.json(local.json5)).
# By setting this value, you can add or change an
# existing configuration.
# api.localTenant Specifies whether to support the LOCAL TENANT API.
#
# app.extPort Specifies the k2hr3 api external port and
# NodePort. If this value is empty, it will be
# set 31443.
# app.baseName Specifies the base name for k2hr3 app in k2hr3
# system. Normally, leave this value empty. If
# empty, "r3app-<k2hr3.clusterName>" will be
# used.
# app.count Specifies the k2hr3 app server count in k2hr3
# system.
# app.extHostname Specifies the k2hr3 api external host name.
# If this value empty, internal hostname will be
# used.
# app.extPort Specifies the k2hr3 app external port and
# NodePort. If this value is empty, it will be
# set 32443.
# app.customConf Specify the custom configuration file content
# formatted by json string(config/local.json(local.json5)).
# By setting this value, you can add or change an
# existing configuration.
# app.localTenant Specifies whether to support the LOCAL TENANT.
#
# env.httpProxy Specifies HTTP PROXY environment for k2hr3 system.
# If this value is empty, it will be set empty.
# env.httpsProxy Specifies HTTPS PROXY environment for k2hr3 system.
# If this value is empty, it will be set empty.
# env.noProxy Specifies NO PROXY environment for k2hr3 system.
# If this value is empty, it will be set empty.
#
k2hr3:
clusterName: ""
startManual: false
baseDomain: ""
dkc:
baseName: ""
count: 2
api:
baseName: ""
count: 2
extHostname: ""
extPort: 0
customConf: ""
localTenant: true
app:
baseName: ""
count: 2
extHostname: ""
extPort: 0
customConf: ""
localTenant: true
env:
httpProxy: ""
httpsProxy: ""
noProxy: ""
#---------------------------------------------------------
# Images
#
# app/api/dkc/chmpx/init image type(k2hr3-api/k2hr3-app/k2hdkc/chmpx/init-container)
# fullImageName Specify full image name("organaization/image-name:tag")
# organization Specify organaization name for images(default is "antpickax" or empty for "alpine" image)
# imageName Specify image name(default is "k2hr3-api", "k2hr3-app", "k2hdkc", "chmpx" or "alpine")
# version Specify image version(default is set automatically)
#
# [NOTE]
# "organization" and "imageName" and "version" values are valid only if "fullImageName" is empty.
#
images:
app:
fullImageName: ""
organization: ""
imageName: ""
version: ""
api:
fullImageName: ""
organization: ""
imageName: ""
version: ""
dkc:
fullImageName: ""
organization: ""
imageName: ""
version: ""
chmpx:
fullImageName: ""
organization: ""
imageName: ""
version: ""
init:
fullImageName: ""
organization: ""
imageName: ""
version: ""
default:
organization: ""
#---------------------------------------------------------
# Mount Points
#
# configMap Specifies mount point for configmap.
# (ex. /configmap)
# ca Specifies mount point for CA certification
# file directory(ex. /secret-ca)
#
mountPoint:
configMap: /configmap
ca: /secret-ca
#---------------------------------------------------------
# Kubernetes
#
# namespace Specifies the namespace to start k2hdkc dbaas.
# If this is not specified, use Release.Namespace.
# domain Specifies the domain fqdn for kubernetes.
# default is "svc.cluster.local".
# apiUrl Specifies API URL for kubernetes.
# caCert Specifies kubernetes CA certification path.
# saToken Specifies kubernetes Service Account token.
#
k8s:
namespace: ""
domain: svc.cluster.local
caCert: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
saToken: /var/run/secrets/kubernetes.io/serviceaccount/token
apiUrl: https://kubernetes.default.svc
#---------------------------------------------------------
# OpenID Connect
#
# clientId Specifies OpenID Connect Client ID
# clientSecret Specifies OpenID Connect Secret
# cookieExpire Specifies OpenID Connect Cookie expire
# cookieName Specifies OpenID Connect Cookie name
# issuerUrl Specifies OpenID Connect Issuer URL.
# (ex. "https://localhost/dex")
# usernameKey Specifies OpenID Connect Username key name
#
oidc:
clientId: ""
clientSecret: ""
cookieExpire: 60
cookieName: id_token
issuerUrl: ""
usernameKey: ""
#---------------------------------------------------------
# Files ( without modifying )
#
unconvertedFiles:
k2hr3:
- key: k2hr3-k2hdkc-serverproc-wrap.sh
path: files/k2hr3-k2hdkc-serverproc-wrap.sh
- key: k2hr3-k2hdkc-chmpxproc-wrap.sh
path: files/k2hr3-k2hdkc-chmpxproc-wrap.sh
- key: k2hr3-k2hdkc-ini-update.sh
path: files/k2hr3-k2hdkc-ini-update.sh
- key: k2hr3-api-wrap.sh
path: files/k2hr3-api-wrap.sh
- key: k2hr3-app-wrap.sh
path: files/k2hr3-app-wrap.sh
- key: k2hr3-app-init.sh
path: files/k2hr3-app-init.sh
- key: k2hr3-setup-certificate.sh
path: files/k2hr3-setup-certificate.sh
- key: k2hr3-check.sh
path: files/k2hr3-check.sh
- key: k2hr3-k2hdkc.ini.templ
path: files/k2hr3-k2hdkc.ini.templ
#---------------------------------------------------------
# Files ( with modifying )
#
convertedFiles:
k2hr3:
- key: k2hr3-api-production.json5
path: files/k2hr3-api-production.json5.templ
- key: k2hr3-app-production.json5
path: files/k2hr3-app-production.json5.templ
#
# Local variables:
# tab-width: 4
# c-basic-offset: 4
# End:
# vim600: noexpandtab sw=4 ts=4 fdm=marker
# vim<600: noexpandtab sw=4 ts=4
#