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
Add System Configuration feature
Introduce system configuration support for advanced Lightrun server settings.
The feature allows providing a signed JSON config file through ConfigMap.
Documentation available at docs/advanced/system_config.md
Copy file name to clipboardExpand all lines: README.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,50 +39,57 @@ To ensure a smooth and secure production deployment of Lightrun, follow these ke
39
39
40
40
- Decide whether to use Helm-managed secrets or an external secrets manager.
41
41
[More info on Secrets Management](docs/installation/secrets.md)
42
-
#### **4. Lightrun Certificate**
42
+
43
+
#### **4. System Configuration**
44
+
45
+
- Obtain the system configuration file and signature from Lightrun.
46
+
[More info on System Configuration](docs/advanced/system_config.md)
47
+
48
+
#### **5. Lightrun Certificate**
43
49
44
50
- Plan how Lightrun certificate will be issued and managed for secure communications.
45
51
[More info on Certificate](docs/installation/certificate.md)
46
-
#### **5. Database**
52
+
53
+
#### **6. Database**
47
54
48
55
> [!TIP]
49
56
> Use external managed database
50
57
51
58
- Choose between a local or external database.
52
59
[More info on Database Setup](docs/components/database.md)
53
60
54
-
#### **6. Router**
61
+
#### **7. Router**
55
62
56
63
- Decide how external traffic will reach the Lightrun router (Ingress, Service, OpenShift Route).
57
64
[More info on Router](docs/components/router/index.md)
58
65
59
-
#### **7. Container Images Registry**
66
+
#### **8. Container Images Registry**
60
67
61
68
- Choose where to store and manage container images (e.g., private registry, Docker Hub, Azure Container Registry, AWS ECR).
62
69
[More info on Container Image Registry](docs/installation/container_image_registry.md)
63
70
64
-
#### **8. Redis**
71
+
#### **9. Redis**
65
72
> [!TIP]
66
73
> Use external managed redis
67
74
- Determine if Redis will be local or external.
68
75
[More info on Redis Setup](docs/components/redis.md)
69
76
70
-
#### **9. (Optional)RabbitMQ**
77
+
#### **10. (Optional)RabbitMQ**
71
78
72
79
- Determine if RabbitMQ is needed for sending telemetry to Lightrun.
73
80
[More info on RabbitMQ](docs/components/rabbitmq.md)
74
81
75
-
#### **10. (Optional)Network Policy**
82
+
#### **11. (Optional)Network Policy**
76
83
77
84
- Establish network policies to restrict access between services and prevent unauthorized communication.
78
85
[More info on Network Policy](docs/advanced/network_policy.md)
79
86
80
-
#### **11. (Optional)Internal TLS Communication**
87
+
#### **12. (Optional)Internal TLS Communication**
81
88
82
89
- Decide whether internal TLS is necessary for secure component communication.
83
90
[More info on Internal TLS](docs/advanced/internal_tls.md)
84
91
85
-
#### **12. Choose Your Deployment Option**
92
+
#### **13. Choose Your Deployment Option**
86
93
87
94
Decide where to run your Kubernetes cluster based on your infrastructure needs. Consider whether you'll deploy all services locally (including RabbitMQ, Redis, and MySQL) or use managed cloud services.
This document describes how to configure and use the System Configuration feature in the Lightrun platform. The system configuration file allows administrators to adjust settings that control the behavior of the Lightrun server.
4
+
5
+
## Overview
6
+
7
+
The System Configuration is a JSON file that contains various settings that modify the behavior of the Lightrun server. This configuration is provided via a ConfigMap and mounted into the backend container. The file is digitally signed to ensure authenticity and prevent unauthorized modifications.
8
+
9
+
## Configuration Options
10
+
11
+
To use the System Configuration feature, you need to provide:
12
+
13
+
1.**Content**: The base64-encoded JSON configuration content (provided by Lightrun)
14
+
2.**Signature**: A base64-encoded signature of the JSON content (provided by Lightrun)
15
+
3.**File Path**: The location where the configuration file will be mounted in the container (default: `/opt/lightrun/system_config.json`)
16
+
17
+
### Values.yaml Configuration
18
+
19
+
Add the following configuration to your `values.yaml` file or override the values when installing/upgrading the Helm chart:
20
+
21
+
```yaml
22
+
general:
23
+
system_config:
24
+
# Path to the system config file
25
+
file_path: "/opt/lightrun/system_config.json"
26
+
# Content of the system config file, base64 encoded
0 commit comments