Skip to content

Commit 5d00aec

Browse files
dmesserlilic
authored andcommitted
*: New Operator maturity model (#1096)
* update docs/scaffold to new maturity model * grammar and filename fixes * use relative links instead of URL * remove old graphic * rename to lower case * use new filename
1 parent 492b764 commit 5d00aec

File tree

7 files changed

+3
-3
lines changed

7 files changed

+3
-3
lines changed

doc/design/milestone-0.2.0/csv-generation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ Optional:
157157
- `spec.links`: 1..N URL's to websites, documentation, etc. pertaining to the operator or application being managed, each with a `name` and `url`.
158158
- `spec.selector`: selectors by which the operator can pair resources in a cluster.
159159
- `spec.icon`: a base64-encoded icon unique to the operator, set in a `base64data` field with a `mediatype`.
160-
- `spec.maturity`: the operators' stability, ex. `beta`.
160+
- `spec.maturity`: the operators' capability level according to the [maturity model](../../images/operator-maturity-model.png), ex. `Seamless Upgrades`.
161161

162162
Further details on what data each field above should hold are found in the [CSV spec][olm_csv_spec_doc].
163163

-338 KB
Binary file not shown.

pkg/scaffold/olm-catalog/csv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ func (s *CSV) initCSVFields(csv *olmapiv1alpha1.ClusterServiceVersion) {
209209
csv.Spec.Version = *semver.New(s.CSVVersion)
210210
csv.Spec.DisplayName = getDisplayName(s.ProjectName)
211211
csv.Spec.Description = "Placeholder description"
212-
csv.Spec.Maturity = "alpha"
212+
csv.Spec.Maturity = "Basic Install"
213213
csv.Spec.Provider = olmapiv1alpha1.AppLink{}
214214
csv.Spec.Maintainers = make([]olmapiv1alpha1.Maintainer, 0)
215215
csv.Spec.Links = make([]olmapiv1alpha1.AppLink, 0)

pkg/scaffold/olm-catalog/testdata/deploy/olm-catalog/app-operator.csv.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ spec:
8181
- '*'
8282
serviceAccountName: app-operator
8383
strategy: deployment
84-
maturity: alpha
84+
maturity: Basic Install
8585
provider: {}
8686
version: 0.1.0

0 commit comments

Comments
 (0)