Skip to content

Commit e4c1689

Browse files
author
Antoine Pelisse
committed
Add prometheus CRD for benchmarks
1 parent 18331f4 commit e4c1689

File tree

5 files changed

+3203
-0
lines changed

5 files changed

+3203
-0
lines changed

internal/cli/main_test.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,13 @@ func TestFieldSet(t *testing.T) {
211211
typeName: "io.k8s.api.core.v1.Endpoints",
212212
},
213213
expectedOutputPath: testdata("endpointsset.json"),
214+
}, {
215+
options: Options{
216+
schemaPath: testdata("k8s-schema.yaml"),
217+
fieldset: testdata("prometheus-crd.yaml"),
218+
typeName: "io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition",
219+
},
220+
expectedOutputPath: testdata("prometheus-crdset.json"),
214221
}}
215222

216223
for _, tt := range cases {

0 commit comments

Comments
 (0)