-
Notifications
You must be signed in to change notification settings - Fork 270
Open
Labels
service/apigatewayv2Indicates issues or PRs that are related to apigatewayv2-controller.Indicates issues or PRs that are related to apigatewayv2-controller.
Description
Describe the bug
Creating DomainName
resource for API Gateway v2 of Edge type is not possible.
API Gateway v1 controller has no DomainName
resource, so it is not possible to use the v1 controller.
Steps to reproduce
- Have valid ACM certificate in same region
- Create DomainName with
spec.domainNameConfigurations[*].endpointType
"EDGE".
Expected outcome
Custom domain name of type EDGE
is created.
Environment
- Kubernetes version: v1.32.5-eks-5d4a308
- Using EKS (yes/no), if so version? Yes, v1.32.5-eks-5d4a308
- AWS service targeted (S3, RDS, etc.): API Gateway v2
It's a valid enum for the custom resource https://github.com/aws-controllers-k8s/apigatewayv2-controller/blob/df8020bbe2ae362723c9fce7e6b5c4d5d587cfaa/apis/v1alpha1/enums.go#L68
apiVersion: apigatewayv2.services.k8s.aws/v1alpha1
kind: DomainName
metadata:
name: ariel.nonprod.idp.srt.global
spec:
domainName: ariel.nonprod.idp.srt.global
domainNameConfigurations:
- certificateARN: "arn:aws:acm:eu-west-1:999999999999:certificate/9e211d6c-43eb-44ac-a8c6-ffe09f9a7f53"
endpointType: EDGE
Outcome:
status:
ackResourceMetadata:
ownerAccountID: "487409146247"
region: eu-west-1
conditions:
- message: 'BadRequestException: EDGE endpoint type is not supported for APIGatewayV2
domainName'
status: "True"
type: ACK.Terminal
- lastTransitionTime: "2025-07-08T02:57:42Z"
message: Resource not synced
reason: resource is in terminal condition
status: "False"
type: ACK.ResourceSynced
Metadata
Metadata
Assignees
Labels
service/apigatewayv2Indicates issues or PRs that are related to apigatewayv2-controller.Indicates issues or PRs that are related to apigatewayv2-controller.