Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions api/v1alpha1/runtimeconditionsprofile_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ type Condition struct {
// +kubebuilder:validation:MinLength=1
Kind string `json:"kind"`

// extension picks which extension's kind to use, when more than one
// resolved extension defines the same kind. Checked by a webhook,
// not here.
// +optional
// +kubebuilder:validation:MinLength=1
Extension string `json:"extension,omitempty"`

// +required
// +kubebuilder:pruning:PreserveUnknownFields
Interface ConditionInterface `json:"interface"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,13 @@ spec:
(additional interface fields, and any extra condition-level fields an
extension's conditionFields declare) is left schemaless.
properties:
extension:
description: |-
extension picks which extension's kind to use, when more than one
resolved extension defines the same kind. Checked by a webhook,
not here.
minLength: 1
type: string
interface:
description: |-
ConditionInterface is the workload-facing interface requirement for a
Expand Down
Loading