-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or requestgsocGoogle Summer of CodeGoogle Summer of Code
Description
Initialize the default Custom Resource Definition with a default controller. Specifically using the operator-sdk cli (i.e. operator-sdk create api --version v1 --kind KeptnServiceLevelIndicator --resource --controller).
API Definition
type KeptnServiceLevelIndicator struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec KeptnServiceLevelIndicatorSpec `json:"spec,omitempty"`
}
type KeptnServiceLevelIndicatorSpec struct {
Provider string `json:"provider"`
Indicators map[string]string `json:"indicators"`
}
type KeptnServiceLevelIndicatorList struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Items []KeptnServiceLevelIndicator `json:"items"`
}
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgsocGoogle Summer of CodeGoogle Summer of Code