Skip to content

Commit 808f74b

Browse files
authored
Merge pull request #37506 from Nordix/update-link-in-crd-versions/mohammed
Update links in crd-versions docs based on the latest k8s release
2 parents 89a4542 + 0e569cc commit 808f74b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definition-versioning.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -406,22 +406,22 @@ The webhook should perform these conversions independently.
406406
### Write a conversion webhook server
407407

408408
Please refer to the implementation of the [custom resource conversion webhook
409-
server](https://github.com/kubernetes/kubernetes/tree/v1.15.0/test/images/crd-conversion-webhook/main.go)
409+
server](https://github.com/kubernetes/kubernetes/tree/v1.25.3/test/images/agnhost/crd-conversion-webhook/main.go)
410410
that is validated in a Kubernetes e2e test. The webhook handles the
411411
`ConversionReview` requests sent by the API servers, and sends back conversion
412412
results wrapped in `ConversionResponse`. Note that the request
413413
contains a list of custom resources that need to be converted independently without
414414
changing the order of objects.
415415
The example server is organized in a way to be reused for other conversions.
416416
Most of the common code are located in the
417-
[framework file](https://github.com/kubernetes/kubernetes/tree/v1.15.0/test/images/crd-conversion-webhook/converter/framework.go)
417+
[framework file](https://github.com/kubernetes/kubernetes/tree/v1.25.3/test/images/agnhost/crd-conversion-webhook/converter/framework.go)
418418
that leaves only
419-
[one function](https://github.com/kubernetes/kubernetes/blob/v1.15.0/test/images/crd-conversion-webhook/converter/example_converter.go#L29-L80)
419+
[one function](https://github.com/kubernetes/kubernetes/tree/v1.25.3/test/images/agnhost/crd-conversion-webhook/converter/example_converter.go#L29-L80)
420420
to be implemented for different conversions.
421421

422422
{{< note >}}
423423
The example conversion webhook server leaves the `ClientAuth` field
424-
[empty](https://github.com/kubernetes/kubernetes/tree/v1.13.0/test/images/crd-conversion-webhook/config.go#L47-L48),
424+
[empty](https://github.com/kubernetes/kubernetes/tree/v1.25.3/test/images/agnhost/crd-conversion-webhook/config.go#L47-L48),
425425
which defaults to `NoClientCert`. This means that the webhook server does not
426426
authenticate the identity of the clients, supposedly API servers. If you need
427427
mutual TLS or other ways to authenticate the clients, see

0 commit comments

Comments
 (0)