Skip to content

Commit 46bff3b

Browse files
authored
Merge pull request #98 from GDATASoftwareAG/93_Fix_update_function_for_gdscan_pod
Fix update function for gdscan pod #93
2 parents 4212d6f + df42899 commit 46bff3b

File tree

3 files changed

+15
-7
lines changed

3 files changed

+15
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
fetch-depth: 0
2424
path: vaas-helm
25-
25+
2626
- name: Checkout Vaas Java SDK
2727
uses: actions/checkout@v4
2828
with:
@@ -72,7 +72,7 @@ jobs:
7272
- name: Set up kubectl
7373
uses: azure/setup-kubectl@v4
7474
with:
75-
version: 'latest'
75+
version: "latest"
7676

7777
- name: Install Helm
7878
uses: azure/setup-helm@v4
@@ -125,11 +125,10 @@ jobs:
125125
export SCAN_PATH=$(pwd)/build.gradle
126126
export CLIENT_ID=vaas
127127
export CLIENT_SECRET=$(minikube kubectl -- get secret -n vaas vaas-client-secret -o jsonpath="{.data.secret}" | base64 -d)
128-
export VAAS_URL=ws://vaas/ws
128+
export VAAS_URL=http://vaas
129129
export TOKEN_URL=http://vaas/auth/protocol/openid-connect/token
130130
gradle fileScan
131-
gradle fileScan
132-
minikube kubectl -- logs -n vaas $(minikube kubectl -- get pods -n vaas -l app.kubernetes.io/name=gateway -o jsonpath="{.items[0].metadata.name}") | grep "Got verdict from store: Clean"
131+
minikube kubectl -- logs -n vaas $(minikube kubectl -- get pods -n vaas -l app.kubernetes.io/name=gateway -o jsonpath="{.items[0].metadata.name}") | grep '"Verdict":"Clean","Url":null,"Source":"Cache"'
133132
cd -
134133
135134
- name: Push chart

charts/vaas/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: vaas
3-
version: 2.5.2
3+
version: 2.6.0
44
description: Deployment of a Verdict-as-a-Service on-premise instance
55
maintainers:
66
- name: G DATA CyberDefense AG

charts/vaas/values.yaml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ gateway:
160160
drop: ["ALL"]
161161
seccompProfile:
162162
type: RuntimeDefault
163+
runAsUser: 1001
164+
runAsGroup: 1001
163165
image:
164166
repository: ghcr.io/gdatasoftwareag/vaas/gateway
165167
pullPolicy: Always
@@ -211,6 +213,8 @@ gdscan:
211213
drop: ["ALL"]
212214
seccompProfile:
213215
type: RuntimeDefault
216+
runAsUser: 1001
217+
runAsGroup: 1001
214218
terminationGracePeriodSeconds: 30
215219

216220
nameOverride: ""
@@ -283,6 +287,8 @@ gdscan:
283287
drop: ["ALL"]
284288
seccompProfile:
285289
type: RuntimeDefault
290+
runAsUser: 1000
291+
runAsGroup: 1000
286292
podAnnotations: {}
287293
enabled: true
288294
# every hour
@@ -316,7 +322,8 @@ redis:
316322
enabled: false
317323
podSecurityContext:
318324
enabled: true
319-
fsGroup: 1654
325+
fsGroupChangePolicy: "OnRootMismatch"
326+
fsGroup: 1001
320327
containerSecurityContext:
321328
enabled: true
322329
readOnlyRootFilesystem: true
@@ -326,5 +333,7 @@ redis:
326333
drop: ["ALL"]
327334
seccompProfile:
328335
type: RuntimeDefault
336+
runAsUser: 1001
337+
runAsGroup: 1001
329338
networkPolicy:
330339
enabled: true

0 commit comments

Comments
 (0)