File tree 5 files changed +10
-5
lines changed
5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 6
6
runs-on : ubuntu-latest
7
7
steps :
8
8
9
- - name : Set up Go 1.19
9
+ - name : Set up Go 1.20
10
10
uses : actions/setup-go@v3
11
11
with :
12
- go-version : 1.19
12
+ go-version : 1.20
13
13
id : go
14
14
15
15
- name : Check out code into the Go module directory
Original file line number Diff line number Diff line change 1
1
.idea /
2
- .DS_Store
3
- fork.sh
2
+ .DS_Store
Original file line number Diff line number Diff line change 1
- FROM golang:1.19 AS builder
1
+ FROM golang:1.20 AS builder
2
2
3
3
ADD . /app
4
4
WORKDIR /app
Original file line number Diff line number Diff line change @@ -68,6 +68,11 @@ receivers:
68
68
* A route can have many sub-routes, forming a tree.
69
69
* Routing starts from the root route.
70
70
71
+ ## Using Secrets
72
+
73
+ In your config file, you can refer to environment variables as ` ${API_KEY} ` therefore you can use ConfigMap or Secrets
74
+ to keep the config file clean of secrets.
75
+
71
76
## Troubleshoot "Events Discarded" warning:
72
77
73
78
- If there are ` client-side throttling ` warnings in the event-exporter log:
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ receivers:
36
36
hosts :
37
37
- " http://localhost:9200"
38
38
indexFormat : " kube-events-{2006-01-02}"
39
+ apiKey : ${ELASTIC_API_KEY}
39
40
- name : " opensearch-dump"
40
41
opensearch :
41
42
hosts :
You can’t perform that action at this time.
0 commit comments