generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Labels
kind/enhancementCategorizes issue or PR as related to existing feature enhancements.Categorizes issue or PR as related to existing feature enhancements.service/acmIndicates issues or PRs that are related to acm-controller.Indicates issues or PRs that are related to acm-controller.
Description
Describe the bug
ACM Certificates can only be imported from Kubernetes secrets of type opaque. However, when using cert-manager with AWSPCAIssuer, secrets of type kubernetes.io/tls are created. These PCA certificates can not be imported into ACM due to the secret type.
Steps to reproduce
- Create a Kubernetes secrets of type kubernetes.io/tls (either via cert-manager or manually)
- Import Certificate into ACM
apiVersion: acm.services.k8s.aws/v1alpha1
kind: Certificate
metadata:
name: example
namespace: example
spec:
certificate:
key: tls.key
name: example
namespace: example
privateKey:
key: tls.crt
name: example
namespace: exampleExpected outcome
I expected the kubernetes.io/tls secret to be successfully imported and for a certificate to show in ACM.
Environment
- Kubernetes version
- 1.34
- Using EKS (yes/no), if so version?
- v1.34.1-eks-3cfe0ce
- AWS service targeted (S3, RDS, etc.)
- ACM
Metadata
Metadata
Assignees
Labels
kind/enhancementCategorizes issue or PR as related to existing feature enhancements.Categorizes issue or PR as related to existing feature enhancements.service/acmIndicates issues or PRs that are related to acm-controller.Indicates issues or PRs that are related to acm-controller.