Skip to content

Commit 6bbe36d

Browse files
authored
fix(ksm): remove whitespaces in cm (#213)
removed whitespaces in kube-state-metrics configmap, because a lot of new lines where created which made the configmap almost unreadable
1 parent c7c6046 commit 6bbe36d

File tree

1 file changed

+9
-38
lines changed

1 file changed

+9
-38
lines changed

config/kube-state-metrics/configmap.yaml

+9-38
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ data:
1313
resources:
1414
##################
1515
# ENTERPRISE #
16-
#################
16+
##################
1717
- groupVersionKind:
1818
group: garm-operator.mercedes-benz.com
1919
kind: "Enterprise"
@@ -33,7 +33,6 @@ data:
3333
- metadata
3434
- creationTimestamp
3535
type: Gauge
36-
3736
- name: enterprise_info
3837
help: Information about an enterprise.
3938
each:
@@ -44,7 +43,6 @@ data:
4443
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
4544
webhookSecretRefName: [ spec, webhookSecretRef, name ]
4645
id: [ status, id ]
47-
4846
- name: enterprise_annotation_paused_info
4947
help: Whether the enterprise reconciliation is paused.
5048
each:
@@ -56,7 +54,6 @@ data:
5654
- garm-operator.mercedes-benz.com/paused
5755
labelsFromPath:
5856
paused_value: []
59-
6057
- name: enterprise_status_conditions
6158
help: Displays whether status of each possible condition is True or False.
6259
each:
@@ -70,9 +67,8 @@ data:
7067
labelFromKey: reason
7168
labelsFromPath:
7269
type: [ type ]
73-
74-
##################
75-
# Org #
70+
#################
71+
# Org #
7672
#################
7773
- groupVersionKind:
7874
group: garm-operator.mercedes-benz.com
@@ -93,7 +89,6 @@ data:
9389
- metadata
9490
- creationTimestamp
9591
type: Gauge
96-
9792
- name: org_info
9893
help: Information about an organization.
9994
each:
@@ -104,7 +99,6 @@ data:
10499
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
105100
webhookSecretRefName: [ spec, webhookSecretRef, name ]
106101
id: [ status, id ]
107-
108102
- name: org_annotation_paused_info
109103
help: Whether the org reconciliation is paused.
110104
each:
@@ -116,7 +110,6 @@ data:
116110
- garm-operator.mercedes-benz.com/paused
117111
labelsFromPath:
118112
paused_value: [ ]
119-
120113
- name: org_status_conditions
121114
help: Displays whether status of each possible condition is True or False.
122115
each:
@@ -130,10 +123,9 @@ data:
130123
labelFromKey: reason
131124
labelsFromPath:
132125
type: [ type ]
133-
134126
##################
135-
# Repo #
136-
#################
127+
# Repo #
128+
##################
137129
- groupVersionKind:
138130
group: garm-operator.mercedes-benz.com
139131
kind: "Repository"
@@ -153,7 +145,6 @@ data:
153145
- metadata
154146
- creationTimestamp
155147
type: Gauge
156-
157148
- name: repo_info
158149
help: Information about a repository.
159150
each:
@@ -165,7 +156,6 @@ data:
165156
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
166157
webhookSecretRefName: [ spec, webhookSecretRef, name ]
167158
id: [ status, id ]
168-
169159
- name: repo_annotation_paused_info
170160
help: Whether the repo reconciliation is paused.
171161
each:
@@ -177,7 +167,6 @@ data:
177167
- garm-operator.mercedes-benz.com/paused
178168
labelsFromPath:
179169
paused_value: [ ]
180-
181170
- name: repo_status_conditions
182171
help: Displays whether status of each possible condition is True or False.
183172
each:
@@ -191,8 +180,7 @@ data:
191180
labelFromKey: reason
192181
labelsFromPath:
193182
type: [ type ]
194-
195-
##################
183+
#################
196184
# Pool #
197185
#################
198186
- groupVersionKind:
@@ -214,7 +202,6 @@ data:
214202
- metadata
215203
- creationTimestamp
216204
type: Gauge
217-
218205
- name: pool_info
219206
help: Information about a pool.
220207
each:
@@ -232,7 +219,6 @@ data:
232219
runnerPrefix: [spec, runnerPrefix]
233220
tags: [spec, tags]
234221
id: [status, id]
235-
236222
- name: pool_enabled
237223
help: Whether the pool is enabled.
238224
each:
@@ -242,7 +228,6 @@ data:
242228
path:
243229
- spec
244230
- enabled
245-
246231
- name: pool_min_idle_runners
247232
help: Minimum number of idle runners.
248233
each:
@@ -251,7 +236,6 @@ data:
251236
path:
252237
- spec
253238
- minIdleRunners
254-
255239
- name: pool_max_runners
256240
help: Maximum number of runners.
257241
each:
@@ -260,7 +244,6 @@ data:
260244
path:
261245
- spec
262246
- maxRunners
263-
264247
- name: status_long_running_idle_runners
265248
help: Number of long running idle runners.
266249
each:
@@ -269,7 +252,6 @@ data:
269252
path:
270253
- status
271254
- longRunningIdleRunners
272-
273255
- name: pool_annotation_paused_info
274256
help: Whether the pool reconciliation is paused.
275257
each:
@@ -281,7 +263,6 @@ data:
281263
- garm-operator.mercedes-benz.com/paused
282264
labelsFromPath:
283265
paused_value: [ ]
284-
285266
- name: pool_status_conditions
286267
help: Displays whether status of each possible condition is True or False.
287268
each:
@@ -295,10 +276,9 @@ data:
295276
labelFromKey: reason
296277
labelsFromPath:
297278
type: [ type ]
298-
299279
##################
300280
# Image #
301-
#################
281+
##################
302282
- groupVersionKind:
303283
group: garm-operator.mercedes-benz.com
304284
kind: "Image"
@@ -318,15 +298,13 @@ data:
318298
- metadata
319299
- creationTimestamp
320300
type: Gauge
321-
322301
- name: image_info
323302
help: Information about an image.
324303
each:
325304
type: Info
326305
info:
327306
labelsFromPath:
328307
tag: [spec, tag]
329-
330308
############################
331309
# GarmServerConfig #
332310
############################
@@ -349,7 +327,6 @@ data:
349327
- metadata
350328
- creationTimestamp
351329
type: Gauge
352-
353330
- name: garmserverconfig_info
354331
help: Information about a garm server config.
355332
each:
@@ -362,10 +339,9 @@ data:
362339
controllerId: [status, controllerId]
363340
minimumJobAgeBackoff: [status, minimumJobAgeBackoff]
364341
version: [status, version]
365-
366-
############################
342+
##########################
367343
# GitHubEndpoint #
368-
############################
344+
##########################
369345
- groupVersionKind:
370346
group: garm-operator.mercedes-benz.com
371347
kind: "GitHubEndpoint"
@@ -385,7 +361,6 @@ data:
385361
- metadata
386362
- creationTimestamp
387363
type: Gauge
388-
389364
- name: githubendpoint_info
390365
help: Information about a githubendpoint config.
391366
each:
@@ -395,7 +370,6 @@ data:
395370
apiBaseUrl: [spec, apiBaseUrl]
396371
baseUrl: [spec, baseUrl]
397372
uploadBaseUrl: [spec, uploadBaseUrl]
398-
399373
- name: githubendpoint_status_conditions
400374
help: Displays whether status of each possible condition is True or False.
401375
each:
@@ -409,7 +383,6 @@ data:
409383
labelFromKey: reason
410384
labelsFromPath:
411385
type: [ type ]
412-
413386
############################
414387
# GitHubCredential #
415388
############################
@@ -432,7 +405,6 @@ data:
432405
- metadata
433406
- creationTimestamp
434407
type: Gauge
435-
436408
- name: githubcredential_info
437409
help: Information about a githubcredential config.
438410
each:
@@ -447,7 +419,6 @@ data:
447419
baseUrl: [status, baseUrl]
448420
uploadBaseUrl: [status, uploadBaseUrl]
449421
id: [status, id]
450-
451422
- name: githubcredential_status_conditions
452423
help: Displays whether status of each possible condition is True or False.
453424
each:

0 commit comments

Comments
 (0)