forked from konflux-ci/internal-services
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(HACBS-2551): filter cached resources
Too many resources were required to run this operator as we were caching every single resources. This change filter cached resources by using a new cache with custom selectors for Tekton resources. Signed-off-by: David Moreno García <[email protected]>
- Loading branch information
1 parent
2be5732
commit 35269d9
Showing
5 changed files
with
38 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package metadata | ||
|
||
import "fmt" | ||
|
||
const ( | ||
// rhtapDomain is the prefix of the application label | ||
rhtapDomain = "appstudio.openshift.io" | ||
) | ||
|
||
var ( | ||
// pipelinesLabelPrefix is the prefix of the pipelines label | ||
pipelinesLabelPrefix = fmt.Sprintf("pipelines.%s", rhtapDomain) | ||
) | ||
|
||
var ( | ||
// PipelinesTypeLabel is the label used to describe the type of pipeline | ||
PipelinesTypeLabel = fmt.Sprintf("%s/%s", pipelinesLabelPrefix, "type") | ||
) |
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