-
Notifications
You must be signed in to change notification settings - Fork 2
/
values.yaml
241 lines (231 loc) · 7.45 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
#
# K2HDKC DBaaS Helm Chart
#
# Copyright 2022 Yahoo Japan Corporation.
#
# K2HDKC DBaaS is a DataBase as a Service provided by Yahoo! JAPAN
# which is built K2HR3 as a backend and provides services in
# cooperation with Kubernetes.
# The Override configuration for K2HDKC DBaaS serves to connect the
# components that make up the K2HDKC DBaaS. K2HDKC, K2HR3, CHMPX,
# and K2HASH are components provided as AntPickax.
#
# For the full copyright and license information, please view
# the license file that was distributed with this source code.
#
# AUTHOR: Takeshi Nakatani
# CREATE: Fri Jan 21 2021
# REVISION:
#
#---------------------------------------------------------
# Default values for k2hdkc.
# This is a YAML formatted file.
#---------------------------------------------------------
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
#
antpickax:
configDir: /etc/antpickax
certPeriodYear: 5
#---------------------------------------------------------
# Variables for K2HDKC DBaaS
#
# clusterName Specifies the cluster name for k2hdkc 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 k2hdkc processes to be
# started manually.
# baseDomain Specify the domain name of kubernetes. This
# value is usually empty. If empty, k8s.domain
# will be used.
# server.count Specifies the number of k2hdkc servers.
# server.port Specifies the port number of k2hdkc servers.
# server.ctlport Specifies the control port number of k2hdkc
# servers.
# slave.count Specifies the number of k2hdkc slaves.
# slave.ctlport Specifies the control port number of k2hdkc
# slaves.
# slave.image Specifies the image for k2hdkc slave container.
# If empty, the antpickax k2hdkc image is set as
# default.
# slave.command Specifies the command for k2hdkc slave container.
# If empty, "/bin/sh" is set as default.
# slave.args Specifies the args for k2hdkc slave container.
# If empty, dbaas-k2hdkc-dummyslave.sh is set as
# default.
# slave.files Specifies additional files in configmap.
# The files must be under chart directory, if not,
# could not load file contents.
# slave.expandFiles Specifies additional files and its contents(string)
# in configmap. Each value must have key and content
# subkey.
# ex) expandFiles:
# - key: myfile
# contents: |-
# ....
# ....
#
# env.httpProxy Specifies HTTP PROXY environment for K2HDKC cluster.
# If this value is empty, it will be set empty.
# env.httpsProxy Specifies HTTPS PROXY environment for K2HDKC cluster.
# If this value is empty, it will be set empty.
# env.noProxy Specifies NO PROXY environment for K2HDKC cluster.
# If this value is empty, it will be set empty.
#
dbaas:
clusterName: ""
startManual: false
baseDomain: ""
server:
count: 2
port: 8020
ctlport: 8021
slave:
count: 2
ctlport: 8022
image: ""
command: []
args: []
files: []
expandFiles: []
env:
httpProxy: ""
httpsProxy: ""
noProxy: ""
#---------------------------------------------------------
# Variables for using 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.( "k2hr3" )
# baseDomain Specifies the base domain name for the k2hr3
# system. Normally, leave this value empty.
# If empty, k8s.domain will be used.
# unscopedToken Specifies the UnscopedToken from K2HR3
# system(from Web Application).
# api.baseName Specifies the base name for k2hr3 api in k2hr3
# system. Normally, leave this value empty. If
# empty, "r3api-<k2hr3 cluster name>" will be
# used.
# app.intPort Specifies the k2hr3 api internal port.
# If this value is empty, it will be set 443.
#
k2hr3:
clusterName: ""
baseDomain: ""
unscopedToken: ""
api:
baseName: ""
intPort: 443
#---------------------------------------------------------
# Mount Points
#
# configMap Specifies mount point for configmap
# (ex. /configmap)
# ca Specifies mount point for CA certification
# file directory(ex. /secret-ca)
# k2hr3Token Specifies mount point for K2HR3 token
# (ex. /secret-k2hr3-token)
#
mountPoint:
configMap: /configmap
ca: /secret-ca
k2hr3Token: /secret-k2hr3-token
#---------------------------------------------------------
# Images
#
# dkc/chmpx/init image type(k2hdkc/chmpx/alpine)
# fullImageName Specify full image name("organaization/image-name:tag")
# organization Specify organaization name for images(default is "antpickax")
# imageName Specify image name(default is "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:
dkc:
fullImageName: ""
organization: ""
imageName: ""
version: ""
chmpx:
fullImageName: ""
organization: ""
imageName: ""
version: ""
init:
fullImageName: ""
organization: ""
imageName: ""
version: ""
default:
organization: ""
#---------------------------------------------------------
# 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".
#
k8s:
namespace: ""
domain: ""
#---------------------------------------------------------
# Files ( without modifying )
#
unconvertedFiles:
dbaas:
- key: dbaas-k2hdkc-variables-setup.sh
path: files/dbaas-k2hdkc-variables-setup.sh
- key: dbaas-k2hdkc-k2hr3-registration.sh
path: files/dbaas-k2hdkc-k2hr3-registration.sh
- key: dbaas-k2hdkc-ini-update.sh
path: files/dbaas-k2hdkc-ini-update.sh
- key: dbaas-k2hdkc-serverproc-wrap.sh
path: files/dbaas-k2hdkc-serverproc-wrap.sh
- key: dbaas-k2hdkc-chmpxproc-wrap.sh
path: files/dbaas-k2hdkc-chmpxproc-wrap.sh
- key: dbaas-setup-certificate.sh
path: files/dbaas-setup-certificate.sh
- key: dbaas-setup-k2hr3-data.sh
path: files/dbaas-setup-k2hr3-data.sh
- key: dbaas-unsetup-k2hr3-data.sh
path: files/dbaas-unsetup-k2hr3-data.sh
- key: dbaas-k2hdkc-dummyslave.sh
path: files/dbaas-k2hdkc-dummyslave.sh
- key: dbaas-k2hdkc-check.sh
path: files/dbaas-k2hdkc-check.sh
- key: dbaas-k2hdkc.ini.templ
path: files/dbaas-k2hdkc.ini.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
#