File tree Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Expand file tree Collapse file tree 4 files changed +14
-3
lines changed Original file line number Diff line number Diff line change @@ -17,5 +17,4 @@ require (
17
17
github.com/stretchr/testify v1.7.0
18
18
golang.org/x/mod v0.4.1
19
19
k8s.io/apimachinery v0.20.1
20
- k8s.io/utils v0.0.0-20201110183641-67b214c5f920
21
20
)
Original file line number Diff line number Diff line change @@ -61,8 +61,8 @@ github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmV
61
61
github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 /go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8 =
62
62
github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf /go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY =
63
63
github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a /go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY =
64
- github.com/aws-controllers-k8s/runtime v0.1 .0 h1:XTBQf7hn0792yuCRy58IZpbZoGMrGCpSK2mZXkof5W4 =
65
- github.com/aws-controllers-k8s/runtime v0.1 .0 /go.mod h1:xA2F18PJerBHaqrS4de1lpP7skeSMeStkmh+3x5sWvw =
64
+ github.com/aws-controllers-k8s/runtime v0.2 .0 h1:gd0Kq8xGelgkZoNjr8yZbHfpvPA1R+wfMCi1lT4H8x4 =
65
+ github.com/aws-controllers-k8s/runtime v0.2 .0 /go.mod h1:xA2F18PJerBHaqrS4de1lpP7skeSMeStkmh+3x5sWvw =
66
66
github.com/aws/aws-sdk-go v1.37.4 h1:tWxrpMK/oRSXVnjUzhGeCWLR00fW0WF4V4sycYPPrJ8 =
67
67
github.com/aws/aws-sdk-go v1.37.4 /go.mod h1:hcU610XS61/+aQV88ixoOzUoG7v3b31pl2zKMmprdro =
68
68
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973 /go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q =
Original file line number Diff line number Diff line change @@ -60,10 +60,16 @@ spec:
60
60
valueFrom :
61
61
fieldRef :
62
62
fieldPath : metadata.namespace
63
+ - name : AWS_ACCOUNT_ID
64
+ value : {{ .Values.aws.account_id | quote }}
63
65
- name : AWS_REGION
64
66
value : {{ .Values.aws.region }}
65
67
- name : ACK_WATCH_NAMESPACE
66
68
value : {{ .Values.watchNamespace }}
69
+ - name : ACK_ENABLE_DEVELOPMENT_LOGGING
70
+ value : {{ .Values.log.enable_development_logging | quote }}
71
+ - name : ACK_LOG_LEVEL
72
+ value : {{ .Values.log.level | quote }}
67
73
- name : ACK_RESOURCE_TAGS
68
74
value : {{ join "," .Values.resourceTags | quote }}
69
75
terminationGracePeriodSeconds : 10
Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ resources:
27
27
aws:
28
28
# If specified, use the AWS region for AWS API calls
29
29
region: ""
30
+ account_id: ""
31
+
32
+ # log level for the controller
33
+ log:
34
+ enable_development_logging: false
35
+ level: info
30
36
31
37
# If specified, the service controller will watch for object creation only in the provided namespace
32
38
watchNamespace: ""
You can’t perform that action at this time.
0 commit comments