Skip to content

Commit

Permalink
gdscan (deployment & stateful set)
Browse files Browse the repository at this point in the history
* Mount only 1 volume: "samples" to /tmp
* If PVC is configured, temp files from engines will no longer clog up the node
  • Loading branch information
Philip Stadermann committed May 29, 2024
1 parent b38d8c1 commit 8fa1f5e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion charts/vaas/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: vaas
version: "1.6.2"
version: "1.6.3"
description: Deployment of a Verdict-as-a-Service on-premise instance
maintainers:
- name: G DATA CyberDefense AG
Expand Down
4 changes: 0 additions & 4 deletions charts/vaas/templates/gdscan/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ spec:
medium : "Memory"
{{- end }}
{{- end }}
- name: client-tmp
emptyDir: {}
{{- include "gdscan.imagePullSecrets" . | nindent 6 }}
containers:
- name: {{ .Values.gdscan.client.name }}
Expand All @@ -47,8 +45,6 @@ spec:
{{- end }}
volumeMounts:
- name: samples
mountPath: /tmp/scan
- name: client-tmp
mountPath: /tmp
resources:
{{- toYaml .Values.gdscan.client.resources | nindent 12 }}
Expand Down
9 changes: 0 additions & 9 deletions charts/vaas/templates/gdscan/stateful-set.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,6 @@ spec:
{{- include "gdscan.selectorLabels" . | nindent 8 }}
spec:
{{- include "gdscan.imagePullSecrets" . | nindent 6 }}
volumes:
- name: server-tmp
emptyDir: {}
- name: client-tmp
emptyDir: {}
- name: server-var-log
emptyDir: {}
containers:
- name: {{ .Values.gdscan.client.name }}
image: "{{ .Values.gdscan.client.image.repository }}:{{ .Values.gdscan.client.image.tag | default .Chart.AppVersion }}"
Expand All @@ -48,8 +41,6 @@ spec:
{{- end }}
volumeMounts:
- name: samples
mountPath: /tmp/scan
- name: client-tmp
mountPath: /tmp
resources:
{{- toYaml .Values.gdscan.client.resources | nindent 12 }}
Expand Down

0 comments on commit 8fa1f5e

Please sign in to comment.