File tree Expand file tree Collapse file tree 3 files changed +13
-3
lines changed
manifests/audittrail-adapter Expand file tree Collapse file tree 3 files changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -685,6 +685,7 @@ audittrail_url: "https://audittrail.cloud.zalando.com"
685
685
{{else}}
686
686
audittrail_url : " "
687
687
{{end}}
688
+ audittrail_nakadi_url : " "
688
689
audittrail_root_account_role : " "
689
690
690
691
audittrail_adapter_cpu : " 50m"
Original file line number Diff line number Diff line change 1
- {{- if .Cluster.ConfigItems.audittrail_url }}
1
+ {{- if or .Cluster.ConfigItems.audittrail_url .Cluster.ConfigItems.audittrail_nakadi_url }}
2
2
apiVersion : " zalando.org/v1"
3
3
kind : PlatformCredentialsSet
4
4
metadata :
@@ -8,7 +8,15 @@ metadata:
8
8
application : " audittrail-adapter"
9
9
spec :
10
10
application : " audittrail-adapter"
11
+ token_version : v2
11
12
tokens :
13
+ {{- end }}
14
+ {{- if .Cluster.ConfigItems.audittrail_url }}
12
15
audittrail :
13
16
privileges : []
14
17
{{- end }}
18
+ {{- if .Cluster.ConfigItems.audittrail_nakadi_url }}
19
+ nakadi :
20
+ privileges :
21
+ - com.zalando::nakadi.event_stream.write
22
+ {{- end }}
Original file line number Diff line number Diff line change @@ -33,15 +33,16 @@ spec:
33
33
hostNetwork : true
34
34
containers :
35
35
- name : audittrail-adapter
36
- image : container-registry.zalando.net/teapot/audittrail-adapter:master-49
36
+ image : container-registry.zalando.net/teapot/audittrail-adapter:master-51
37
37
env :
38
38
- name : AWS_REGION
39
39
value : " {{ .Cluster.Region }}"
40
40
args :
41
41
- --cluster-id={{ .Cluster.ID }}
42
42
- --cluster-alias={{ .Cluster.Alias }}
43
43
- --audittrail-url={{ .Cluster.ConfigItems.audittrail_url }}
44
- - --s3-fallback-bucket-name=zalando-audittrail-{{accountID .Cluster.InfrastructureAccount}}-{{ .Cluster.LocalID }}
44
+ - --s3-fallback-bucket-name=zalando-audittrail-{{ accountID .Cluster.InfrastructureAccount }}-{{ .Cluster.LocalID }}
45
+ - --nakadi-url={{ .Cluster.ConfigItems.audittrail_nakadi_url }}
45
46
- --address=:8889
46
47
- --metrics-address=:7980
47
48
- --audittrail-timeout={{ .Cluster.ConfigItems.audittrail_adapter_timeout }}
You can’t perform that action at this time.
0 commit comments