Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backend for getting logs of a trial (#2039)
* Backend for getting logs of a trial * Check Write return + use PrimaryPodLabels * Add auth + use constants for labels + cleanup * TODO comment for using controller-runtime client for logs * Authorization for list pods and get logs, reduce RBAC * Use corev1 for specifying resources, edit kf install RBAC * Check namespace and trialName from request * Remove auth checks for listing the pods * Use context.Background()
- Loading branch information
Showing
4 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters