Skip to content

Commit 9e6a870

Browse files
Updating config schema.
1 parent c25519f commit 9e6a870

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

config_schema.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"fields": [
3+
{
4+
"name": "instance-url",
5+
"description": "The GitHub instance URL to connect to. (default \"https://github.com\")",
6+
"stringField": {}
7+
},
8+
{
9+
"name": "log-level",
10+
"description": "The log level: debug, info, warn, error",
11+
"isOps": true,
12+
"stringField": {
13+
"defaultValue": "info"
14+
}
15+
},
16+
{
17+
"name": "orgs",
18+
"description": "Limit syncing to specific organizations.",
19+
"stringSliceField": {}
20+
},
21+
{
22+
"name": "otel-collector-endpoint",
23+
"description": "The endpoint of the OpenTelemetry collector to send observability data to (used for both tracing and logging if specific endpoints are not provided)",
24+
"isOps": true,
25+
"stringField": {}
26+
},
27+
{
28+
"name": "otel-collector-endpoint-tls-cert",
29+
"description": "A PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
30+
"isOps": true,
31+
"stringField": {}
32+
},
33+
{
34+
"name": "otel-collector-endpoint-tls-cert-path",
35+
"description": "Path to a file containing a PEM-encoded certificate to use as a CA for TLS connections to the OpenTelemetry collector",
36+
"isOps": true,
37+
"stringField": {}
38+
},
39+
{
40+
"name": "otel-collector-endpoint-tls-insecure",
41+
"description": "Allow insecure connections to the OpenTelemetry collector",
42+
"isOps": true,
43+
"boolField": {}
44+
},
45+
{
46+
"name": "otel-logging-disabled",
47+
"description": "Disable OpenTelemetry logging",
48+
"isOps": true,
49+
"boolField": {}
50+
},
51+
{
52+
"name": "otel-tracing-disabled",
53+
"description": "Disable OpenTelemetry tracing",
54+
"isOps": true,
55+
"boolField": {}
56+
},
57+
{
58+
"name": "sync-secrets",
59+
"description": "Whether to sync secrets or not",
60+
"boolField": {}
61+
},
62+
{
63+
"name": "token",
64+
"description": "The GitHub access token used to connect to the GitHub API.",
65+
"isRequired": true,
66+
"stringField": {
67+
"rules": {
68+
"isRequired": true
69+
}
70+
}
71+
}
72+
]
73+
}

0 commit comments

Comments
 (0)