Skip to Main Content

MongoByte MongoDB Logo

Welcome to the new MongoDB Feedback Portal!

{Improvement: "Your idea"}
We’ve upgraded our system to better capture and act on your feedback.
Your feedback is meaningful and helps us build better products.

Status Submitted
Categories Atlas
Created by Guest
Created on Feb 19, 2025

fix example at https://www.mongodb.com/docs/atlas/operator/current/atlascustomrole-custom-resource/#basic-example

in the example at spec: - "name" indentation is wrong - also action should be specified as in API example connPoolStats should be actually "CONN_POOL_STATS" (with underscores, seems they disappear here when I post) - at inheritedRoles there is no "role" as child field, should be database a correct manifest would be: apiVersion: atlas.mongodb.com/v1 kind: AtlasCustomRole metadata: name: tester namespace: tester labels: {} annotations: mongodb.com/atlas-resource-policy: keep spec: projectRef: name: tester namespace: tester role: name: tester actions: - name: CONN_POOL_STATS resources: - cluster: true database: tester-database collection: tester-collection inheritedRoles: - name: operator-role-1 database: tester-database
  • Attach files
  • Guest
    Feb 19, 2025
    I don't know why underscores don't appear in the action "CONN_POOL_STATS"