Skip to content

Commit

Permalink
Updated role.yaml and corrected a message in Migrator
Browse files Browse the repository at this point in the history
  • Loading branch information
akgalwas committed Nov 29, 2024
1 parent 9d58146 commit ff6905a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 23 deletions.
23 changes: 1 addition & 22 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ rules:
- infrastructuremanager.kyma-project.io
resources:
- gardenerclusters
- runtimes
verbs:
- create
- delete
Expand All @@ -31,29 +32,7 @@ rules:
- infrastructuremanager.kyma-project.io
resources:
- gardenerclusters/finalizers
verbs:
- update
- apiGroups:
- infrastructuremanager.kyma-project.io
resources:
- gardenerclusters/status
verbs:
- update
- apiGroups:
- infrastructuremanager.kyma-project.io
resources:
- runtimes
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- infrastructuremanager.kyma-project.io
resources:
- runtimes/finalizers
verbs:
- update
Expand Down
2 changes: 1 addition & 1 deletion hack/runtime-migrator/cmd/migration.go
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ func (m Migration) Do(ctx context.Context, runtimeIDs []string) error {
return
}

reportSuccess(runtimeID, shoot.Name, "Runtime have been applied")
reportSuccess(runtimeID, shoot.Name, "Runtime has been applied")
}
}

Expand Down

0 comments on commit ff6905a

Please sign in to comment.