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

Add connectionInfo to ProcessModuleConfig #728

Merged
merged 6 commits into from
Apr 21, 2022

Conversation

mjgrzybek
Copy link
Contributor

@mjgrzybek mjgrzybek commented Apr 14, 2022

Description

Provisioner's reconciler periodically fetches connection info from the tenant and update the ruxitagentproc.conf file in csi driver storage.

How can this be tested?

  1. apply dynakube with hostMonitoring or cloudNativeFullStack enabled
  2. check if cat /data/<TENANT>/bin/<AGENT_VERSION>/agent/conf/ruxitagentproc.conf contains correct (provided by tenant) fields:
[general]                         
tenant <TOKEN>
tenantToken <TOKEN>
...
serverAddress {https://<URL>/communication,...}

Checklist

  • Unit tests have been updated/added
  • PR is labeled accordingly

it's propagated to OneAgent uncustomized archive in csi driver
@mjgrzybek mjgrzybek added the oneagent Changes related to Oneagent label Apr 14, 2022
@mjgrzybek mjgrzybek requested a review from 0sewa0 April 14, 2022 14:45
@mjgrzybek mjgrzybek requested a review from a team as a code owner April 14, 2022 14:45
@mjgrzybek mjgrzybek marked this pull request as draft April 14, 2022 14:51
@mjgrzybek mjgrzybek force-pushed the feature/agent-uncustomized-archive branch 2 times, most recently from b82c5a4 to b6f4f5b Compare April 14, 2022 15:39
@mjgrzybek mjgrzybek marked this pull request as ready for review April 14, 2022 15:39
@mjgrzybek mjgrzybek changed the title Added connectionInfo to ProcessModuleConfig Add connectionInfo to ProcessModuleConfig Apr 14, 2022
@mjgrzybek mjgrzybek force-pushed the feature/agent-uncustomized-archive branch from b6f4f5b to 0acea17 Compare April 14, 2022 19:24
@mjgrzybek mjgrzybek force-pushed the feature/agent-uncustomized-archive branch from 0acea17 to 0d7155e Compare April 15, 2022 05:39
@mjgrzybek mjgrzybek enabled auto-merge (squash) April 19, 2022 10:59
@mjgrzybek mjgrzybek merged commit 8ae830f into master Apr 21, 2022
@mjgrzybek mjgrzybek deleted the feature/agent-uncustomized-archive branch April 21, 2022 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oneagent Changes related to Oneagent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants