Skip to content

Commit 59b17c7

Browse files
committed
add graph insights as optional in k8s deployment
Signed-off-by: Thomas Telleis <[email protected]>
1 parent f86ee7f commit 59b17c7

File tree

2 files changed

+23
-3
lines changed
  • docs/deploy-and-configure

2 files changed

+23
-3
lines changed

docs/deploy-and-configure/configuration/graphinsights/index.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,29 @@ Preemptive you have to create a secret containing your license file.
3535
- "kubectl -n cmem create secret generic graphinsights-license --from-file your-graphinsights.lic
3636
```
3737

38+
All needed configuration can be done in the Corporate Memory helm chart `value.yaml` file.
3839
This enables the plugin.
3940

4041
``` yaml
4142
graphinsights:
4243
enabled: true
4344
```
4445
45-
All needed configuration can be done in the Corporate Memory helm chart `value.yaml` file.
46+
Beside enabling the extension you also have to create a route/path in your Ingress or Route.
47+
In the Charts `value.yaml` file is a configuration commented out.
48+
You should enable this in your `value.yaml` file.
49+
50+
``` yaml
51+
# GraphInsights at /graphinsights path (if enabled).
52+
- path: /graphinsights
53+
pathType: Prefix
54+
serviceName: graphinsights
55+
servicePort: 8080
56+
```
57+
58+
Also make sure you have set the clients and client credentials.
59+
See [Configure OAuth clients (helm)](../../../deploy-and-configure/configuration/graphinsights/#configure-oauth-clients-helm)
60+
4661
The configuration mentioned below is rendered with those files, but you usually don't have to touch those:
4762

4863
- `configuration-files/explore-application.yml` for Explore
@@ -241,7 +256,7 @@ For convenience, by default we use the same clients as for the rest of the appli
241256

242257
In case you want to have separate clients for production deployments, this chapter is for you.
243258

244-
#### Using separate OAuth clients for Graph Insights
259+
#### Configure OAuth clients (docker-compose)
245260

246261
In our **docker-orchestration** to enrol those other clients, please follow these steps:
247262

@@ -279,7 +294,7 @@ GRAPHINSIGHTS_OAUTH_SERVICE_CLIENT_SECRET=changeme
279294
- "GRAPHINSIGHTS_OAUTH_SERVICE_CLIENT_SECRET=${GRAPHINSIGHTS_OAUTH_SERVICE_CLIENT_SECRET}"
280295
```
281296

282-
297+
#### Configure OAuth clients (helm)
283298

284299
In **helm deployments**, once you have the clients available all you have to do is change these lines in your value.yaml
285300
accordingly:

docs/deploy-and-configure/installation/scenario-k8s-deployment/index.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,11 @@ explore:
360360
361361
```
362362

363+
#### (Optional) Graph Insights
364+
365+
Setting up Graph Insights in Kubernetes deployment done with helm is described in our
366+
[documentation](../../deploy-and-configure/configuration/graphinsights/#b-enable-in-helm-deployment).
367+
363368
### 3. Install the Corporate Memory chart
364369

365370
To pull the Corporate Memory images, you need to provide credentials for the eccenca

0 commit comments

Comments
 (0)