File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func main() {
54
54
MetricsBindAddress: ackCfg.MetricsAddr,
55
55
LeaderElection: ackCfg.EnableLeaderElection,
56
56
LeaderElectionID: awsServiceAPIGroup,
57
- Namespace: ackCfg.ListenNamespace ,
57
+ Namespace: ackCfg.WatchNamespace ,
58
58
} )
59
59
if err != nil {
60
60
setupLog.Error(
Original file line number Diff line number Diff line change 36
36
- "$(ACK_LOG_LEVEL)"
37
37
- --resource-tags
38
38
- "$(ACK_RESOURCE_TAGS)"
39
- - --listen -namespace
40
- - "$(ACK_LISTEN_NAMESPACE )"
39
+ - --watch -namespace
40
+ - "$(ACK_WATCH_NAMESPACE )"
41
41
image: controller:latest
42
42
name: controller
43
43
ports:
Original file line number Diff line number Diff line change 47
47
- " $(ACK_LOG_LEVEL)"
48
48
- --resource-tags
49
49
- " $(ACK_RESOURCE_TAGS)"
50
- - --listen -namespace
51
- - " $(ACK_LISTEN_NAMESPACE )"
50
+ - --watch -namespace
51
+ - " $(ACK_WATCH_NAMESPACE )"
52
52
image : {{ .Values.image.repository }}:{{ .Values.image.tag }}
53
53
name : controller
54
54
ports :
62
62
fieldPath : metadata.namespace
63
63
- name : AWS_REGION
64
64
value : {{ .Values.aws.region }}
65
- - name : ACK_LISTEN_NAMESPACE
66
- value : {{ .Values.listenNamespace }}
65
+ - name : ACK_WATCH_NAMESPACE
66
+ value : {{ .Values.watchNamespace }}
67
67
- name : ACK_RESOURCE_TAGS
68
68
value : {{ join "," .Values.resourceTags | quote }}
69
69
terminationGracePeriodSeconds : 10
Original file line number Diff line number Diff line change 28
28
# If specified, use the AWS region for AWS API calls
29
29
region: ""
30
30
31
- listenNamespace: ""
31
+ # If specified, the service controller will watch for object creation only in the provided namespace
32
+ watchNamespace: ""
32
33
33
34
resourceTags:
34
35
# Configures the ACK service controller to always set key/value pairs tags on resources that it manages.
You can’t perform that action at this time.
0 commit comments