From 3d4774935b5dd211a0a08b9fd2f53d7617808313 Mon Sep 17 00:00:00 2001 From: wei-chenglai Date: Mon, 1 Sep 2025 20:26:39 -0400 Subject: [PATCH] Bump crd-ref-docs to v0.2.0 for Go 1.24+ compatibility Signed-off-by: wei-chenglai --- docs/reference/api.md | 20 ++++++++++++++++++++ ray-operator/Makefile | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/reference/api.md b/docs/reference/api.md index 4b495fef69e..283e3cc6c1e 100644 --- a/docs/reference/api.md +++ b/docs/reference/api.md @@ -53,6 +53,10 @@ _Validation:_ _Appears in:_ - [AutoscalerOptions](#autoscaleroptions) +| Field | Description | +| --- | --- | +| `v1` | | +| `v2` | | #### DeletionPolicy @@ -82,6 +86,12 @@ _Underlying type:_ _string_ _Appears in:_ - [DeletionPolicy](#deletionpolicy) +| Field | Description | +| --- | --- | +| `DeleteCluster` | | +| `DeleteWorkers` | | +| `DeleteSelf` | | +| `DeleteNone` | | #### DeletionStrategy @@ -155,6 +165,12 @@ _Underlying type:_ _string_ _Appears in:_ - [RayJobSpec](#rayjobspec) +| Field | Description | +| --- | --- | +| `K8sJobMode` | | +| `HTTPMode` | | +| `InteractiveMode` | | +| `SidecarMode` | | #### RayCluster @@ -333,6 +349,10 @@ _Underlying type:_ _string_ _Appears in:_ - [RayServiceUpgradeStrategy](#rayserviceupgradestrategy) +| Field | Description | +| --- | --- | +| `NewCluster` | During upgrade, NewCluster strategy will create new upgraded cluster and switch to it when it becomes ready
| +| `None` | No new cluster will be created while the strategy is set to None
| #### RedisCredential diff --git a/ray-operator/Makefile b/ray-operator/Makefile index ff154df302f..cef36dffd76 100644 --- a/ray-operator/Makefile +++ b/ray-operator/Makefile @@ -179,7 +179,7 @@ CRD_REF_DOCS = $(LOCALBIN)/crd-ref-docs $(CRD_REF_DOCS): $(LOCALBIN) .PHONY: crd-ref-docs crd-ref-docs: $(CRD_REF_DOCS) ## Download crd-ref-docs locally if necessary. - test -s $(CRD_REF_DOCS) || GOBIN=$(LOCALBIN) go install github.com/elastic/crd-ref-docs@v0.0.12 + test -s $(CRD_REF_DOCS) || GOBIN=$(LOCALBIN) go install github.com/elastic/crd-ref-docs@v0.2.0 .PHONY: clean clean: