File tree 4 files changed +14
-10
lines changed
4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 25
25
- name : Run go test
26
26
run : make test
27
27
28
- - name : Run Whitesource/Mend scan
29
- run : |
30
- curl -LJO https://github.com/whitesource/unified-agent-distribution/releases/latest/download/wss-unified-agent.jar
31
- export WS_CHECHKPOLICIES=true
32
- export WS_FORCECHECKALLDEPENDENCIES=true
33
- export WS_FORCEUPDATE=true
34
- export WS_UPDATEINVENTORY=true
35
- java -jar wss-unified-agent.jar -apiKey ${{ secrets.MEND_API_KEY }} -product ${{ secrets.MEND_PRODUCT_NAME }} -project WS-fishymetrics
36
-
37
28
build :
38
29
runs-on : ubuntu-latest
39
30
steps :
Original file line number Diff line number Diff line change @@ -6,6 +6,10 @@ log is based on the [Keep a CHANGELOG](http://keepachangelog.com/) project.
6
6
7
7
## Unreleased
8
8
9
+ ## Updated
10
+
11
+ - increase security context for kubernetes helm chart deployment [ #102 ] ( https://github.com/Comcast/fishymetrics/issues/102 )
12
+
9
13
## [ 0.12.1]
10
14
11
15
## Fixed
Original file line number Diff line number Diff line change @@ -7,4 +7,4 @@ maintainers:
7
7
8
8
name : Ibrahim Khalilullah Khan
9
9
name : fishymetrics
10
- version : 0.10.4
10
+ version : 0.10.5
Original file line number Diff line number Diff line change 48
48
ports :
49
49
- containerPort : {{ .Values.exporter.port }}
50
50
name : exporter
51
+ securityContext :
52
+ allowPrivilegeEscalation : false
53
+ readOnlyRootFilesystem : true
54
+ runAsNonRoot : true
55
+ runAsUser : 1000
56
+ capabilities :
57
+ drop :
58
+ - ALL
59
+ add : ["NET_BIND_SERVICE"]
51
60
args :
52
61
{{- if .Values.credentials }}
53
62
- --credentials.profiles={{ toJson .Values.credentials }}
You can’t perform that action at this time.
0 commit comments