-
Notifications
You must be signed in to change notification settings - Fork 82
Add app label to Results api deployment #1018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Shiv Verma <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Any reason we can't reference the |
yes, we can refer |
I'm OK either way. If all other Tekton components have that label, I'm OK to have it on Results as well as it standardize things. You should add that for each component though, not just the api, but watcher and retention-policy-agent as well. And |
@pratap0007 where is this service monitor defined? |
|
@@ -29,6 +29,7 @@ spec: | |||
cluster-autoscaler.kubernetes.io/safe-to-evict: "false" | |||
labels: | |||
app.kubernetes.io/name: tekton-results-api | |||
app: tekton-results-api-controller |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
app: tekton-results-api-controller | |
app: tekton-results-api |
This will add a app label to the Results api deployment
which will be reference in the ServiceMonitor
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you review them:
/kind <type>
. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tepRelease Notes