Skip to content

Commit

Permalink
Update default config modelscan helm values
Browse files Browse the repository at this point in the history
  • Loading branch information
PE39806 committed Dec 9, 2024
1 parent 1f813f4 commit b117e23
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 8 additions & 2 deletions infrastructure/helm/bailo/templates/bailo/bailo.configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,12 @@ data:
host: '{{ include "bailo.fullname" . }}-clamav',
port: {{ .Values.clamav.port }},
},
modelscan: {
host: '{{ include "bailo.fullname" . }}-modelscan',
port: {{ .Values.modelscan.port }},
protocol: '{{ .Values.modelscan.protocol }}',
},
},
smtp: {
Expand Down Expand Up @@ -181,8 +187,8 @@ data:
},
helpPopoverText: {
manualEntryAccess: {{ .Values.config.ui.helpPopoverText.manualEntryAccess }}
}
manualEntryAccess: '{{ .Values.config.ui.helpPopoverText.manualEntryAccess }}'
},
},
connectors: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ spec:
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
securityContext:
runAsUser: {{ .Values.modelscan.runAsUser }}
containers:
- name: {{ include "bailo.fullname" . }}-modelscan
ports:
- name: modelscanport
containerPort: 3311
containerPort: {{ .Values.modelscan.port }}
protocol: TCP
image: "{{ .Values.image.modelscanRepository }}:{{ .Values.image.modelscanTag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand All @@ -36,7 +34,7 @@ spec:
ephemeral-storage: "100Mi"
cpu: "200m"
limits:
memory: "2Gi"
memory: "1Gi"
ephemeral-storage: "300Mi"
cpu: "1"
volumeMounts:
Expand Down

0 comments on commit b117e23

Please sign in to comment.