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
Though in this document value files for the three charts are listed we suggest to always have a look at the default value.yaml file from archive or repository. The examples shown here are very basic and should not represent a production environment. Also the CHANGELOG.md and README.md files in the archives or repositories can give some insights.
29
+
30
+
We assume a namespaces are already created. You can either deploy all three components into one namespace or into separate ones.
31
+
32
+
```console
33
+
kubectl create namespace graphdb
34
+
kubectl create namespace keycloak
35
+
kubectl create namespace cmem
36
+
```
27
37
28
38
## Installation GraphDB
29
39
30
40
To install GraphDB, we will use the Ontotext Helm chart.
41
+
You can get the source code from [github](https://github.com/Ontotext-AD/graphdb-helm/tree/main).
42
+
Also always have a look at GraphDBs [documentation page](https://graphdb.ontotext.com/documentation/).
31
43
32
-
### 1. Add the Ontotext Helm repository
44
+
Be aware, that with Version 11 of GraphDB you are required to deploy a license file, even in the Free edition.
45
+
You can [aquire one by filling a form.](https://www.ontotext.com/products/graphdb/). See also documentation [here](https://graphdb.ontotext.com/documentation/11.1/licensing.html).
33
46
34
-
First, add the Ontotext repository to Helm:
47
+
### 1. Obtain the chart
48
+
49
+
You can download their chart from [github](https://github.com/Ontotext-AD/graphdb-helm/releases) or add their repository
Assuming you have the chart in a local directory named `keycloak-chart`.
137
162
138
-
### 2. Create a namespace
139
-
140
-
We will use the `keycloak` namespace.
141
-
142
-
```console
143
-
kubectl create namespace keycloak
144
-
```
145
-
146
163
### 3. Create a `keycloak-values.yaml` file
147
164
148
165
Create a file named `keycloak-values.yaml` to configure your Keycloak deployment. At a minimum, you should configure the initial admin credentials and the ingress settings.
149
166
You can also [download the minimum file here:](files/keycloak-values.yaml) (`keycloak-values.yaml`).
167
+
150
168
```yaml
151
169
---
152
170
postgres:
@@ -184,16 +202,19 @@ Use `helm` to deploy the chart into the `keycloak` namespace.
184
202
With local extracted helm chart:
185
203
```console
186
204
helm upgrade -i keycloak ./keycloak-helm \
187
-
--namespace keycloak --create-namespace\
205
+
--namespace keycloak \
188
206
-f keycloak-values.yaml
189
207
```
190
208
191
209
Or from helm repository:
192
210
193
211
```console
194
212
helm upgrade -i keycloak eccenca/keycloak-helm \
195
-
--namespace keycloak --create-namespace\
213
+
--namespace keycloak \
196
214
-f keycloak-values.yaml
215
+
216
+
# if you use sqldump provisioning you have to restart keycloak:
Replace the placeholders with the provided registry details and credentials.
256
268
257
-
### 3b. (optional) Create cmem license secret
269
+
### 2b. (optional) Create cmem license secret
258
270
259
271
By default, Corporate Memory is subject to the eccenca free Personal, Evaluation and Development License Agreement (PEDAL), a license intended for non-commercial usage.
260
272
@@ -263,23 +275,26 @@ If you have a dedicated license file, create a secret with a `license.asc` data
263
275
```console
264
276
kubectl create secret generic cmem-license \
265
277
--from-file license.asc
266
-
-n <your-namespace>
278
+
--namespace <your-namespace>
267
279
```
268
280
269
281
Then, add the secret name to your `values.yaml` file for the key `global.license`.
270
282
271
283
For more background on license, see also: https://documentation.eccenca.com/latest/deploy-and-configure/configuration/dataplatform/application-full/
272
284
273
-
### 4. Configure your deployment
285
+
### 3. Configure your deployment
274
286
275
-
Copy the `values.sample.yaml` to a new file, for example `my-values.yaml`.
287
+
Create a file named `cmem-values.yaml` to configure your Corporate Memory deployment.
288
+
At a minimum, you should configure the
289
+
- `hostname`, under which the deployment is reachable later
290
+
- `cmemClientSecret`, if you use the postgres provisioning dump the default is fine
291
+
- `keycloakBaseUrl`and `keycloakIssuerUrl`, where keycloak and the realm can be found
292
+
- `explore.store.graphdb`-values as database connection
293
+
- `ingress`-values like host and tls.secretName, if you use certmanager.
276
294
277
-
```console
278
-
cp values.sample.yaml my-values.yaml
279
-
```
295
+
You can also [download the minimum file here:](files/cmem-values.yaml) (`cmem-values.yaml`).
280
296
281
-
Edit `my-values.yaml` and adjust the configuration to your needs.
282
-
At a minimum, you will need to configure the hostname, and connection details for your Ingress or Route, Keycloak and GraphDB.
297
+
Edit `cmem-values.yaml` and adjust the configuration to your needs.
0 commit comments