Skip to content

Commit 2377edf

Browse files
committed
Bump toolhive operator version and fix linting issues
1 parent 4dc64c0 commit 2377edf

4 files changed

Lines changed: 16 additions & 7 deletions

File tree

cmd/thv-operator/controllers/embeddingserver_controller.go

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,10 @@ func (r *EmbeddingServerReconciler) buildPodTemplate(
755755
}
756756

757757
// mergePodTemplateSpec merges user-provided PodTemplateSpec customizations
758-
func (r *EmbeddingServerReconciler) mergePodTemplateSpec(embedding *mcpv1alpha1.EmbeddingServer, podTemplate *corev1.PodTemplateSpec) {
758+
func (r *EmbeddingServerReconciler) mergePodTemplateSpec(
759+
embedding *mcpv1alpha1.EmbeddingServer,
760+
podTemplate *corev1.PodTemplateSpec,
761+
) {
759762
if embedding.Spec.PodTemplateSpec == nil {
760763
return
761764
}
@@ -841,7 +844,10 @@ func (*EmbeddingServerReconciler) applyDeploymentOverrides(
841844
}
842845

843846
// serviceForEmbedding creates a Service for the embedding server
844-
func (r *EmbeddingServerReconciler) serviceForEmbedding(_ context.Context, embedding *mcpv1alpha1.EmbeddingServer) *corev1.Service {
847+
func (r *EmbeddingServerReconciler) serviceForEmbedding(
848+
_ context.Context,
849+
embedding *mcpv1alpha1.EmbeddingServer,
850+
) *corev1.Service {
845851
labels := r.labelsForEmbedding(embedding)
846852
annotations := make(map[string]string)
847853

@@ -909,7 +915,10 @@ func (r *EmbeddingServerReconciler) deploymentNeedsUpdate(
909915
}
910916

911917
// updateEmbeddingServerStatus updates the status based on deployment state
912-
func (r *EmbeddingServerReconciler) updateEmbeddingServerStatus(ctx context.Context, embedding *mcpv1alpha1.EmbeddingServer) error {
918+
func (r *EmbeddingServerReconciler) updateEmbeddingServerStatus(
919+
ctx context.Context,
920+
embedding *mcpv1alpha1.EmbeddingServer,
921+
) error {
913922
ctxLogger := log.FromContext(ctx)
914923

915924
deployment := &appsv1.Deployment{}

deploy/charts/operator-crds/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ However, placing CRDs in `templates/` means they would be deleted when the Helm
5151
## Values
5252

5353
| Key | Type | Default | Description |
54-
|-----|-------------|------|---------|
54+
|-----|------|---------|-------------|
5555
| crds | object | `{"install":{"registry":true,"server":true,"virtualMcp":true},"keep":true}` | CRD installation configuration |
5656
| crds.install | object | `{"registry":true,"server":true,"virtualMcp":true}` | Feature flags for CRD groups |
5757
| crds.install.registry | bool | `true` | Install Registry CRDs (mcpregistries) |

deploy/charts/operator/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ apiVersion: v2
22
name: toolhive-operator
33
description: A Helm chart for deploying the ToolHive Operator into Kubernetes.
44
type: application
5-
version: 0.5.24
5+
version: 0.5.25
66
appVersion: "v0.6.17"

deploy/charts/operator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# ToolHive Operator Helm Chart
22

3-
![Version: 0.5.24](https://img.shields.io/badge/Version-0.5.24-informational?style=flat-square)
3+
![Version: 0.5.25](https://img.shields.io/badge/Version-0.5.25-informational?style=flat-square)
44
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
55

66
A Helm chart for deploying the ToolHive Operator into Kubernetes.
@@ -49,7 +49,7 @@ The command removes all the Kubernetes components associated with the chart and
4949
## Values
5050

5151
| Key | Type | Default | Description |
52-
|-----|-------------|------|---------|
52+
|-----|------|---------|-------------|
5353
| fullnameOverride | string | `"toolhive-operator"` | Provide a fully-qualified name override for resources |
5454
| nameOverride | string | `""` | Override the name of the chart |
5555
| operator | object | `{"affinity":{},"autoscaling":{"enabled":false,"maxReplicas":100,"minReplicas":1,"targetCPUUtilizationPercentage":80},"containerSecurityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"readOnlyRootFilesystem":true,"runAsNonRoot":true,"runAsUser":1000,"seccompProfile":{"type":"RuntimeDefault"}},"env":{},"features":{"experimental":false,"registry":true,"server":true,"virtualMCP":true},"gc":{"gogc":75,"gomeglimit":"150MiB"},"image":"ghcr.io/stacklok/toolhive/operator:v0.6.17","imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"leaderElectionRole":{"binding":{"name":"toolhive-operator-leader-election-rolebinding"},"name":"toolhive-operator-leader-election-role","rules":[{"apiGroups":[""],"resources":["configmaps"],"verbs":["get","list","watch","create","update","patch","delete"]},{"apiGroups":["coordination.k8s.io"],"resources":["leases"],"verbs":["get","list","watch","create","update","patch","delete"]},{"apiGroups":[""],"resources":["events"],"verbs":["create","patch"]}]},"livenessProbe":{"httpGet":{"path":"/healthz","port":"health"},"initialDelaySeconds":15,"periodSeconds":20},"nodeSelector":{},"podAnnotations":{},"podLabels":{},"podSecurityContext":{"runAsNonRoot":true},"ports":[{"containerPort":8080,"name":"metrics","protocol":"TCP"},{"containerPort":8081,"name":"health","protocol":"TCP"}],"proxyHost":"0.0.0.0","rbac":{"allowedNamespaces":[],"scope":"cluster"},"readinessProbe":{"httpGet":{"path":"/readyz","port":"health"},"initialDelaySeconds":5,"periodSeconds":10},"replicaCount":1,"resources":{"limits":{"cpu":"500m","memory":"128Mi"},"requests":{"cpu":"10m","memory":"64Mi"}},"serviceAccount":{"annotations":{},"automountServiceAccountToken":true,"create":true,"labels":{},"name":"toolhive-operator"},"tolerations":[],"toolhiveRunnerImage":"ghcr.io/stacklok/toolhive/proxyrunner:v0.6.17","vmcpImage":"ghcr.io/stacklok/toolhive/vmcp:v0.6.17","volumeMounts":[],"volumes":[]}` | All values for the operator deployment and associated resources |

0 commit comments

Comments
 (0)