Skip to content

alb.ingress.kubernetes.io/certificate-arn ordering: first certificate arn should be load bal default #1836

@bbacker

Description

@bbacker

Thank you for all your work on this project.

We are running aws-load-balancer-controller:v2.1.1 and have a couple load balancers with multiple certificates.
It was our understanding that the first listed certificate should be the default certificate.

However after applying an alb definition starting like this:

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: "ingress-vert1"
  namespace: prod
  annotations:
    kubernetes.io/ingress.class: alb
    alb.ingress.kubernetes.io/subnets: 'subnet-1, subnet-2, subnet-3'
    alb.ingress.kubernetes.io/certificate-arn: 'arn1, arn2, arn3'
    alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80,"HTTPS": 443}]'

However after applying, I find my load balancer with arn2 as the default. (full arns shortened for brevity)

Is this expected behavior? If ordering is not yet important, could this be an enhancement request that the first listed
arn1 be made the load balancer default?

We have a very old client that is sensitive to which certificate is the default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bugCategorizes issue or PR as related to a bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions