Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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: 3.3.0-beta.3
version: 3.3.0-beta.4
description: Deployment of a Verdict-as-a-Service on-premise instance
maintainers:
- name: G DATA CyberDefense AG
Expand Down
43 changes: 43 additions & 0 deletions charts/vaas/templates/gateway/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,49 @@ spec:
- name: ws
containerPort: {{ .Values.gateway.service.ws.port }}
protocol: TCP
{{- if .Values.gateway.metrics.enabled }}
- name: metrics
containerPort: {{ .Values.gateway.metrics.targetPort }}
protocol: TCP
{{- if .Values.gateway.metrics.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: {{ .Values.gateway.metrics.livenessProbe.httpGet.path }}
port: {{ .Values.gateway.metrics.livenessProbe.httpGet.port | default "metrics" }}
timeoutSeconds: {{ .Values.gateway.metrics.livenessProbe.timeoutSeconds }}
{{- with .Values.gateway.metrics.livenessProbe.initalDelaySeconds }}
initialDelaySeconds: {{ . }}
{{- end }}
{{- with .Values.gateway.metrics.livenessProbe.periodSeconds }}
periodSeconds: {{ . }}
{{- end }}
{{- with .Values.gateway.metrics.livenessProbe.successThreshold }}
successThreshold: {{ . }}
{{- end }}
{{- with .Values.gateway.metrics.livenessProbe.failureThreshold }}
failureThreshold: {{ . }}
{{- end }}
{{- end }}
{{- if .Values.gateway.metrics.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: {{ .Values.gateway.metrics.readinessProbe.httpGet.path }}
port: {{ .Values.gateway.metrics.readinessProbe.httpGet.port | default "metrics" }}
timeoutSeconds: {{ .Values.gateway.metrics.readinessProbe.timeoutSeconds }}
{{- with .Values.gateway.metrics.readinessProbe.initalDelaySeconds }}
initialDelaySeconds: {{ . }}
{{- end }}
{{- with .Values.gateway.metrics.readinessProbe.periodSeconds }}
periodSeconds: {{ . }}
{{- end }}
{{- with .Values.gateway.metrics.readinessProbe.successThreshold }}
successThreshold: {{ . }}
{{- end }}
{{- with .Values.gateway.metrics.readinessProbe.failureThreshold }}
failureThreshold: {{ . }}
{{- end }}
{{- end }}
{{- end }}
resources:
{{- toYaml .Values.gateway.resources | nindent 12 }}
{{- with .Values.gateway.nodeSelector }}
Expand Down
11 changes: 11 additions & 0 deletions charts/vaas/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,17 @@ gateway:

metrics:
enabled: false
targetPort: 9110
livenessProbe:
enabled: true
httpGet:
path: /health
timeoutSeconds: 5
readinessProbe:
enabled: true
httpGet:
path: /health
timeoutSeconds: 5
port: http
path: /metrics

Expand Down