Skip to content

Commit

Permalink
Make flows.* v1 resources the stored version
Browse files Browse the repository at this point in the history
  • Loading branch information
aliok committed Aug 25, 2020
1 parent 6988412 commit 1b961ff
Show file tree
Hide file tree
Showing 6 changed files with 662 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/core/resources/parallel.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- &version
name: v1beta1
served: true
storage: true
storage: false
subresources:
status: {}
schema:
Expand Down Expand Up @@ -323,7 +323,7 @@ spec:
- <<: *version
name: v1
served: true
storage: false
storage: true
# the schema of v1 is exactly the same as v1beta1 schema
schema:
openAPIV3Schema:
Expand Down
4 changes: 2 additions & 2 deletions config/core/resources/sequence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
- &version
name: v1beta1
served: true
storage: true
storage: false
subresources:
status: {}
schema:
Expand Down Expand Up @@ -272,7 +272,7 @@ spec:
- <<: *version
name: v1
served: true
storage: false
storage: true
# the schema of v1 is exactly the same as v1beta1 schema
schema:
openAPIV3Schema:
Expand Down
13 changes: 13 additions & 0 deletions config/pre-install/v0.18.0/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,16 @@ rules:
- "delete"
- "patch"
- "watch"
- apiGroups:
- "flows.knative.dev"
resources:
- "parallels"
- "sequences"
verbs:
- "get"
- "list"
- "create"
- "update"
- "delete"
- "patch"
- "watch"
Loading

0 comments on commit 1b961ff

Please sign in to comment.