-
Notifications
You must be signed in to change notification settings - Fork 206
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
Update Result API container env #2622
base: main
Are you sure you want to change the base?
Conversation
Earlier Result API container env was not getting updated if any fields in Result API properties gets updated, now this patch updates Result API container env with updated Result API properties 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 |
The following is the coverage report on the affected files.
|
This issue #2600 is also a similar problem, where certain properties |
types := reflect.TypeOf(p) | ||
prop := make(map[string]string) | ||
|
||
applyLokiStackConfig(prop, s.LokiStackProperties) |
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.
what happens if an error happens on applyLokiStackConfig
@@ -271,6 +272,119 @@ func updateApiConfig(s v1alpha1.TektonResultSpec) mf.Transformer { | |||
} | |||
} | |||
|
|||
// update the api container envs |
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.
can you add more description here to show up that it also aupdates lockistack
that it is restricted for deployment and container with specific anmes
Earlier Result API container env was not getting updated if any fields in Result API properties gets updated, now this patch updates Result API container env with updated Result API properties
Changes
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make test lint
before submitting a PRSee the contribution guide for more details.
Release Notes
-->