-
Notifications
You must be signed in to change notification settings - Fork 10
/
aws-values.yaml
103 lines (81 loc) · 3.39 KB
/
aws-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
# Example values for a production deployment on AWS
### cca-operator values ###
# These values are used by cca-operator (e.g. by the create / update instance commands)
# Domain for the load balancer
domain: cloud-demo5.ckan.io
# automatic SSL using Let's encrypt for subdomains of ckan.io
withSansSSL: true
# if set, create-instance script will register this subdomain under ckan.io
registerSubdomain: "cloud-demo5"
ckanAdminEmail: "admin@cloud-demo5"
# ckanHelmChartRepo: https://raw.githubusercontent.com/ViderumGlobal/ckan-cloud-helm/master/charts_repository
# ckanHelmChartVersion: ""
### CKAN Helm chart values ###
# These values are used to populate the CKAN Helm chart values
# Main URL to the CKAN web-app and API
siteUrl: http://nginx:8080
# CKAN pods
replicas: 2
terminationGracePeriodSeconds: 30
ckanGunicornWorkers: 2
ckanResources: '{"requests": {"cpu": "400m", "memory": "1200Mi"}, "limits": {"memory": "2Gi"}}'
# CKAN config
ckanPlugins: "stats text_view image_view recline_view datastore xloader"
siteTitle: "CKAN Cloud Demo"
siteLogo: "/base/images/ckan-logo.png"
siteDescription: "Staging environment"
favIcon: /base/images/ckan.ico
displayTimezone: Etc/UTC
# CKAN auth
authAnon_create_dataset: "false"
authCreate_unowned_dataset: "false"
authCreate_dataset_if_not_in_organization: "true"
authUser_create_groups: "false"
authUser_create_organizations: "false"
authUser_delete_groups: "false"
authUser_delete_organizations: "false"
authCreate_user_via_api: "false"
authCreate_user_via_web: "true"
authRoles_that_cascade_to_sub_groups: "admin"
# optional extra CKAN configurations - appended to the production.ini file
# extraCkanConfig: |
# ckanext.foo = bar
# DataStore
datastoreDbTerminationGracePeriodSeconds: 30
datastoreDbResources: '{"requests": {"cpu": "100m", "memory": "300Mi"}, "limits": {"memory": "600Mi"}}'
# DB
dbTerminationGracePeriodSeconds: 30
dbResources: '{"requests": {"cpu": "100m", "memory": "300Mi"}, "limits": {"memory": "600Mi"}}'
# CKAN jobs
ckanJobsDbTerminationGracePeriodSeconds: 30
ckanJobsDbResources: '{"requests": {"cpu": "20m", "memory": "50Mi"}, "limits": {"memory": "200Mi"}}'
ckanJobsTerminationGracePeriodSeconds: 30
ckanJobsResources: '{"requests": {"cpu": "150m", "memory": "600Mi"}, "limits": {"memory": "1500Mi"}}'
# Nginx
nginxReplicas: 2
nginxResources: '{"requests": {"cpu": "60m", "memory": "300Mi"}, "limits": {"memory": "800Mi"}}'
# Redis
redisResources: '{"requests": {"cpu": "15m", "memory": "100Mi"}, "limits": {"memory": "300Mi"}}'
# SOLR
solrResources: '{"requests": {"cpu": "60m", "memory": "600Mi"}, "limits": {"memory": "1Gi"}}'
# Persistent storage
usePersistentVolumes: true
storageClassName: cca-storage
ckanStorageClassName: cca-ckan
dbPersistentDiskSizeGB: 20
dataStoreDbPersistentDiskSizeGB: 20
jobsDbPersistentDiskSizeGB: 5
solrPersistentDiskSizeGB: 10
# Secrets
# these secrets are created by cca-operator, if you need to recreate the secrets, change the secret name
# ckanSecretName: ckan-secrets
# envVarsSecretName: ckan-env-vars
# uncomment to use latest unstable version, or modify to use custom images
# ckanOperatorImage: viderum/ckan-cloud-docker:cca-operator-latest
# ckanImage: viderum/ckan-cloud-docker:ckan-latest
# dbImage: viderum/ckan-cloud-docker:db-latest
# solrImage: viderum/ckan-cloud-docker:solr-latest
# nginxImage: viderum/ckan-cloud-docker:nginx-latest
# centralized infrastructure
useCentralizedInfra: true
centralizedSecretName: ckan-infra