We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ef5a0fa + 0ee318d commit d0f2a34Copy full SHA for d0f2a34
internal/ingress/annotations/action/main.go
@@ -4,6 +4,8 @@ import (
4
"encoding/json"
5
"fmt"
6
7
+ "github.com/kubernetes-sigs/aws-alb-ingress-controller/internal/ingress/errors"
8
+
9
extensions "k8s.io/api/extensions/v1beta1"
10
11
"github.com/aws/aws-sdk-go/aws"
@@ -34,6 +36,9 @@ func (a action) Parse(ing parser.AnnotationInterface) (interface{}, error) {
34
36
actions := make(map[string]*elbv2.Action)
35
37
annos, err := parser.GetStringAnnotations("actions", ing)
38
if err != nil {
39
+ if errors.IsMissingAnnotations(err) {
40
+ return &Config{}, nil
41
+ }
42
return nil, err
43
}
44
0 commit comments