Skip to content

Commit

Permalink
chore: add some performance related config to the chat
Browse files Browse the repository at this point in the history
Signed-off-by: Donnie Adams <[email protected]>
  • Loading branch information
thedadams committed Mar 6, 2025
1 parent 3025054 commit 2eedaa8
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 2 deletions.
16 changes: 15 additions & 1 deletion chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,21 @@ spec:
secretKeyRef:
name: {{ include "obot.config.secretName" . }}
key: knowledgeFileWorkers
{{- end }}
{{- end }}
{{- if .Values.config.kinmDBConnections }}
- name: "KINM_DB_CONNECTIONS"
valueFrom:
secretKeyRef:
name: {{ include "obot.config.secretName" . }}
key: kinmDBConnections
{{- end }}
{{- if .Values.config.ignoreInactiveObjects }}
- name: "OBOT_SERVER_IGNORE_INACTIVE"
valueFrom:
secretKeyRef:
name: {{ include "obot.config.secretName" . }}
key: ignoreInactiveObjects
{{- end }}
{{- if .Values.config.githubAuthToken }}
- name: "GITHUB_AUTH_TOKEN"
valueFrom:
Expand Down
8 changes: 7 additions & 1 deletion chart/templates/secret.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ data:
{{- if .Values.config.nahThreadiness }}
nahThreadiness: {{ .Values.config.nahThreadiness | b64enc }}
{{- end }}
{{- if .Values.config.knowledgeFileWorkers }}
{{- if .Values.config.knowledgeFileWorkers }}
knowledgeFileWorkers: {{ .Values.config.knowledgeFileWorkers | b64enc }}
{{- end }}
{{- if .Values.config.kinmDBConnections }}
kinmDBConnections: {{ .Values.config.kinmDBConnections | b64enc }}
{{- end }}
{{- if .Values.config.ignoreInactiveObjects }}
ignoreInactiveObjects: {{ .Values.config.ignoreInactiveObjects | b64enc }}
{{- end }}
{{- if .Values.config.gcpKMSKeyURI }}
gcpKMSKeyURI: {{ .Values.config.gcpKMSKeyURI | b64enc }}
{{- end }}
Expand Down
6 changes: 6 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ config:
# config.knowledgeFileWorkers -- Advanced - sets the number of workers for knowledge
knowledgeFileWorkers: "5"

# config.kinmDBConnections -- Advanced - the number of connections in the database pool for kinm
kinmDBConnections: "5"

# config.ignoreInactiveObjects -- whether the controller objects that have been marked as inactive
ignoreInactiveObjects: false

# config.githubAuthToken -- A github PAT, used to authenticate tool pulls to avoid github ratelimiting
githubAuthToken: ""
# config.obotServerEnableAuthentication -- Enables authentication for Obot
Expand Down

0 comments on commit 2eedaa8

Please sign in to comment.