How openshift/aws-vpce-operator works
Main Components
a. Operator Core Components:
• Custom Resource Definitions (CRDs)
• VpcEndpoint (v1alpha1, v1alpha2)
• VpcEndpointAcceptance (v1alpha1)
• VpcEndpointTemplate (v1alpha2)
• AvoConfig (v1alpha1)
b. Controller Components:
• VPC Endpoint Controller
• VPC Endpoint Acceptance Controller
• VPC Endpoint Template Controller
c. External Systems:
• AWS Services
• VPC Endpoint Services
• Route53
• Security Groups
• IAM
• OpenShift Cluster Components
• DNS Operator
• Infrastructure Operator
• OpenShift Cluster |
• AVO Operator | | OpenShift Core | | Customer Workloads | |
• [Controllers] | | - DNS Operator | | - ExternalName Services | |
• VPCEndpoint | | - Infrastructure | | - Applications | |
• Acceptance | | Operator | | | |
• Template | | | | | |
• v v
• AWS Account |
• VPC Endpoints | | Route53 | | Security Groups | |
• IAM Roles | | VPC Endpoint | |
• Services | |
Key Relationships
• Control flow (blue)
• Data flow (green)
• Authentication/Authorization (red)
Important Details
a. Controller Workflows:
• VpcEndpoint controller managing VPC endpoints and security groups
• VpcEndpointAcceptance controller handling cross-account acceptance
• VpcEndpointTemplate controller for template-based endpoint creation
b. AWS Integration Points:
• IAM permissions and roles
• VPC endpoint service connections
• Route53 private hosted zones
• Security group management
Technical Details to Highlight
• AWS IAM permission requirements
• Kubernetes RBAC configurations
• Custom resource relationships
• Monitoring and metrics endpoints
• Security group rule management
Remember to include the auto-discovery capabilities and the relationship between the operator and OpenShift's infrastructure components, as these are core features of the system.