Skip to content
This repository was archived by the owner on Nov 25, 2021. It is now read-only.
This repository was archived by the owner on Nov 25, 2021. It is now read-only.

Scorecard fixes #11

Open
Open
@matzew

Description

@matzew

Running

operator-sdk scorecard --cr-manifest deploy/crds/eventing_v1alpha1_knativeeventingkafka_cr.yaml --csv-path deploy/olm-catalog/knative-kafka-operator/0.6.0/knative-kafka-operator.v0.6.0.clusterserviceversion.yaml

Gives the following

WARN[0000] Could not load config file; using flags      
WARN[0009] Invalid URI: "/api/v1/namespaces/default/pods/knative-kafka-operator-f97c64d7b-qspgf" 
WARN[0009] Invalid URI: "/api/v1/namespaces/default/configmaps/knative-kafka-operator-lock" 
Basic Tests:
	Spec Block Exists: 1/1
	Status Block Exists: 1/1
	Writing into CRs has an effect: 1/1
OLM Tests:
	Provided APIs have validation: 0/1
	Owned CRDs have resources listed: 0/1
	CRs have at least 1 example: 1/1
	Spec fields with descriptors: 0/1
	Status fields with descriptors: 0/2

Total Score: 60%
SUGGESTION: Add CRD validation for spec field `bootstrapServers` in KnativeEventingKafka/v1alpha1
SUGGESTION: Add CRD validation for status field `conditions` in KnativeEventingKafka/v1alpha1
SUGGESTION: Add CRD validation for status field `version` in KnativeEventingKafka/v1alpha1
SUGGESTION: Add resources to owned CRDs
SUGGESTION: Add a spec descriptor for bootstrapServers
SUGGESTION: Add a status descriptor for conditions
SUGGESTION: Add a status descriptor for version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions