Skip to content

Commit 15f1c0c

Browse files
author
eliranb
committed
add example to values.yaml
1 parent af3a0d7 commit 15f1c0c

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed

charts/lightrun-agents/values.yaml

+95
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,98 @@
22
# This is a YAML-formatted file.
33
# Declare variables to be passed into your templates.
44
javaAgents: []
5+
## Examples
6+
### Basic
7+
#- The `my-service-1` does not use an `existingSecret` and instead the `agentPoolCredentials.apiKey` and `agentPoolCredentials.pinnedCertHash` are provided directly.
8+
9+
#- The `my-service-2` uses an `existingSecret` named `my-existing-secret`
10+
11+
#javaAgents:
12+
# - name: 'my-service-1'
13+
# namespace: 'my-namespace-1'
14+
# deploymentName: "my-deployment-1"
15+
# containerSelector:
16+
# - my-container-1
17+
# serverHostname: 'lightrun.example.com'
18+
# initContainer:
19+
# image: "lightruncom/k8s-operator-init-java-agent-linux:latest"
20+
# agentPoolCredentials:
21+
# existingSecret: ""
22+
# apiKey: "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
23+
# pinnedCertHash: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
24+
# agentTags:
25+
# - env-production
26+
# - service-my-server
27+
# - region-us_east_1
28+
# - provider-aws
29+
# - name: 'my-service-2'
30+
# namespace: 'my-namespace-2'
31+
# initContainer:
32+
# image: "lightruncom/k8s-operator-init-java-agent-linux:latest"
33+
# deploymentName: "my-deployment-2"
34+
# containerSelector:
35+
# - my-container-2
36+
# serverHostname: 'lightrun.example.com'
37+
# agentPoolCredentials:
38+
# existingSecret: "my-existing-secret"
39+
# apiKey: ""
40+
# pinnedCertHash: ""
41+
# agentTags:
42+
# - env-production
43+
# - service-my-other-server
44+
# - region-us_east_1
45+
# - provider-aws
46+
47+
### Full
48+
49+
# - The `my-service-1` does not use an `existingSecret` and instead the `agentPoolCredentials.apiKey` and `agentPoolCredentials.pinnedCertHash` are provided directly.
50+
51+
# - The `my-service-2` uses an `existingSecret` named `my-existing-secret`
52+
53+
#javaAgents:
54+
# - name: 'my-service-1'
55+
# namespace: 'my-namespace-1'
56+
# deploymentName: "my-deployment-1"
57+
# containerSelector:
58+
# - my-container-1
59+
# serverHostname: 'lightrun.example.com'
60+
# agentEnvVarName: '_JAVA_OPTIONS'
61+
# agentConfig:
62+
# max_log_cpu_cost: "2"
63+
# agentCliFlags: "--lightrun_extra_class_path=<PATH_TO_JAR>:<PATH_TO_JAR>,lightrun_init_wait_time_ms"
64+
# initContainer:
65+
# image: "lightruncom/k8s-operator-init-java-agent-linux:latest"
66+
# sharedVolumeName: 'my-shared-volume'
67+
# sharedVolumeMountPath: '/mypath'
68+
# agentPoolCredentials:
69+
# existingSecret: ""
70+
# apiKey: "xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
71+
# pinnedCertHash: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
72+
# agentTags:
73+
# - env-production
74+
# - service-my-server
75+
# - region-us_east_1
76+
# - provider-aws
77+
# - name: 'my-service-2'
78+
# namespace: 'my-namespace-2'
79+
# initContainer:
80+
# image: "lightruncom/k8s-operator-init-java-agent-linux:latest"
81+
# sharedVolumeName: 'my-shared-volume'
82+
# sharedVolumeMountPath: '/mypath'
83+
# deploymentName: "my-deployment-2"
84+
# containerSelector:
85+
# - my-container-2
86+
# serverHostname: 'lightrun.example.com'
87+
# agentEnvVarName: 'JAVA_OPTS'
88+
# agentConfig:
89+
# max_log_cpu_cost: "2"
90+
# agentCliFlags: "--lightrun_extra_class_path=<PATH_TO_JAR>:<PATH_TO_JAR>,lightrun_init_wait_time_ms"
91+
# agentPoolCredentials:
92+
# existingSecret: "my-existing-secret"
93+
# apiKey: ""
94+
# pinnedCertHash: ""
95+
# agentTags:
96+
# - env-production
97+
# - service-my-other-server
98+
# - region-us_east_1
99+
# - provider-aws

0 commit comments

Comments
 (0)