Skip to content

Commit 0c4e50d

Browse files
authored
add "yq" as a dependency to "generate-docs" in Makefile (#256)
2 parents dc76460 + 3a140f0 commit 0c4e50d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ generate: controller-gen ## Generate code containing DeepCopy, DeepCopyInto, and
5656
$(CONTROLLER_GEN) object:headerFile="hack/boilerplate.go.txt" paths="./..."
5757

5858
.PHONY: generate-docs
59-
generate-docs: crd-ref-docs ## Generate CRD reference documentation.
59+
generate-docs: yq crd-ref-docs ## Generate CRD reference documentation.
6060
@$(eval VERSION := $(shell $(YQ) '.params.version' site/hugo.yaml))
6161
$(CRD_REF_DOCS) --config=.crd-docs.yaml --renderer=markdown --templates-dir="site/reference-templates" --output-path="site/content/en/docs/$(VERSION)/reference/api.md"
6262

site/content/en/docs/v0.4/reference/api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ _Appears in:_
167167

168168
| Field | Description | Default | Validation |
169169
| --- | --- | --- | --- |
170-
| `minAvailable` _[IntOrString](#intorstring)_ | MinAvailable describes minimum ready replicas. If both are empty, controller will implicitly<br />calculate MaxUnavailable based on number of replicas<br />Mutually exclusive with MaxUnavailable. | | |
171-
| `maxUnavailable` _[IntOrString](#intorstring)_ | MinAvailable describes maximum not ready replicas. If both are empty, controller will implicitly<br />calculate MaxUnavailable based on number of replicas<br />Mutually exclusive with MinAvailable | | |
170+
| `minAvailable` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30.0/#intorstring-intstr-util)_ | MinAvailable describes minimum ready replicas. If both are empty, controller will implicitly<br />calculate MaxUnavailable based on number of replicas<br />Mutually exclusive with MaxUnavailable. | | |
171+
| `maxUnavailable` _[IntOrString](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.30.0/#intorstring-intstr-util)_ | MinAvailable describes maximum not ready replicas. If both are empty, controller will implicitly<br />calculate MaxUnavailable based on number of replicas<br />Mutually exclusive with MinAvailable | | |
172172

173173

174174
#### PodTemplate

0 commit comments

Comments
 (0)