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

upsert does not remove duplicates from group list #50

Open
45cali opened this issue Oct 5, 2022 · 0 comments
Open

upsert does not remove duplicates from group list #50

45cali opened this issue Oct 5, 2022 · 0 comments

Comments

@45cali
Copy link
Contributor

45cali commented Oct 5, 2022

running this command multiple times does not remove duplicates from group list

upsert  --maproles --rolearn <rolearn>   --append --groups testing --username foo --update-username=false
role <rolearn> has been updated

result

apiVersion: v1
data:
  mapRoles: |
    - rolearn: <rolearn>
      username: foo
      groups:
      - testing
      - testing
      - testing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants