Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ksm): remove whitespaces in cm #213

Merged
merged 2 commits into from
Nov 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 9 additions & 38 deletions config/kube-state-metrics/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ data:
resources:
##################
# ENTERPRISE #
#################
##################
- groupVersionKind:
group: garm-operator.mercedes-benz.com
kind: "Enterprise"
Expand All @@ -33,7 +33,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: enterprise_info
help: Information about an enterprise.
each:
Expand All @@ -44,7 +43,6 @@ data:
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
webhookSecretRefName: [ spec, webhookSecretRef, name ]
id: [ status, id ]

- name: enterprise_annotation_paused_info
help: Whether the enterprise reconciliation is paused.
each:
Expand All @@ -56,7 +54,6 @@ data:
- garm-operator.mercedes-benz.com/paused
labelsFromPath:
paused_value: []

- name: enterprise_status_conditions
help: Displays whether status of each possible condition is True or False.
each:
Expand All @@ -70,9 +67,8 @@ data:
labelFromKey: reason
labelsFromPath:
type: [ type ]

##################
# Org #
#################
# Org #
#################
- groupVersionKind:
group: garm-operator.mercedes-benz.com
Expand All @@ -93,7 +89,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: org_info
help: Information about an organization.
each:
Expand All @@ -104,7 +99,6 @@ data:
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
webhookSecretRefName: [ spec, webhookSecretRef, name ]
id: [ status, id ]

- name: org_annotation_paused_info
help: Whether the org reconciliation is paused.
each:
Expand All @@ -116,7 +110,6 @@ data:
- garm-operator.mercedes-benz.com/paused
labelsFromPath:
paused_value: [ ]

- name: org_status_conditions
help: Displays whether status of each possible condition is True or False.
each:
Expand All @@ -130,10 +123,9 @@ data:
labelFromKey: reason
labelsFromPath:
type: [ type ]

##################
# Repo #
#################
# Repo #
##################
- groupVersionKind:
group: garm-operator.mercedes-benz.com
kind: "Repository"
Expand All @@ -153,7 +145,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: repo_info
help: Information about a repository.
each:
Expand All @@ -165,7 +156,6 @@ data:
webhookSecretRefKey: [ spec, webhookSecretRef, key ]
webhookSecretRefName: [ spec, webhookSecretRef, name ]
id: [ status, id ]

- name: repo_annotation_paused_info
help: Whether the repo reconciliation is paused.
each:
Expand All @@ -177,7 +167,6 @@ data:
- garm-operator.mercedes-benz.com/paused
labelsFromPath:
paused_value: [ ]

- name: repo_status_conditions
help: Displays whether status of each possible condition is True or False.
each:
Expand All @@ -191,8 +180,7 @@ data:
labelFromKey: reason
labelsFromPath:
type: [ type ]

##################
#################
# Pool #
#################
- groupVersionKind:
Expand All @@ -214,7 +202,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: pool_info
help: Information about a pool.
each:
Expand All @@ -232,7 +219,6 @@ data:
runnerPrefix: [spec, runnerPrefix]
tags: [spec, tags]
id: [status, id]

- name: pool_enabled
help: Whether the pool is enabled.
each:
Expand All @@ -242,7 +228,6 @@ data:
path:
- spec
- enabled

- name: pool_min_idle_runners
help: Minimum number of idle runners.
each:
Expand All @@ -251,7 +236,6 @@ data:
path:
- spec
- minIdleRunners

- name: pool_max_runners
help: Maximum number of runners.
each:
Expand All @@ -260,7 +244,6 @@ data:
path:
- spec
- maxRunners

- name: status_long_running_idle_runners
help: Number of long running idle runners.
each:
Expand All @@ -269,7 +252,6 @@ data:
path:
- status
- longRunningIdleRunners

- name: pool_annotation_paused_info
help: Whether the pool reconciliation is paused.
each:
Expand All @@ -281,7 +263,6 @@ data:
- garm-operator.mercedes-benz.com/paused
labelsFromPath:
paused_value: [ ]

- name: pool_status_conditions
help: Displays whether status of each possible condition is True or False.
each:
Expand All @@ -295,10 +276,9 @@ data:
labelFromKey: reason
labelsFromPath:
type: [ type ]

##################
# Image #
#################
##################
- groupVersionKind:
group: garm-operator.mercedes-benz.com
kind: "Image"
Expand All @@ -318,15 +298,13 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: image_info
help: Information about an image.
each:
type: Info
info:
labelsFromPath:
tag: [spec, tag]

############################
# GarmServerConfig #
############################
Expand All @@ -349,7 +327,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: garmserverconfig_info
help: Information about a garm server config.
each:
Expand All @@ -362,10 +339,9 @@ data:
controllerId: [status, controllerId]
minimumJobAgeBackoff: [status, minimumJobAgeBackoff]
version: [status, version]

############################
##########################
# GitHubEndpoint #
############################
##########################
- groupVersionKind:
group: garm-operator.mercedes-benz.com
kind: "GitHubEndpoint"
Expand All @@ -385,7 +361,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: githubendpoint_info
help: Information about a githubendpoint config.
each:
Expand All @@ -395,7 +370,6 @@ data:
apiBaseUrl: [spec, apiBaseUrl]
baseUrl: [spec, baseUrl]
uploadBaseUrl: [spec, uploadBaseUrl]

- name: githubendpoint_status_conditions
help: Displays whether status of each possible condition is True or False.
each:
Expand All @@ -409,7 +383,6 @@ data:
labelFromKey: reason
labelsFromPath:
type: [ type ]

############################
# GitHubCredential #
############################
Expand All @@ -432,7 +405,6 @@ data:
- metadata
- creationTimestamp
type: Gauge

- name: githubcredential_info
help: Information about a githubcredential config.
each:
Expand All @@ -447,7 +419,6 @@ data:
baseUrl: [status, baseUrl]
uploadBaseUrl: [status, uploadBaseUrl]
id: [status, id]

- name: githubcredential_status_conditions
help: Displays whether status of each possible condition is True or False.
each:
Expand Down