Skip to content

Update mongo-rs.yaml#99

Open
williamtrelawny wants to merge 1 commit into
mainfrom
fix/add-mongodb-roles
Open

Update mongo-rs.yaml#99
williamtrelawny wants to merge 1 commit into
mainfrom
fix/add-mongodb-roles

Conversation

@williamtrelawny

Copy link
Copy Markdown
Collaborator

Summary

Add the backup and restore roles to the mongo admin user, allowing it to perform mongodump and mongorestore operations.

Details

Added the following values to ~/graylog/templates/custom/mongo-rs.yaml:

spec:
  users:
    - name:
      roles:
        - name: backup
          db: admin
        - name: restore
          db: admin

Linked issues

This fixes the ability for the admin user to perform backups and restores of mongodb.

PR Checklist

Please check the items that apply to your change.

  • Tests added/updated
  • Documentation updated
  • This PR includes a new feature
  • This PR includes a bugfix
  • This PR includes a refactor

Testing Checklist

Static Validation

  • Linter check passes: helm lint ./charts/graylog
  • Helm renders local template sucessfully: helm template graylog ./charts/graylog --validate

Installation

  • Fresh installation completes successfully: helm install graylog ./charts/graylog
  • All pods reach Running state: kubectl rollout status statefulset/graylog
  • Helm tests pass: helm test graylog

Functional (if applicable)

  • Web UI accessible and login works
  • DataNodes visible in System > Cluster Configuration
  • Inputs can be created and receive data

Upgrade (if applicable)

  • Upgrade from previous release succeeds
  • Scaling up/down works correctly
  • Configuration changes apply correctly

Specific to this PR

  • describe what was specifically tested

Notes for reviewers

  • Verify all applicable tests above pass
  • Validate that the linked issues are no longer reproducible, if applicable
  • Sync up with the author before merging
  • The commit history should be preserved - use rebase-merge or standard merge options when applicable

Add the `backup` and `restore` roles to the mongo `admin` user, allowing it to perform `mongodump` and `mongorestore` operations.
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.

1 participant