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

Improve notes #34

Merged
merged 4 commits into from
May 13, 2024
Merged

Improve notes #34

merged 4 commits into from
May 13, 2024

Conversation

rtorrero
Copy link
Contributor

  • Move the variable notes closer to the relevant section
  • Add clarification about the @ in the --extra-vars argument.

README.md Outdated
Comment on lines 109 to 112
> **Note**: <br />
> For a fully functional deployment be sure to use either an **external IP** or an **internal IP** for `rabbitmq_host` based on the infra network configuration.
>
> Additionally, retrieving the actual api-key from the server is not supported yet, so use `"enable_api_key": "false"` in extra vars as any value in `trento_api_key` would be ineffective.
Copy link

@abravosuse abravosuse Apr 26, 2024

Choose a reason for hiding this comment

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

I don't understand very well why we are moving this note to this location. As a matter of fact, I don't understand the need for the note at all. I never had to set parameter rabbitmq_host in any of my tests.

I don't understand either the remark about the enable_api_key parameter. It almost sounds to me as if we are suggesting to disable the API the key.

Copy link
Contributor Author

@rtorrero rtorrero Apr 29, 2024

Choose a reason for hiding this comment

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

Hey @abravosuse, I'll further improve these based on your comments but some context first:

I don't understand very well why we are moving this note to this location.

This is simply because it's closer to the section where we tell the user to create the configuration file where this would be defined.

I don't understand the need for the note at all. I never had to set parameter rabbitmq_host in any of my tests.

by default it uses either localhost when using rpm install method and host.docker.internal when using the docker install method, which works for single host deployments. The note here I think was originally intended top let the user know that he might require to set the value manually depending on his network configuration and layout of the deployment. I'll improve that and write something in along those lines

I don't understand either the remark about the enable_api_key parameter. It almost sounds to me as if we are suggesting to disable the API the key.

about this, what it means is that if the user wants to also deploy agents from the playbook, he will have to do so in two stages (first install the server, manually get the API key, then add it to the vars and redeploy also enabling agent deployment OR disable the api_key completely to allow for deployment in a single run. I'll also expand a bit more on that.

@rtorrero rtorrero requested a review from abravosuse April 29, 2024 11:51
Copy link
Member

@EMaksy EMaksy left a comment

Choose a reason for hiding this comment

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

Hey for sure there is a type, but besides this I left some open suggestions 👍

README.md Outdated
@@ -106,6 +106,14 @@ all:
### 3. Setup playbook variables

Create a vars.json file, following the example below:
> **Note**: <br />
> The default values for variables ending with `_host` usually point to `host.docker.internal` when uing `docker` install method and `localhost` when
Copy link
Member

Choose a reason for hiding this comment

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

```when uing `docker```` typo ? When using docker?

Copy link
Member

Choose a reason for hiding this comment

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

Also, 2 times when, it is hard to follow the sentence, maybe split it up in clearer sentences?

README.md Outdated
>
> Additionally, when deploying trento agents using the playbook, api-key auto retrieval from the server is not supported yet, so either
> use `"enable_api_key": "false"` and skip `trento_api_key` altogether or disable agent deployment for the first run, retrieve the api-key from the UI
> and set the `trento_api_key` accordingly.
Copy link
Member

Choose a reason for hiding this comment

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

I actually would not mind seeing the example first, then having the note.

@rtorrero rtorrero requested review from EMaksy and nelsonkopliku May 13, 2024 10:59
Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

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

Looks the feedback have beed addressed. LGTM.

@nelsonkopliku nelsonkopliku merged commit 4ebb9e7 into main May 13, 2024
6 checks passed
@nelsonkopliku nelsonkopliku deleted the improve-notes branch May 13, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants