Skip to content

Commit 596f169

Browse files
committed
jsonnet/kube-prometheus/components/specs: introduce CRD specs
1 parent 33bc6c1 commit 596f169

File tree

2 files changed

+140
-0
lines changed

2 files changed

+140
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
// Not required fields are hidden
3+
// Deprecated fields are commented out as we don't want to popularize them
4+
// Types mapping:
5+
// Object (or pointer to Object) -> {}
6+
// List (or pointer to List) -> []
7+
// String (or pointer to String) -> ""
8+
// Everything else -> null
9+
//
10+
// This file can be converted to YAML with jsonnet 0.18.0
11+
additionalPeers:: [],
12+
affinity:: {},
13+
alertmanagerConfigNamespaceSelector:: {},
14+
alertmanagerConfigSelector:: {},
15+
baseImage:: "", // Deprecated, remove
16+
clusterAdvertiseAddress:: "",
17+
clusterGossipInterval:: "",
18+
clusterPeerTimeout:: "",
19+
clusterPushpullInterval:: "",
20+
configMaps:: [],
21+
configSecret:: "",
22+
containers:: [],
23+
externalUrl:: "",
24+
forceEnableClusterMode:: null,
25+
image:: "",
26+
imagePullSecrets:: [],
27+
initContainers:: [],
28+
listenLocal:: null,
29+
logFormat:: "",
30+
logLevel:: "",
31+
minReadySeconds:: null,
32+
nodeSelector:: {},
33+
paused:: null,
34+
podMetadata:: {},
35+
portName:: "",
36+
priorityClassName:: "",
37+
replicas:: null,
38+
resources:: {},
39+
retention:: "",
40+
routePrefix:: "",
41+
secrets:: [],
42+
securityContext:: {},
43+
serviceAccountName:: "",
44+
sha:: "", // Deprecated, remove
45+
storage:: {},
46+
tag:: "", // Deprecated, remove
47+
tolerations:: [],
48+
topologySpreadConstraints:: [],
49+
version:: "",
50+
volumeMounts:: [],
51+
volumes:: [],
52+
}
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
{
2+
// Not required fields are hidden
3+
// Deprecated fields are commented out as we don't want to popularize them
4+
// Types mapping:
5+
// Object (or pointer to Object) -> {}
6+
// List (or pointer to List) -> []
7+
// String (or pointer to String) -> ""
8+
// Everything else -> null
9+
//
10+
// This file can be converted to YAML with jsonnet 0.18.0
11+
additionalAlertManagerConfigs:: {},
12+
additionalAlertRelabelConfigs:: {},
13+
additionalScrapeConfigs:: {},
14+
affinity:: {},
15+
alerting:: {},
16+
allowOverlappingBlocks:: null,
17+
apiserverConfig:: {},
18+
arbitraryFSAccessThroughSMs:: {},
19+
baseImage:: "", // Deprecated, remove
20+
configMaps:: [],
21+
containers:: [],
22+
disableCompaction:: null,
23+
enableAdminAPI:: null,
24+
enableFeatures:: [],
25+
enforcedBodySizeLimit:: "",
26+
enforcedLabelLimit:: null,
27+
enforcedLabelNameLengthLimit:: null,
28+
enforcedLabelValueLengthLimit:: null,
29+
enforcedNamespaceLabel:: "",
30+
enforcedSampleLimit:: null,
31+
enforcedTargetLimit:: null,
32+
evaluationInterval:: "",
33+
externalLabels:: {},
34+
externalUrl:: "",
35+
ignoreNamespaceSelectors:: null,
36+
image:: "",
37+
imagePullSecrets:: [],
38+
initContainers:: [],
39+
listenLocal:: null,
40+
logFormat:: "",
41+
logLevel:: "",
42+
minReadySeconds:: null,
43+
nodeSelector:: {},
44+
overrideHonorLabels:: null,
45+
overrideHonorTimestamps:: null,
46+
paused:: null,
47+
podMetadata:: {},
48+
podMonitorNamespaceSelector:: {},
49+
podMonitorSelector:: {},
50+
portName:: "",
51+
priorityClassName:: "",
52+
probeNamespaceSelector:: {},
53+
probeSelector:: {},
54+
prometheusExternalLabelName:: "",
55+
prometheusRulesExcludedFromEnforce:: {},
56+
query:: {},
57+
queryLogFile:: "",
58+
remoteRead:: {},
59+
remoteWrite:: {},
60+
replicaExternalLabelName:: "",
61+
replicas:: null,
62+
resources:: {},
63+
retention:: "",
64+
retentionSize:: "",
65+
routePrefix:: "",
66+
ruleNamespaceSelector:: {},
67+
ruleSelector:: {},
68+
rules:: {},
69+
scrapeInterval:: "",
70+
scrapeTimeout:: "",
71+
secrets:: [],
72+
securityContext:: {},
73+
serviceAccountName:: "",
74+
serviceMonitorNamespaceSelector:: {},
75+
serviceMonitorSelector:: {},
76+
sha:: "", // Deprecated, remove
77+
shards:: null,
78+
storage:: {},
79+
tag:: "", // Deprecated, remove
80+
thanos:: {},
81+
tolerations:: [],
82+
topologySpreadConstraints:: [],
83+
version:: "",
84+
volumeMounts:: [],
85+
volumes:: [],
86+
walCompression:: null,
87+
web:: {},
88+
}

0 commit comments

Comments
 (0)