File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,6 +136,10 @@ init-git-hooks: ## Use the tracked version of Git hooks from this repo
136136KMCP_ENABLED ?= true
137137KMCP_VERSION ?= $(shell $(AWK ) '/github\.com\/kagent-dev\/kmcp/ { print substr($$2, 2) }' go/go.mod) # KMCP version defaults to what's referenced in go.mod
138138
139+ # Substrate
140+ SUBSTRATE_ENABLED ?= false
141+ SUBSTRATE_VERSION ?= $(shell $(AWK ) '/github\.com\/kagent-dev\/substrate/ { print substr($$5, 2) }' go/go.mod) # Substrate version defaults to the replace target in go.mod
142+
139143HELM_ACTION =upgrade --install
140144
141145# Helm chart variables
@@ -394,8 +398,8 @@ helm-tools: ## Package all tool Helm charts into the dist folder
394398.PHONY : helm-version
395399helm-version : # # Stamp chart versions, update dependencies, and package kagent + kagent-crds
396400helm-version : helm-cleanup helm-agents helm-tools
397- VERSION=$(VERSION ) KMCP_VERSION=$(KMCP_VERSION ) envsubst < helm/kagent-crds/Chart-template.yaml > helm/kagent-crds/Chart.yaml
398- VERSION=$(VERSION ) KMCP_VERSION=$(KMCP_VERSION ) envsubst < helm/kagent/Chart-template.yaml > helm/kagent/Chart.yaml
401+ VERSION=$(VERSION ) KMCP_VERSION=$(KMCP_VERSION ) SUBSTRATE_VERSION= $( SUBSTRATE_VERSION ) envsubst < helm/kagent-crds/Chart-template.yaml > helm/kagent-crds/Chart.yaml
402+ VERSION=$(VERSION ) KMCP_VERSION=$(KMCP_VERSION ) SUBSTRATE_VERSION= $( SUBSTRATE_VERSION ) envsubst < helm/kagent/Chart-template.yaml > helm/kagent/Chart.yaml
399403 helm dependency update helm/kagent
400404 helm dependency update helm/kagent-crds
401405 helm package -d $(HELM_DIST_FOLDER ) helm/kagent-crds
Original file line number Diff line number Diff line change @@ -8,3 +8,7 @@ dependencies:
88 version : ${KMCP_VERSION}
99 repository : oci://ghcr.io/kagent-dev/kmcp/helm
1010 condition : kmcp.enabled
11+ - name : substrate-crds
12+ version : ${SUBSTRATE_VERSION}
13+ repository : oci://ghcr.io/kagent-dev/substrate/helm
14+ condition : substrate.enabled
Original file line number Diff line number Diff line change 1+ {{- if .Values.substrate.enabled }}
2+ ################################################################################
3+ # WARNING: SUBSTRATE IS EXPERIMENTAL, USE AT OWN RISK #
4+ ################################################################################
5+ Substrate is a product in early development, and as a result may be unstable due to
6+ schema, API, and architectural changes.
7+
8+ Kagent uses its own fork of Substrate in order to accelerate adoption. As a result,
9+ the values.yaml schema is subject to change.
10+
11+ ################################################################################
12+ {{- end }}
Original file line number Diff line number Diff line change 55# ==============================================================================
66
77kmcp :
8- enabled : true
8+ enabled : true
9+
10+ # ==============================================================================
11+ # SUBSTRATE
12+ # ==============================================================================
13+
14+ substrate :
15+ enabled : false
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ dependencies:
88 version : ${KMCP_VERSION}
99 repository : oci://ghcr.io/kagent-dev/kmcp/helm
1010 condition : kmcp.enabled
11+ - name : substrate
12+ version : ${SUBSTRATE_VERSION}
13+ repository : oci://ghcr.io/kagent-dev/substrate/helm
14+ condition : substrate.enabled
1115 - name : kagent-tools
1216 version : 0.2.1
1317 repository : oci://ghcr.io/kagent-dev/tools/helm
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ ACCESSING THE UI:
1313
1414ACCESSING THE CONTROLLER API:
1515 kubectl -n {{ include "kagent.namespace" . }} port-forward service/{{ include "kagent.fullname" . }}-controller {{ .Values.controller.service.ports.port }}:{{ .Values.controller.service.ports.port }}
16-
16+
1717 API endpoint: http://localhost:{{ .Values.controller.service.ports.port }}/api
1818
1919DEPLOYED COMPONENTS:
@@ -92,4 +92,16 @@ DOCUMENTATION:
9292 database.postgres.bundled.enabled=false
9393{{- end }}
9494{{- end }}
95+ {{- if .Values.substrate.enabled }}
96+ ################################################################################
97+ # WARNING: SUBSTRATE IS EXPERIMENTAL, USE AT OWN RISK #
98+ ################################################################################
99+ Substrate is a product in early development, and as a result may be unstable due to
100+ schema, API, and architectural changes.
101+
102+ Kagent uses its own fork of Substrate in order to accelerate adoption. As a result,
103+ the values.yaml schema is subject to change.
104+
105+ ################################################################################
106+ {{- end }}
95107################################################################################
Original file line number Diff line number Diff line change @@ -481,6 +481,13 @@ kmcp:
481481 fullnameOverride : " " # Override if desired
482482 namespaceOverride : " " # Override if desired (in conjunction with fullnameOverride to drop the `kagent-` prefix if you want)
483483
484+ # ==============================================================================
485+ # SUBSTRATE
486+ # ==============================================================================
487+
488+ substrate :
489+ enabled : false
490+
484491# ==============================================================================
485492# BUILT-IN TOOLS
486493# ==============================================================================
You can’t perform that action at this time.
0 commit comments