Skip to content
Open
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
6 changes: 6 additions & 0 deletions helm/kagent-tools/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ spec:
args:
- "--port"
- "{{ .Values.service.ports.tools.targetPort }}"
{{- if .Values.tools.enabledTools }}
- "--tools={{ join "," .Values.tools.enabledTools }}"
{{- end }}
{{- with .Values.tools.extraArgs }}
{{- toYaml . | nindent 10 }}
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.tools.image.registry }}/{{ .Values.tools.image.repository }}:{{ coalesce .Values.global.tag .Values.tools.image.tag .Chart.Version }}"
Expand Down
9 changes: 9 additions & 0 deletions helm/kagent-tools/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ global:

tools:
loglevel: "debug"
# List of tool providers to enable. Empty list means all tools are enabled.
# Available: k8s, helm, istio, cilium, argo, prometheus, kubescape, utils
enabledTools: []
# - k8s
# - helm
# - prometheus
# Additional command-line arguments
extraArgs: []
# - "--some-future-flag"
image:
registry: ghcr.io
repository: kagent-dev/kagent/tools
Expand Down