Skip to content

Commit

Permalink
Format service monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
supercairos committed Nov 28, 2023
1 parent 6f1e702 commit b354f6c
Showing 1 changed file with 17 additions and 55 deletions.
72 changes: 17 additions & 55 deletions hacks/servicemonitor_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand Down Expand Up @@ -84,9 +82,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand All @@ -107,9 +103,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand Down Expand Up @@ -138,9 +132,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand Down Expand Up @@ -262,9 +254,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand All @@ -285,9 +275,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand All @@ -312,9 +300,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand All @@ -339,11 +325,7 @@
"type": "string"
}
},
"required": [
"clientId",
"clientSecret",
"tokenUrl"
],
"required": ["clientId", "clientSecret", "tokenUrl"],
"type": "object",
"additionalProperties": false
},
Expand Down Expand Up @@ -441,10 +423,7 @@
},
"scheme": {
"description": "HTTP scheme to use for scraping. \n `http` and `https` are the expected values unless you rewrite the `__scheme__` label via relabeling. \n If empty, Prometheus uses the default value `http`.",
"enum": [
"http",
"https"
],
"enum": ["http", "https"],
"type": "string"
},
"scrapeTimeout": {
Expand Down Expand Up @@ -486,9 +465,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand All @@ -509,9 +486,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand Down Expand Up @@ -543,9 +518,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand All @@ -566,9 +539,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand Down Expand Up @@ -605,9 +576,7 @@
"type": "boolean"
}
},
"required": [
"key"
],
"required": ["key"],
"type": "object",
"x-kubernetes-map-type": "atomic",
"additionalProperties": false
Expand Down Expand Up @@ -708,10 +677,7 @@
"type": "array"
}
},
"required": [
"key",
"operator"
],
"required": ["key", "operator"],
"type": "object",
"additionalProperties": false
},
Expand Down Expand Up @@ -742,15 +708,11 @@
"type": "integer"
}
},
"required": [
"selector"
],
"required": ["selector"],
"type": "object",
"additionalProperties": false
}
},
"required": [
"spec"
],
"required": ["spec"],
"type": "object"
}

0 comments on commit b354f6c

Please sign in to comment.