Skip to content

Commit

Permalink
Add JobSink to storage version migration (#8020)
Browse files Browse the repository at this point in the history
Signed-off-by: Pierangelo Di Pilato <pierdipi@redhat.com>
  • Loading branch information
pierDipi committed Jun 21, 2024
1 parent f84a98c commit c9deeb9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions config/post-install/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,19 @@ rules:
- "update"
- "patch"
- "watch"
- apiGroups:
- "sinks.knative.dev"
resources:
- "jobsinks"
- "jobsinks/finalizers"
- "jobsinks/status"
verbs:
- "get"
- "list"
- "create"
- "update"
- "patch"
- "watch"
- apiGroups:
- ""
resources:
Expand Down
1 change: 1 addition & 0 deletions config/post-install/storage-version-migrator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ spec:
- "sinkbindings.sources.knative.dev"
- "subscriptions.messaging.knative.dev"
- "triggers.eventing.knative.dev"
- "jobsinks.sinks.knative.dev"
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
Expand Down

0 comments on commit c9deeb9

Please sign in to comment.