Skip to content

Commit

Permalink
Updated FrameworkSpec with metadata from KEP009 (#277)
Browse files Browse the repository at this point in the history
* Updated FrameworkSpec with metadata from KEP009

* Update Framework spec based on PR comments

* update manifest for crd changes
  • Loading branch information
runyontr authored and gerred committed Jun 5, 2019
1 parent 7bd9758 commit bdcc8df
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
13 changes: 13 additions & 0 deletions config/crds/kudo_v1alpha1_framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,19 @@ spec:
metadata:
type: object
spec:
properties:
description:
type: string
kubernetesVersion:
type: string
kudoVersion:
type: string
maintainers:
items:
type: string
type: array
url:
type: string
type: object
status:
type: object
Expand Down
10 changes: 8 additions & 2 deletions pkg/apis/kudo/v1alpha1/framework_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,16 @@ import (

// FrameworkSpec defines the desired state of Framework
type FrameworkSpec struct {
// INSERT ADDITIONAL SPEC FIELDS - desired state of cluster
// Important: Run "make" to regenerate code after modifying this file
Description string `json:"description,omitempty"`
KudoVersion string `json:"kudoVersion,omitempty"`
KubernetesVersion string `json:"kubernetesVersion,omitempty"`
Maintainers []Maintainer `json:"maintainers,omitempty"`
URL string `json:"url,omitempty"`
}

// Maintainer contains contact info for the maintainer of the Framework
type Maintainer string

// FrameworkStatus defines the observed state of Framework
type FrameworkStatus struct {
// INSERT ADDITIONAL STATUS FIELD - define observed state of cluster
Expand Down

0 comments on commit bdcc8df

Please sign in to comment.