File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
config/v1alpha1/tests/clustermonitoring.config.openshift.io Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -359,15 +359,15 @@ tests:
359359 userDefined:
360360 mode: "Disabled"
361361 prometheusK8sConfig:
362- logLevel: "info "
362+ logLevel: "Info "
363363 expected : |
364364 apiVersion: config.openshift.io/v1alpha1
365365 kind: ClusterMonitoring
366366 spec:
367367 userDefined:
368368 mode: "Disabled"
369369 prometheusK8sConfig:
370- logLevel: "info "
370+ logLevel: "Info "
371371 - name : Should accept PrometheusK8sConfig with valid nodeSelector
372372 initial : |
373373 apiVersion: config.openshift.io/v1alpha1
@@ -548,8 +548,10 @@ tests:
548548 prometheusK8sConfig:
549549 externalLabels:
550550 labels:
551- cluster: "production"
552- environment: "prod"
551+ - key: "cluster"
552+ value: "production"
553+ - key: "environment"
554+ value: "prod"
553555 expected : |
554556 apiVersion: config.openshift.io/v1alpha1
555557 kind: ClusterMonitoring
@@ -559,8 +561,10 @@ tests:
559561 prometheusK8sConfig:
560562 externalLabels:
561563 labels:
562- cluster: "production"
563- environment: "prod"
564+ - key: "cluster"
565+ value: "production"
566+ - key: "environment"
567+ value: "prod"
564568 - name : Should reject PrometheusK8sConfig with empty object
565569 initial : |
566570 apiVersion: config.openshift.io/v1alpha1
You can’t perform that action at this time.
0 commit comments