Skip to content

Commit 6a398f8

Browse files
committed
feat: Add url field to ToolGatewayStatus
1 parent b056f80 commit 6a398f8

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

api/v1alpha1/toolgateway_types.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ type ToolGatewaySpec struct {
4242
type ToolGatewayStatus struct {
4343
// Conditions represent the latest available observations of the gateway's state
4444
Conditions []metav1.Condition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,1,rep,name=conditions"`
45+
46+
// Url is the cluster-local URL where this tool gateway can be accessed
47+
// +optional
48+
Url string `json:"url,omitempty"`
4549
}
4650

4751
// +kubebuilder:object:root=true

config/crd/bases/runtime.agentic-layer.ai_toolgateways.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,10 @@ spec:
314314
- type
315315
type: object
316316
type: array
317+
url:
318+
description: Url is the cluster-local URL where this tool gateway
319+
can be accessed
320+
type: string
317321
type: object
318322
type: object
319323
served: true

0 commit comments

Comments
 (0)