Skip to content

Add new "admins" group to notification inventory#92

Open
jfilipcz wants to merge 1 commit intorht-labs:masterfrom
jfilipcz:create-admins-user-list
Open

Add new "admins" group to notification inventory#92
jfilipcz wants to merge 1 commit intorht-labs:masterfrom
jfilipcz:create-admins-user-list

Conversation

@jfilipcz
Copy link
Copy Markdown
Contributor

@jfilipcz jfilipcz commented Dec 1, 2021

PR adding new "admins" user group based on roles assigned in LodeStar

@jfilipcz jfilipcz requested a review from makirill December 1, 2021 15:27
list_of_users:
{% for user in engagement_users | default([]) %}
{% filter indent(width=6) %}
{% if 'lodestar-admins' in user.role %}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

lodestar-admins isn't a good value to key off here. Now that we have the runtime.json in the engagement repos, we should look to use that to flag a user/groups of users for addition here.

Example usage of runtime.json:
https://github.com/rht-labs/labs-sre-automation/blob/master/inventory-generation/identity-management/main.yml#L19

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.

2 participants