-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathvalues.yaml
More file actions
452 lines (408 loc) · 17.1 KB
/
values.yaml
File metadata and controls
452 lines (408 loc) · 17.1 KB
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
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
# Default values for ckan-chart.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# replicaCount -- Number of CKAN pods to deploy
replicaCount: 1
image:
# image.repository -- CKAN Docker image repository
repository: keitaro/ckan
# image.tag -- CKAN Docker image tag
tag: 2.11.4
# image.pullPolicy -- Image pull policy
pullPolicy: IfNotPresent
testConnection:
# image.testConnection.repository -- Image for test connection jobs
repository: busybox
tag: stable
pullPolicy: IfNotPresent
initContainer:
# image.initContainer.repository -- Image for init containers
repository: busybox
tag: stable
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
# fullnameOverride -- Override for full chart name
fullnameOverride: "ckan"
pvc:
# pvc.enabled -- Enable persistent volume claim
enabled: true
# pvc.size -- Size of the PVC
size: "1Gi"
# pvc.storageClassName -- Storage class for PVC
storageClassName: "standard"
# pvc.accessmode -- Access mode for PVC
accessmode: "ReadWriteOnce"
# DBDeploymentName -- Variable for name override for postgres deployment
DBDeploymentName: &DBDeploymentName postgres
# RedisName -- Variable for name override for redis deployment
RedisName: &RedisName redis
# SolrName -- Variable for name override for solr deployment
SolrName: &SolrName solr
# ZookeeperName -- Variable for name override for zookeeper deployment
ZookeeperName: &ZookeeperName zookeeper
# DBHost -- Variable for name of headless svc from postgres deployment or external host connection string
DBHost: &DBHost postgres
# MasterDBName -- Variable for name of the master user database in PostgreSQL
MasterDBName: &MasterDBName postgres
# MasterDBUser -- Variable for master user name for PostgreSQL
MasterDBUser: &MasterDBUser postgres
# MasterDBPass -- Variable for password for the master user in PostgreSQL
MasterDBPass: &MasterDBPass pass
# CkanDBName -- Variable for name of the database used by CKAN
CkanDBName: &CkanDBName ckan_default
# CkanDBUser -- Variable for username for the owner of the CKAN database
CkanDBUser: &CkanDBUser ckan_default
# CkanDBPass -- Variable for password for the CKAN database owner
CkanDBPass: &CkanDBPass pass
# DatastoreDBName -- Variable for name of the database used by Datastore
DatastoreDBName: &DatastoreDBName datastore_default
# DatastoreRWDBUser -- Variable for username for the user with write access to the datastore database
DatastoreRWDBUser: &DatastoreRWDBUser datastorerw
# DatastoreRWDBPass -- Variable for password for the datastore database user with write access
DatastoreRWDBPass: &DatastoreRWDBPass pass
# DatastoreRODBUser -- Variable for username for the user with read access to the datastore database
DatastoreRODBUser: &DatastoreRODBUser datastorero
# DatastoreRODBPass -- Variable for password for the datastore database user with read access
DatastoreRODBPass: &DatastoreRODBPass pass
ckan:
# ckan.sysadminName -- CKAN system admin username
sysadminName: "ckan_admin"
# ckan.sysadminPassword -- CKAN system admin password
sysadminPassword: "PasswordHere"
# ckan.sysadminApiToken -- CKAN system admin API token
# Needs to be generated via the CKAN UI and replaced after initial deployment
sysadminApiToken: "replace_this_with_generated_api_token_for_sysadmin"
# ckan.sysadminEmail -- CKAN system admin email
sysadminEmail: "admin@domain.com"
# ckan.siteTitle -- Site title for the instance
siteTitle: "Site Title here"
# ckan.siteId -- Site id
siteId: "site-id-here"
# ckan.siteUrl -- Url for the CKAN instance
siteUrl: "http://localhost:5000"
# ckan.ckanPlugins -- List of plugins to be used by the instance
ckanPlugins: "envvars activity image_view text_view datatables_view datastore xloader"
# ckan.storagePath -- Storage path to be used by the instance
storagePath: "/app/data"
# ckan.upload_enabled -- Set to "true" to enable file uploads in CKAN
upload_enabled: "true"
# ckan.activityStreamsEmailNotifications -- Set to true to enable email notifications for activity streams
# for this to work smtp must be configured
activityStreamsEmailNotifications: "true"
# ckan.debug -- Set to true to enable debug mode in CKAN
debug: "false"
# To debug inside the ckan container (this sets the entrypoint of the container to sleep infinity)
container_debug: "false"
# uswgi.proc.num -- The number of uswgi workers ckan will start
uwsg_num: "2"
# ckan.maintenanceMode -- Set to true to disable CKAN from starting and serve a maintenance page
maintenanceMode: "false"
# ckan.ckanext_xloader_site_url -- URL for the xloader extension to use for file uploads
ckanext_xloader_site_url: "http://ckan:80"
# ckan.workers -- Configuration for CKAN worker deployments
# for custom workers add additional entries to the array
workers:
- name: default
replicas: 1
command: ["ckan", "-c", "/app/production.ini","jobs", "worker", "default"]
- name: bulk
replicas: 1
command: ["ckan", "-c", "/app/production.ini","jobs", "worker", "bulk"]
- name: priority
replicas: 1
command: ["ckan", "-c", "/app/production.ini","jobs", "worker", "priority"]
# ckan.extraContainers -- An array to add extra containers to the CKAN pod
# For example:
extraContainers: []
# - name: example-sidecar
# image: alpine:3.19
# command:
# - sleep
# - infinity
# volumeMounts:
# - name: ckan
# mountPath: /app/data
psql:
# ckan.psql.runOnAzure -- Set to true to run on Azure (if true wont run on anything other then azure) set to false to run on other platforms
runOnAzure: false
# ckan.psql.initialize -- Flag whether to initialize the PostgreSQL instance with the provided users and databases
initialize: true
# ckan.psql.masterUser -- PostgreSQL master username
masterUser: *MasterDBUser
# ckan.psql.masterPassword -- PostgreSQL master user password
masterPassword: *MasterDBPass
# ckan.psql.masterDatabase -- PostgreSQL database for the master user
masterDatabase: *MasterDBName
# ckan.solr -- Location of SOLR collection used by the instance
solr: "http://solr-headless:8983/solr/ckancollection"
# ckan.redis -- Location of the Redis service to be used by the CKAN instance
redis: "redis://redis-headless:6379/0"
# ckan.spatialBackend -- Spatial backend to be used by the instance
spatialBackend: "solr"
locale:
offered: "en"
default: "en"
smtp:
server: "smtpServerURLorIP:port"
user: "smtpUser"
password: "smtpPassword"
mailFrom: "postmaster@domain.com"
tls: "enabled"
starttls: "true"
issues:
sendEmailNotifications: "true"
# ckan.extraEnv -- An array to add extra environment variables
# For example:
# extraEnv:
# - name: FOO
# value: "bar"
#
extraEnv: []
readiness:
# ckan.readiness.initialDelaySeconds -- Inital delay seconds for the readiness probe
initialDelaySeconds: 10
# ckan.readiness.periodSeconds -- Check interval for the readiness probe
periodSeconds: 10
# ckan.readiness.failureThreshold -- Failure threshold for the readiness probe
failureThreshold: 6
# ckan.readiness.timeoutSeconds -- Timeout interval for the readiness probe
timeoutSeconds: 15
liveness:
# ckan.liveness.initialDelaySeconds -- Initial delay for the liveness probe
initialDelaySeconds: 10
# ckan.liveness.periodSeconds -- Check interval for the liveness probe
periodSeconds: 10
# ckan.liveness.failureThreshold -- Failure threshold for the liveness probe
failureThreshold: 6
# ckan.liveness.timeoutSeconds -- Timeout interval for the liveness probe
timeoutSeconds: 15
db:
# ckan.db.ckanDbUrl -- Url of the PostgreSQL server where the CKAN database is hosted
ckanDbUrl: *DBHost
# ckan.db.ckanDbName -- Name of the database to be used by CKAN
ckanDbName: *CkanDBName
# ckan.db.ckanDbUser -- Username of the database to be used by CKAN
ckanDbUser: *CkanDBUser
# ckan.db.ckanDbPassword -- Password of the user for the database to be used by CKAN
ckanDbPassword: *CkanDBPass
datastore:
# ckan.datastore.RwDbUrl -- Url of the PostgreSQL server where the datastore database is hosted
RwDbUrl: *DBHost
# ckan.datastore.RwDbName -- Name of the database to be used for Datastore
RwDbName: *DatastoreDBName
# ckan.datastore.RwDbUser -- Username for the datastore database with write permissions
RwDbUser: *DatastoreRWDBUser
# ckan.datastore.RwDbPassword -- Password for the datastore write permissions user
RwDbPassword: *DatastoreRWDBPass
# ckan.datastore.RoDbUrl -- Url of the PostgreSQL server where the datastore database is hosted
RoDbUrl: *DBHost
# ckan.datastore.RoDbName -- Name of the database to be used for Datastore
RoDbName: *DatastoreDBName
# ckan.datastore.RoDbUser -- Username for the datastore database with read permissions
RoDbUser: *DatastoreRODBUser
# ckan.datastore.RoDbPassword -- Password for the datastore read permissions user
RoDbPassword: *DatastoreRODBPass
serviceAccount:
# serviceAccount.create -- Specifies whether a service account should be created
create: false
# serviceAccount.annotations -- Annotations to add to the service account
annotations: {}
# serviceAccount.name -- The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name:
# labels.ckan -- A map where you can add extra labels to the ckan deployment:
# example:
# ckan:
# test: label1
# labels.ckan -- Custom labels for CKAN deployment
labels:
# labels.enabled -- Enable custom labels
enabled: false
ckan: []
# podSecurityContext -- Pod security context
podSecurityContext:
runAsUser: 92
runAsGroup: 92
# securityContext -- Container security context
securityContext:
allowPrivilegeEscalation: false
service:
# service.type -- Type of the service created for the CKAN pod
type: ClusterIP
# service.port -- Service port
port: 80
ingress:
# ingress.enabled -- Enable ingress
enabled: false
# ingress.annotations -- Ingress annotations
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# ingress.className -- Ingress class name
className: ""
# ingress.hosts -- Ingress hosts
hosts:
- host: chart-example.local
paths:
- path: /
pathType: ImplementationSpecific
# ingress.tls -- Ingress TLS configuration
tls: []
# - secretName: chart-example-tls
# hosts:
# - chart-example.local
# ingressRoute -- Used in conjunction with a Traefik v2 deployment
ingressRoute:
# ingressRoute.enabled -- Enable Traefik ingress route
enabled: false
# ingressRoute.host -- Traefik ingress route host
host: chart-example.local
# resources -- Resource requests/limits
resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
# limits:
# cpu: 100m
# memory: 128Mi
# requests:
# cpu: 100m
# memory: 128Mi
# nodeSelector -- Node selector
nodeSelector: {}
# tolerations -- Pod tolerations
tolerations: []
# affinity -- Pod affinity
affinity: {}
hpa:
# hpa.enabled -- Enable horizontal pod autoscaler
enabled: false
# hpa.minReplicas -- Minimum HPA replicas
minReplicas: 1
# hpa.maxReplicas -- Maximum HPA replicas
maxReplicas: 5
# hpa.cpuTargetAverageUtilization -- HPA CPU target utilization
cpuTargetAverageUtilization: 80
# hpa.memoryTargetAverageUtilization -- HPA memory target utilization
memoryTargetAverageUtilization: 80
# Please check: https://docs.ckan.org/en/2.11/maintaining/configuration.html#session-settings
sessions:
# hpa.sessions.session_type -- HPA session type
session_type: redis
redis:
# Please see all available overrides at https://github.com/bitnami/charts/tree/main/bitnami/redis
# redis.enabled -- Flag to control whether to deploy Redis
enabled: true
# redis.fullnameOverride -- Name override for the redis deployment
fullnameOverride: *RedisName
replicaCount: 1
global:
security:
allowInsecureImages: true
# redis.architecture -- Redis architecture for standalone or replication versions
architecture: standalone
master:
persistence:
# redis.master.persistence.enabled -- Enable redis volume claim
enabled: false
# redis.master.persistence.size -- Size of the volume claim
size: 1Gi
auth:
# redis.auth.enabled -- Enable or disable redis password auth
enabled: false
# redis.auth.sentinel -- Enables or disables passwords for sentinels
sentinel: false
# redis.auth.password -- The password of redis if auth is enabled
password:
solr:
# Please see all available overrides at https://github.com/bitnami/charts/tree/main/bitnami/solr/#installing-the-chart
# solr.enabled -- Flag to control whether to deploy SOLR
enabled: true
global:
imageRegistry: ""
imagePullSecrets: []
storageClass: ""
security:
allowInsecureImages: true
auth:
# solr.auth.enabled -- Enable or disable auth (if auth is disabled solr-init cant upload the configset/schema.xml for ckan)
enabled: true
# solr.auth.adminUser -- The name of the solr admin user
adminUsername: admin
# solr.auth.adminPassword -- The password of the solr admin user
adminPassword: pass
# solr.collection -- the name of the collection created by solr
# since we are creating one with solr-init this needs to be blank
collection:
# solr.collectionShards -- Number of shards for the SOLR collection
collectionShards: 0
# solr.collectionReplicas -- Number of replicas for each SOLR shard
collectionReplicas: 0
# solr.fullnameOverride -- Name override for the SOLR deployment
fullnameOverride: *SolrName
# solr.replicaCount -- Number of SOLR instances in the cluster
replicaCount: 1
volumeClaimTemplates:
# solr.volumeClaimTemplates.storageSize -- Size of Solr PVC
storageSize: 5Gi
initialize:
# solr.initialize.enabled -- Flag whether to initialize the SOLR instance with the provided collection name
enabled: true
# To debug inside the solr-init container (this sets the entrypoint of the container to sleep infinity)
container_debug: "false"
# solr.initialize.numShards -- Number of shards for the SOLR collection
numShards: 2
# solr.initialize.replicationFactor -- Number of replicas for each SOLR shard
replicationFactor: 1
# solr.initialize.maxShardsPerNode -- Maximum shards per node
maxShardsPerNode: 10
# solr.initialize.configsetName -- Name of the config set used for initializing
configsetName: ckanConfigSet
zookeeper:
enabled: true
# solr.zookeeper.replicaCount -- Numer of Zookeeper replicas in the ZK cluster
replicaCount: 1
fullnameOverride: *ZookeeperName
persistence:
# solr.zookeeper.persistence.size -- Size of ZK PVC
size: 1Gi
global:
security:
allowInsecureImages: true
image:
registry: public.ecr.aws
repository: bitnami/zookeeper
tag: 3.9.3-debian-12-r22
digest: ""
postgresql:
# Please see all available overrides at https://github.com/bitnami/charts/tree/main/bitnami/postgresql/#installing-the-chart
# postgresql.enabled -- Flag to control whether to deploy PostgreSQL
enabled: true
persistence:
# postgresql.persistence.size -- Size of the PostgreSQL pvc
size: 1Gi
global:
security:
allowInsecureImages: true
# postgresql.fullnameOverride -- Name override for the PostgreSQL deployment
fullnameOverride: *DBDeploymentName
# @param postgresql.auth.postgresPassword Password for the "postgres" admin user (overrides `auth.postgresPassword`)
# @param postgresql.auth.username Name for a custom user to create (overrides `auth.username`)
# @param postgresql.auth.password Password for the custom user to create (overrides `auth.password`)
# @param postgresql.auth.database Name for a custom database to create (overrides `auth.database`)
# @param postgresql.auth.existingSecret Name of existing secret to use for PostgreSQL credentials (overrides `auth.existingSecret`).
# @param postgresql.auth.secretKeys.adminPasswordKey Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.adminPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set.
# @param postgresql.auth.secretKeys.userPasswordKey Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.userPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set.
# @param postgresql.auth.secretKeys.replicationPasswordKey Name of key in existing secret to use for PostgreSQL credentials (overrides `auth.secretKeys.replicationPasswordKey`). Only used when `global.postgresql.auth.existingSecret` is set.
auth:
postgresPassword: *MasterDBPass
username: *CkanDBUser
password: *CkanDBPass
database: *CkanDBName
# existingSecret: ""
# secretKeys:
# adminPasswordKey: ""
# userPasswordKey: ""
# replicationPasswordKey: ""