Skip to content
This repository was archived by the owner on May 20, 2024. It is now read-only.

Conversation

@nicksellen
Copy link
Member

@nicksellen nicksellen commented Dec 16, 2018

Re: https://gitlab.com/kanthaus/kanthaus-private/issues/44

The idea is to:

  • create a user per "site" with specific credentials which only has access to the specific database needed
  • create a public user that will be granted read access to specific databases as needed

@NerdyProjects NerdyProjects force-pushed the add-influxdb-permissions branch from 011ff26 to 06b2ed4 Compare January 28, 2020 16:39
Copy link
Member Author

@nicksellen nicksellen left a comment

Choose a reason for hiding this comment

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

I didn't through it in a lot of detail, but some comments!


- name: create influxdb proxy
include_role:
name: basic-site
Copy link
Member Author

Choose a reason for hiding this comment

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

Indentation is out,

site: influxdb-proxy
site_name: influxdb proxy
server_name: influxdb.yunity.org
redirects: [] No newline at end of file
Copy link
Member Author

Choose a reason for hiding this comment

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

How does this work when using server-base for other playbooks which set these variables seperately? If the playbook-defined vars (e.g. playbooks/karrot-world/setup.playbook.yml) correctly overwrite them, maybe add a note here to explain? Otherwise it's a bit confusing what they are kind of reused for a different purpose.

Copy link
Member Author

Choose a reason for hiding this comment

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

Another idea would be to just treat influxdb-proxy as a seperate site with it's own folder and playbooks...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants