-
Notifications
You must be signed in to change notification settings - Fork 81
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 monitoring and logging addon with template generation #792
Conversation
7290ab5
to
a6e76e5
Compare
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.
I found a couple of little nits (see below). The main thing I'm wondering though is, it appears that LOGGING_VERSION
, MONITORING_VERSION
and HARVESTER_EVENTROUTER_FULL_TAG
defined in harvester-installer will always override whatever values are set in the addons repo. Would it not be better to instead have harvester-installer take those values from addons version_info
, treating that file as the single source of truth, and remove scripts/version-logging
and scripts-version-monitoring
from harvester-installer?
a6e76e5
to
ef78d1a
Compare
@tserong A good question, why not use addon as a single source: There are some patches on path https://github.com/harvester/harvester-installer/tree/master/pkg/config/templates/patch, which are related to monitoring and logging. And the monitoring and logging ENVs are also used in some other files.
I will spend another time to finally move them all to a single place if possible. thanks. |
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.
Thanks @w13915984028 !
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.
lgtm, just a minor nit.
Signed-off-by: Jian Wang <[email protected]>
ef78d1a
to
cfa1dfe
Compare
@Mergifyio backport v1.4 |
✅ Backports have been created
|
Signed-off-by: Jian Wang <[email protected]> (cherry picked from commit e80ee9a) # Conflicts: # scripts/build-bundle
Signed-off-by: Jian Wang <[email protected]> (cherry picked from commit e80ee9a)
Signed-off-by: Jian Wang <[email protected]> (cherry picked from commit e80ee9a)
Problem:
harvester/harvester#6289
Solution:
Related Issue:
harvester/harvester#6289
Test plan:
Peer PR: harvester/addons#14 those 2 PRs can be merged independently.
These additional ENVs will be appended to the version_info file when building, no matter addon side PR harvester/addons#14 is merged or not.
build output: