-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathvalues.yaml
More file actions
187 lines (177 loc) · 6.05 KB
/
values.yaml
File metadata and controls
187 lines (177 loc) · 6.05 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
# Default values for aplus.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
global:
timezone: "Europe/Helsinki"
aplus:
# replicaCount is the number of replicas of A+ to deploy
replicaCount: 1
# hostname is the application hostname that ingresses etc will be created for
hostname: "aplus.local"
# image is the docker image to use for A+ deployment
image: "apluslms/aplus:v1.20.1-00"
# resources defines the cpu and memory requests and limits for the A+ pod
resources: {}
# adminIPs are a list of IP address CIDRs from which the application can be accessed even during maintenance
adminIPs: []
# maintenance determines if the application should be in maintenance mode
maintenance: false
# maintenanceText is the text shown to users who try to access the site during maintenance
maintenanceText: "A+ is currently under maintenance."
# extraHostnames creates more ingress host entries for DNS alt names
extraHostnames: []
# loginApps determines which authentication applications should be enabled in addition to local auth
loginApps: []
tls:
# tls: enabled determines if A+ uses https or not
enabled: false
# clusterIssuer: myClusterIssuer
# key: |-
# -----BEGIN RSA PRIVATE KEY-----
# ...
# certificate: |-
# -----BEGIN CERTIFICATE-----
# ...
# env supplies the A+ container with extra environment variables
env: {}
# djangoSettings is a key-value mapping for defining settings for Django's local_settings.py file
djangoSettings:
TIME_ZONE: "Europe/Helsinki"
ingress:
# ingress.annotations defines extra annotations for A+ ingress
annotations: {}
# enableCelery determines whether a celery pod should be created for handling tasks like automated resubmission of failed submissions
enableCelery: true
# allowedIPs is a list of IP address CIDRs from which A+ can be accessed
allowedIPs:
- "0.0.0.0/0"
# djangoAdminIPs controls which IPs the django admin url can be accessed from. Should be set to same or stricter than allowedIPs.
djangoAdminIPs:
- "0.0.0.0/32"
grader:
# replicaCount is the number of replicas of mooc-grader to deploy
replicaCount: 1
# hostname is the application hostname that ingresses etc will be created for
hostname: "grader.local"
# extraHostnames creates more ingress host entries for DNS alt names
extraHostnames: []
# image is the docker image to use for mooc-grader deployment
image: "apluslms/grader:v1.20.0-00"
# resources defines the cpu and memory requests and limits for the mooc-grader pod
resources: {}
tls:
# tls: enabled determines if mooc-grader uses https or not
enabled: false
# clusterIssuer: myClusterIssuer
# key: |-
# -----BEGIN RSA PRIVATE KEY-----
# ...
# certificate: |-
# -----BEGIN CERTIFICATE-----
# ...
ingress:
# ingress.annotations defines extra annotations for mooc-grader ingress
annotations: {}
# allowedIPs is a list of IP address CIDRs from which mooc-grader can be accessed
allowedIPs:
- "0.0.0.0/0"
# djangoSettings is a key-value mapping for defining settings for Django's local_settings.py file
djangoSettings:
TIME_ZONE: "Europe/Helsinki"
# env supplies the mooc-grader container with extra environment variables
env:
K8S_LABEL_KEY: 'aplus-app' # Used for pod labels / taints / tolerations
gitmanager:
# replicaCount is the number of replicas of gitmanager to deploy
replicaCount: 1
# hostname is the application hostname that ingresses etc will be created for
hostname: "gitmanager.local"
# image is the docker image to use for gitmanager deployment
image: "apluslms/gitmanager:v1.20.1-00"
# resources defines the cpu and memory requests and limits for the gitmanager and Huey containers. Note that both containers get this, so the pod's total resource requests/limits are 2x this.
resources: {}
# extraHostnames creates more ingress host entries for DNS alt names
extraHostnames: []
tls:
# tls: enabled determines if mooc-grader uses https or not
enabled: false
# clusterIssuer: myClusterIssuer
env: {}
djangoSettings:
TIME_ZONE: "Europe/Helsinki"
sshKeys: {}
ingress:
annotations: {}
allowedIPs:
- "0.0.0.0/0"
shibboleth:
enabled: false
# key: |-
# -----BEGIN RSA PRIVATE KEY-----
# ...
# -----END RSA PRIVATE KEY-----
# certificate: |-
# -----BEGIN CERTIFICATE-----
# ...
# -----END CERTIFICATE-----
pvcs:
aplusDb:
storageClassName: "default"
aplusMedia:
storageClassName: "default"
graderCourses:
storageClassName: "default"
graderExercisesMeta:
storageClassName: "default"
graderSubmissions:
storageClassName: "default"
graderStatic:
storageClassName: "default"
gitmanager:
storageClassName: "default"
gitmanagerBuild:
storageClassName: "default"
gitmanagerCourses:
storageClassName: "default"
# Alternative way of defining pvcs to use
# pvcs:
# aplusDb:
# labels:
# myLabelKey: myLabelValue
# myLabelKey2: myLabelValue2
# ...
# installDatabase determines if the chart install includes a database deployment
installDatabase: true
# dbHost is the host name of the DB as seen from the A+ pods
dbHost: "aplus-db"
# dbName is the name of the database on the DB server
dbName: "aplus"
# dbUser is the username of the database user
dbUser: "aplus"
dbSslMode: "disable"
# dbPassword is the database password - if unset, a random alphanum pw is generated on chart installation
# dbPassword: ""
# secretKey is the Django cryptographic algorithm key, SECRET_KEY in settings - if unset, a random alphanum key is generated on chart installation
# secretKey: ""
instrumentation:
enabled: false
# opentelemetryCollectorEndpoint: "http://opentelemetry-collector.monitoring.svc:4318"
# opentelemetryServiceNames:
# aplus: "A+"
# grader: "MOOC-grader"
# gitmanager: "Gitmanager"
memcached:
image:
repository: memcached
tag: 1.6.40
command: []
args:
- -m 2048
- -I 10m
resources:
limits:
memory: 2048Mi
cpu: 250m
requests:
memory: 2048Mi
cpu: 250m