Skip to content

Conformance tests for channel CRD status requirements #2989

@aliok

Description

@aliok

Problem

Following tasks are created according to the spec.

Note: this ticket is only for CRD validation. Values of the fields in the status are to be tested in #2992.

Tests:

  • v1alpha1: Channel CRD MUST have astatus subresource which contains address and
    subscribableStatus.subscribers (as an array).
  • v1alpha1: Channel CRD SHOULD have astatus subresource which contains observedGeneration and
    conditions (as an array). If they don't exist, report them.
  • v1beta1: Channel CRD MUST have astatus subresource which contains address and
    subscribers (as an array).
  • v1beta1: Channel CRD SHOULD have astatus subresource which contains observedGeneration and
    conditions (as an array). If they don't exist, report them.

Note: As there's no way of knowing what channel spec version the channel supports, instantiate a channel and then check the annotation messaging.knative.dev/subscribable in the channel instance . There's more info for this in #2987.

Note 2: Reporting the missing optional features is perhaps something done in serving conformance tests.

Persona:
System Integrator, Contributors

Exit Criteria
Test required behavior of channel, maybe report on optional capabilities.

Time Estimate (optional):
2d

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions