|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.9.2 |
| 6 | + creationTimestamp: null |
| 7 | + labels: |
| 8 | + app.kubernetes.io/component: controller |
| 9 | + app.kubernetes.io/instance: mongodb-atlas-kubernetes-operator |
| 10 | + app.kubernetes.io/name: mongodb-atlas-kubernetes-operator |
| 11 | + name: atlasfederatedauths.atlas.mongodb.com |
| 12 | +spec: |
| 13 | + group: atlas.mongodb.com |
| 14 | + names: |
| 15 | + kind: AtlasFederatedAuth |
| 16 | + listKind: AtlasFederatedAuthList |
| 17 | + plural: atlasfederatedauths |
| 18 | + singular: atlasfederatedauth |
| 19 | + scope: Namespaced |
| 20 | + versions: |
| 21 | + - name: v1 |
| 22 | + schema: |
| 23 | + openAPIV3Schema: |
| 24 | + description: AtlasFederatedAuth is the Schema for the Atlasfederatedauth API |
| 25 | + properties: |
| 26 | + apiVersion: |
| 27 | + description: 'APIVersion defines the versioned schema of this representation |
| 28 | + of an object. Servers should convert recognized schemas to the latest |
| 29 | + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' |
| 30 | + type: string |
| 31 | + kind: |
| 32 | + description: 'Kind is a string value representing the REST resource this |
| 33 | + object represents. Servers may infer this from the endpoint the client |
| 34 | + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' |
| 35 | + type: string |
| 36 | + metadata: |
| 37 | + type: object |
| 38 | + spec: |
| 39 | + properties: |
| 40 | + connectionSecretRef: |
| 41 | + description: Connection secret with API credentials for configuring |
| 42 | + the federation. These credentials must have OrganizationOwner permissions. |
| 43 | + properties: |
| 44 | + name: |
| 45 | + description: Name is the name of the Kubernetes Resource |
| 46 | + type: string |
| 47 | + namespace: |
| 48 | + description: Namespace is the namespace of the Kubernetes Resource |
| 49 | + type: string |
| 50 | + required: |
| 51 | + - name |
| 52 | + type: object |
| 53 | + domainAllowList: |
| 54 | + description: Approved domains that restrict users who can join the |
| 55 | + organization based on their email address. |
| 56 | + items: |
| 57 | + type: string |
| 58 | + type: array |
| 59 | + domainRestrictionEnabled: |
| 60 | + default: false |
| 61 | + description: Prevent users in the federation from accessing organizations |
| 62 | + outside of the federation, and creating new organizations. This |
| 63 | + option applies to the entire federation. See more information at |
| 64 | + https://www.mongodb.com/docs/atlas/security/federation-advanced-options/#restrict-user-membership-to-the-federation |
| 65 | + type: boolean |
| 66 | + enabled: |
| 67 | + default: false |
| 68 | + type: boolean |
| 69 | + postAuthRoleGrants: |
| 70 | + description: Atlas roles that are granted to a user in this organization |
| 71 | + after authenticating. |
| 72 | + items: |
| 73 | + type: string |
| 74 | + type: array |
| 75 | + roleMappings: |
| 76 | + description: Map IDP groups to Atlas roles. |
| 77 | + items: |
| 78 | + description: RoleMapping maps an external group from an identity |
| 79 | + provider to roles within Atlas. |
| 80 | + properties: |
| 81 | + externalGroupName: |
| 82 | + description: ExternalGroupName is the name of the IDP group |
| 83 | + to which this mapping applies. |
| 84 | + maxLength: 200 |
| 85 | + minLength: 1 |
| 86 | + type: string |
| 87 | + roleAssignments: |
| 88 | + description: RoleAssignments define the roles within projects |
| 89 | + that should be given to members of the group. |
| 90 | + items: |
| 91 | + properties: |
| 92 | + projectName: |
| 93 | + description: The Atlas project in the same org in which |
| 94 | + the role should be given. |
| 95 | + type: string |
| 96 | + role: |
| 97 | + description: The role in Atlas that should be given to |
| 98 | + group members. |
| 99 | + enum: |
| 100 | + - ORG_MEMBER |
| 101 | + - ORG_READ_ONLY |
| 102 | + - ORG_BILLING_ADMIN |
| 103 | + - ORG_GROUP_CREATOR |
| 104 | + - ORG_OWNER |
| 105 | + - ORG_BILLING_READ_ONLY |
| 106 | + - ORG_TEAM_MEMBERS_ADMIN |
| 107 | + - GROUP_AUTOMATION_ADMIN |
| 108 | + - GROUP_BACKUP_ADMIN |
| 109 | + - GROUP_MONITORING_ADMIN |
| 110 | + - GROUP_OWNER |
| 111 | + - GROUP_READ_ONLY |
| 112 | + - GROUP_USER_ADMIN |
| 113 | + - GROUP_BILLING_ADMIN |
| 114 | + - GROUP_DATA_ACCESS_ADMIN |
| 115 | + - GROUP_DATA_ACCESS_READ_ONLY |
| 116 | + - GROUP_DATA_ACCESS_READ_WRITE |
| 117 | + - GROUP_CHARTS_ADMIN |
| 118 | + - GROUP_CLUSTER_MANAGER |
| 119 | + - GROUP_SEARCH_INDEX_EDITOR |
| 120 | + type: string |
| 121 | + type: object |
| 122 | + type: array |
| 123 | + type: object |
| 124 | + type: array |
| 125 | + ssoDebugEnabled: |
| 126 | + default: false |
| 127 | + type: boolean |
| 128 | + type: object |
| 129 | + status: |
| 130 | + properties: |
| 131 | + conditions: |
| 132 | + description: Conditions is the list of statuses showing the current |
| 133 | + state of the Atlas Custom Resource |
| 134 | + items: |
| 135 | + description: Condition describes the state of an Atlas Custom Resource |
| 136 | + at a certain point. |
| 137 | + properties: |
| 138 | + lastTransitionTime: |
| 139 | + description: Last time the condition transitioned from one status |
| 140 | + to another. |
| 141 | + format: date-time |
| 142 | + type: string |
| 143 | + message: |
| 144 | + description: A human readable message indicating details about |
| 145 | + the transition. |
| 146 | + type: string |
| 147 | + reason: |
| 148 | + description: The reason for the condition's last transition. |
| 149 | + type: string |
| 150 | + status: |
| 151 | + description: Status of the condition, one of True, False, Unknown. |
| 152 | + type: string |
| 153 | + type: |
| 154 | + description: Type of Atlas Custom Resource condition. |
| 155 | + type: string |
| 156 | + required: |
| 157 | + - status |
| 158 | + - type |
| 159 | + type: object |
| 160 | + type: array |
| 161 | + observedGeneration: |
| 162 | + description: ObservedGeneration indicates the generation of the resource |
| 163 | + specification that the Atlas Operator is aware of. The Atlas Operator |
| 164 | + updates this field to the 'metadata.generation' as soon as it starts |
| 165 | + reconciliation of the resource. |
| 166 | + format: int64 |
| 167 | + type: integer |
| 168 | + required: |
| 169 | + - conditions |
| 170 | + type: object |
| 171 | + type: object |
| 172 | + served: true |
| 173 | + storage: true |
| 174 | + subresources: |
| 175 | + status: {} |
| 176 | +status: |
| 177 | + acceptedNames: |
| 178 | + kind: "" |
| 179 | + plural: "" |
| 180 | + conditions: null |
| 181 | + storedVersions: null |
0 commit comments