Reputation: 16803
I see a lot of posts in Stackoverflow relating to this subject, but I think they're not exactly the same.
Currently we have AWS ALBs with HTTPS listeners with multiple rules, and each listener rule is a /path/*
. I know how to model that with Ingress Controller and Ingress objects now.
However our ALBs have have 2 certificate ARNs to serve two different domains. I know Ingress has this annotation now.
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-west-2:XXXXXXXXXXXX:certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
But how do I add another certificate?
Upvotes: 0
Views: 1134
Reputation: 1053
Just separate the arn certificates with comma that k8s automagically identifies the correct certificate for each rule:
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:us-west-2:XXXXXXXXXXXX:certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx,arn:aws:acm:us-west-2:XXXXXXXXXXXX:certificate/xxxxxxxx-xxxx-xxxx-xxxx-2222222222222
Upvotes: 1