Skip to content
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

Helm chart configmap fixes and some YAML clean up #90

Merged
merged 2 commits into from
Jun 29, 2023

Conversation

fmuyassarov
Copy link
Collaborator

@fmuyassarov fmuyassarov commented Jun 29, 2023

This PR corrects the name of the configMap that agents is expecting and also corrects the name of the configMap that used as a base for fallback config.

Our agent expects the configmap to be named as
`nri-resource-policy-config.default`, whereas in the helm chart,
we have been using different names, such as
`nri-resource-policy-topology-aware-config`. In order for the
configmap configuration data to take effect, we must rename it
to match the agent's expectation. Additionally, there are no
scenarios where two plugins can run on the same node with two
different configmap names. Therefore, we can have a consistent
and standard name for the configmaps of different policy.

Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
Copy link
Collaborator

@jukkar jukkar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Feruzjon Muyassarov <feruzjon.muyassarov@intel.com>
@fmuyassarov
Copy link
Collaborator Author

@klihub @jukkar updated the commits. PTAL.

@klihub klihub merged commit 66846cb into containers:main Jun 29, 2023
3 checks passed
@fmuyassarov fmuyassarov deleted the confimap-naming-helm branch October 23, 2023 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants