Skip to content

Commit

Permalink
move internal annotations into conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxxstorm committed Apr 16, 2024
1 parent ee4c46c commit 56417dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion provider/pkg/provider/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,6 @@ func NewCluster(ctx *pulumi.Context,
"service.beta.kubernetes.io/aws-load-balancer-internal": pulumi.Bool(true),
"service.beta.kubernetes.io/aws-load-balancer-backend-protocol": pulumi.String("tcp"),
"service.beta.kubernetes.io/aws-load-balancer-type": args.LbType,
"service.beta.kubernetes.io/aws-load-balancer-nlb-target-type": args.IngressConfig.NlbTargetType,
}
if args.IngressConfig != nil && args.IngressConfig.NlbTargetType != nil {
internalAnnotations["service.beta.kubernetes.io/aws-load-balancer-nlb-target-type"] = args.IngressConfig.NlbTargetType
Expand Down

0 comments on commit 56417dd

Please sign in to comment.