You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| globus.frontend | object |`{"clientID":null}`| Client ID for a globus thick client, the redirect will need to be the url of the frontend e.g. https://metagrid.io/metagrid|
45
+
| globus.backend | object |`{"clientID":null,"clientSecret":null}`| Client ID/Secret for globus portal, the redirect will need to be the url of the backend e.g. https://metagrid.io/metagrid-backend/complete/globus/|
| baseUrl | string |`nil`| Base url for use when using an external TLS termination e.g. https://metagrid.io|
55
57
| projects | string |`nil`| Customize projects loaded during the initial migration, this is the value stored in [initial_projects_data.py](https://github.com/aims-group/metagrid/blob/master/backend/metagrid/initial_projects_data.py)|
56
58
| imagePullSecrets | list |`[]`| List of secrets used to pull images from private registries |
57
-
| django.replicaCount | int |`1`| Number of replicas |
| django.preemptionPolicy | string |`nil`| Pod [preemption](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#preemption) policy |
76
-
| django.priority | string |`nil`| Pod scheduling [priority](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority)|
77
-
| django.priorityClassName | string |`nil`| Pod scheduling [priority](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass) class name |
78
-
| django.podSecurityContext | object |`{}`| Pod [security](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) context |
79
-
| django.tolerations | list |`[]`| Pod [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration)|
80
-
| django.autoscaling | object |`{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}`| Horizontal pod autoscaling configuration |
81
-
| django.service | object |`{"port":5000,"type":"ClusterIP"}`| Django service |
82
-
| django.service.type | string |`"ClusterIP"`| Service type |
83
-
| django.service.port | int |`5000`| Service port |
| django.preemptionPolicy | string |`nil`| Pod [preemption](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#preemption) policy |
114
+
| django.priority | string |`nil`| Pod scheduling [priority](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority)|
115
+
| django.priorityClassName | string |`nil`| Pod scheduling [priority](https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#priorityclass) class name |
116
+
| django.podSecurityContext | object |`{}`| Pod [security](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-pod) context |
117
+
| django.tolerations | list |`[]`| Pod [tolerations](https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration)|
118
+
| django.autoscaling | object |`{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80}`| Horizontal pod autoscaling configuration |
119
+
| django.service | object |`{"port":5000,"type":"ClusterIP"}`| Django service |
120
+
| django.service.type | string |`"ClusterIP"`| Service type |
121
+
| django.service.port | int |`5000`| Service port |
@@ -152,14 +167,21 @@ kubectl exec -it $(kubectl get pod -oname -l app.kubernetes.io/component=django)
152
167
kubectl exec -it $(kubectl get pod -oname -l app.kubernetes.io/component=django) -- python manage.py migrate projects
153
168
```
154
169
155
-
### External TLS termination
156
-
The `nodeStatus` and `metagridAPIUrl` values by default are automatically generated. If using an upstream reverse-proxy that handles TLS, then these urls will be incorrect and cause
157
-
the application to not work correctly.
170
+
### Create initial admin
171
+
To create an initial backend user, enable the following and fill out the details.
158
172
159
-
To fix this both `nodeStatus` and `metagridAPIUrl` need to be overwritten, see the following example.
173
+
```
174
+
django:
175
+
admin:
176
+
create: true
177
+
username: <username>
178
+
password: <password>
179
+
email: <email>
180
+
```
181
+
182
+
### External TLS termination
183
+
When using external TLS termination e.g. Traefik, Nginx, etc, the chart will need to be configured with the external url.
Copy file name to clipboardExpand all lines: chart/README.md.gotmpl
+14-7Lines changed: 14 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -59,14 +59,21 @@ kubectl exec -it $(kubectl get pod -oname -l app.kubernetes.io/component=django)
59
59
kubectl exec -it $(kubectl get pod -oname -l app.kubernetes.io/component=django) -- python manage.py migrate projects
60
60
```
61
61
62
-
### External TLS termination
63
-
The `nodeStatus` and `metagridAPIUrl` values by default are automatically generated. If using an upstream reverse-proxy that handles TLS, then these urls will be incorrect and cause
64
-
the application to not work correctly.
62
+
### Create initial admin
63
+
To create an initial backend user, enable the following and fill out the details.
65
64
66
-
To fix this both `nodeStatus` and `metagridAPIUrl` need to be overwritten, see the following example.
65
+
```
66
+
django:
67
+
admin:
68
+
create: true
69
+
username: <username>
70
+
password: <password>
71
+
email: <email>
72
+
```
73
+
74
+
### External TLS termination
75
+
When using external TLS termination e.g. Traefik, Nginx, etc, the chart will need to be configured with the external url.
0 commit comments