|
43 | 43 | description: AtlasProjectSpec defines the desired state of Project in
|
44 | 44 | Atlas
|
45 | 45 | properties:
|
| 46 | + cloudProviderAccessRoles: |
| 47 | + description: CloudProviderAccessRoles is a list of Cloud Provider |
| 48 | + Access Roles configured for the current Project. |
| 49 | + items: |
| 50 | + properties: |
| 51 | + iamAssumedRoleArn: |
| 52 | + description: IamAssumedRoleArn is the ARN of the IAM role that |
| 53 | + is assumed by the Atlas cluster. |
| 54 | + type: string |
| 55 | + providerName: |
| 56 | + description: ProviderName is the name of the cloud provider. |
| 57 | + Currently only AWS is supported. |
| 58 | + type: string |
| 59 | + required: |
| 60 | + - iamAssumedRoleArn |
| 61 | + - providerName |
| 62 | + type: object |
| 63 | + type: array |
46 | 64 | connectionSecretRef:
|
47 | 65 | description: ConnectionSecret is the name of the Kubernetes Secret
|
48 | 66 | which contains the information about the way to connect to Atlas
|
@@ -267,6 +285,67 @@ spec:
|
267 | 285 | description: Name is the name of the Project that is created in Atlas
|
268 | 286 | by the Operator if it doesn't exist yet.
|
269 | 287 | type: string
|
| 288 | + networkPeers: |
| 289 | + description: NetworkPeers is a list of Network Peers configured for |
| 290 | + the current Project. |
| 291 | + items: |
| 292 | + properties: |
| 293 | + accepterRegionName: |
| 294 | + description: AccepterRegionName is the provider region name |
| 295 | + of user's vpc. |
| 296 | + type: string |
| 297 | + atlasCidrBlock: |
| 298 | + description: Atlas CIDR. It needs to be set if ContainerID is |
| 299 | + not set. |
| 300 | + type: string |
| 301 | + awsAccountId: |
| 302 | + description: AccountID of the user's vpc. |
| 303 | + type: string |
| 304 | + azureDirectoryId: |
| 305 | + description: AzureDirectoryID is the unique identifier for an |
| 306 | + Azure AD directory. |
| 307 | + type: string |
| 308 | + azureSubscriptionId: |
| 309 | + description: AzureSubscriptionID is the unique identifier of |
| 310 | + the Azure subscription in which the VNet resides. |
| 311 | + type: string |
| 312 | + containerId: |
| 313 | + description: ID of the network peer container. If not set, operator |
| 314 | + will create a new container with ContainerRegion and AtlasCIDRBlock |
| 315 | + input. |
| 316 | + type: string |
| 317 | + containerRegion: |
| 318 | + description: ContainerRegion is the provider region name of |
| 319 | + Atlas network peer container. If not set, AccepterRegionName |
| 320 | + is used. |
| 321 | + type: string |
| 322 | + gcpProjectId: |
| 323 | + description: User GCP Project ID. Its applicable only for GCP. |
| 324 | + type: string |
| 325 | + networkName: |
| 326 | + description: GCP Network Peer Name. Its applicable only for |
| 327 | + GCP. |
| 328 | + type: string |
| 329 | + providerName: |
| 330 | + description: ProviderName is the name of the provider. If not |
| 331 | + set, it will be set to "AWS". |
| 332 | + type: string |
| 333 | + resourceGroupName: |
| 334 | + description: ResourceGroupName is the name of your Azure resource |
| 335 | + group. |
| 336 | + type: string |
| 337 | + routeTableCidrBlock: |
| 338 | + description: User VPC CIDR. |
| 339 | + type: string |
| 340 | + vnetName: |
| 341 | + description: VNetName is name of your Azure VNet. Its applicable |
| 342 | + only for Azure. |
| 343 | + type: string |
| 344 | + vpcId: |
| 345 | + description: AWS VPC ID. |
| 346 | + type: string |
| 347 | + type: object |
| 348 | + type: array |
270 | 349 | privateEndpoints:
|
271 | 350 | description: PrivateEndpoints is a list of Private Endpoints configured
|
272 | 351 | for the current Project.
|
@@ -380,6 +459,43 @@ spec:
|
380 | 459 | items:
|
381 | 460 | type: string
|
382 | 461 | type: array
|
| 462 | + cloudProviderAccessRoles: |
| 463 | + description: CloudProviderAccessRoles contains a list of configured |
| 464 | + cloud provider access roles. AWS support only |
| 465 | + items: |
| 466 | + properties: |
| 467 | + atlasAWSAccountArn: |
| 468 | + type: string |
| 469 | + atlasAssumedRoleExternalId: |
| 470 | + type: string |
| 471 | + authorizedDate: |
| 472 | + type: string |
| 473 | + createdDate: |
| 474 | + type: string |
| 475 | + errorMessage: |
| 476 | + type: string |
| 477 | + featureUsages: |
| 478 | + items: |
| 479 | + properties: |
| 480 | + featureId: |
| 481 | + type: string |
| 482 | + featureType: |
| 483 | + type: string |
| 484 | + type: object |
| 485 | + type: array |
| 486 | + iamAssumedRoleArn: |
| 487 | + type: string |
| 488 | + providerName: |
| 489 | + type: string |
| 490 | + roleId: |
| 491 | + type: string |
| 492 | + status: |
| 493 | + type: string |
| 494 | + required: |
| 495 | + - atlasAssumedRoleExternalId |
| 496 | + - providerName |
| 497 | + type: object |
| 498 | + type: array |
383 | 499 | conditions:
|
384 | 500 | description: Conditions is the list of statuses showing the current
|
385 | 501 | state of the Atlas Custom Resource
|
@@ -440,6 +556,72 @@ spec:
|
440 | 556 | id:
|
441 | 557 | description: The ID of the Atlas Project
|
442 | 558 | type: string
|
| 559 | + networkPeers: |
| 560 | + description: The list of network peers that are configured for current |
| 561 | + project |
| 562 | + items: |
| 563 | + properties: |
| 564 | + atlasGcpProjectId: |
| 565 | + description: ProjectID of Atlas container. Applicable only for |
| 566 | + GCP. It's needed to add network peer connection. |
| 567 | + type: string |
| 568 | + atlasNetworkName: |
| 569 | + description: Atlas Network Name. Applicable only for GCP. It's |
| 570 | + needed to add network peer connection. |
| 571 | + type: string |
| 572 | + connectionId: |
| 573 | + description: Unique identifier of the network peer connection. |
| 574 | + Applicable only for AWS. |
| 575 | + type: string |
| 576 | + containerId: |
| 577 | + description: ContainerID of Atlas network peer container. |
| 578 | + type: string |
| 579 | + errorMessage: |
| 580 | + description: Error state of the network peer. Applicable only |
| 581 | + for GCP. |
| 582 | + type: string |
| 583 | + errorState: |
| 584 | + description: Error state of the network peer. Applicable only |
| 585 | + for Azure. |
| 586 | + type: string |
| 587 | + errorStateName: |
| 588 | + description: Error state of the network peer. Applicable only |
| 589 | + for AWS. |
| 590 | + type: string |
| 591 | + gcpProjectId: |
| 592 | + description: ProjectID of the user's vpc. Applicable only for |
| 593 | + GCP. |
| 594 | + type: string |
| 595 | + id: |
| 596 | + description: Unique identifier for NetworkPeer. |
| 597 | + type: string |
| 598 | + providerName: |
| 599 | + description: Cloud provider for which you want to retrieve a |
| 600 | + network peer. |
| 601 | + type: string |
| 602 | + region: |
| 603 | + description: Region for which you want to create the network |
| 604 | + peer. It isn't needed for GCP |
| 605 | + type: string |
| 606 | + status: |
| 607 | + description: Status of the network peer. Applicable only for |
| 608 | + GCP and Azure. |
| 609 | + type: string |
| 610 | + statusName: |
| 611 | + description: Status of the network peer. Applicable only for |
| 612 | + AWS. |
| 613 | + type: string |
| 614 | + vpc: |
| 615 | + description: VPC is general purpose field for storing the name |
| 616 | + of the VPC. VPC is vpcID for AWS, user networkName for GCP, |
| 617 | + and vnetName for Azure. |
| 618 | + type: string |
| 619 | + required: |
| 620 | + - id |
| 621 | + - providerName |
| 622 | + - region |
| 623 | + type: object |
| 624 | + type: array |
443 | 625 | observedGeneration:
|
444 | 626 | description: ObservedGeneration indicates the generation of the resource
|
445 | 627 | specification that the Atlas Operator is aware of. The Atlas Operator
|
|
0 commit comments