-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Object UIDs as Result/Record names.
This uses Object UIDs as the Record name in order to accomplish a few different things: - Fixes an issue where k8s object names (<= 253 chars) didn't fit in to Result name parts (<= 63 chars). UIDs - Sidesteps the original reason why we tried prepending the type in the first place to distinguish TaskRuns/PipelineRuns with the same name. (UIDs are unique for the cluster). - Allows us to detect and distinguish cases where users delete then recreate objects with the same name. Using UIDs will cause us to create new Results/Records for each new instance, instead of trying to update the existing data. The downside of this change means that Result/Record names are no longer human readable, which means that users will need to rely more on Record data to distinguish entries.
- Loading branch information
1 parent
6c5ff91
commit 7afd613
Showing
8 changed files
with
117 additions
and
84 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
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
Oops, something went wrong.