Commit Graph

32 Commits

Author SHA1 Message Date
Kermit Alexander II e239a7dd33
Documentation for messageExpression update to KEP-2876 (#40019)
* Add messageExpression documentation.

* Apply feedback on wording.

* Add info about casting to string.

* Use "evaluates to an error" to avoid ambiguous wording around "fails."

* Revise wording around string casting.
2023-03-30 20:41:48 -07:00
Qiming Teng ef511e7e65 Style tweak the crd task file
This PR reformats the CRD task file where line wrappings are expected or
proper indentations are needed. It also fixes a link to the kube-apiserver
reference.
2022-08-25 16:04:02 +08:00
kadtendulkar 655f6a2b8b Update content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md 2022-08-24 21:45:12 +05:30
Cici Huang d6201fdf65 Update doc for CustomResourceValidationExpressions feature. 2022-08-16 15:38:37 +00:00
Michael 6a1caa355a [en] fix typos in /projected-volumes.md 2022-07-15 17:10:48 +08:00
Kubernetes Prow Robot 84c035d5a7
Merge pull request #34372 from tengqm/fix-links-1
Batch fixes for links (1)
2022-06-26 01:02:58 -07:00
Kubernetes Prow Robot 62a5ad6213
Merge pull request #34386 from Rishit-dagli/Rishit-dagli-updatecreatingCRD
Update Create a Custom Resource Definition
2022-06-23 17:03:19 -07:00
Rishit Dagli aa60715e84 Update Create a Custom Resource Definition
Co-authored-by: Antonio Alonso Alarcon <antonio.al.al@gmail.com>
2022-06-18 11:48:00 +00:00
Qiming Teng 7add552174 Batch fixes for links (1)
There are dangling links or links that redirects to a different destination page.
This PR fixes some of them.
2022-06-18 13:37:13 +08:00
Michele Azzolari 9d08cafd2b
Update Validation Rules Example
Fix example add missing `=`
Add one more example
2022-05-14 10:45:09 +02:00
cici37 40157c8e05 Address comments 2022-04-12 13:39:58 -07:00
Kermit Alexander e638ab5ee8 Reword resource constraint section. 2022-04-06 13:54:04 -07:00
cici37 46d35e2bab Adding doc for transition rules, func library and resource constraints. 2022-04-06 13:54:02 -07:00
Tim Bannister 73cd38cdc6 Move kubectl overview to be section index
Also:
- use glossary definition in page introduction
- tidy broken link in What's Next section
- update links to refer to moved page
2022-03-03 10:03:00 +00:00
cici37 002985c690 Reduce confusion by fixing field name in samples. 2022-03-01 13:01:47 -08:00
cici37 cd1726aa10 Adding details on CEL validation for CRD. 2021-11-29 09:06:40 -08:00
Joe Betz a9641b6ccd Add stub for validatiton rule documentation 2021-11-29 09:06:40 -08:00
chenxuc c2d7782e5a Correct command output
For issue #28490,
update command output to avoid confusion.
2021-06-20 16:03:08 +08:00
Karen Bradshaw 3ff5ec1eff clean up use of word: just 2021-03-17 19:57:40 -04:00
Nikhita Raghunath e5a17756a4 Remove feature-state tag for categories for CRDs
The Categories field for CRDs was documented as beta in 1.10 in #7439
mainly because CRDs were in beta back then.

The `feature-state` tag for this section was added in #2754, however
this section doesn't need a `feature-state` tag because the field is not
gated by any feature gate:

90851a0fb5/staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/types.go (L247-L251)

It is now safe to remove the feature-state tag. Moreover, CRDs are now
GA so the beta state is not accurate.
2021-03-07 15:01:32 +05:30
Antoine Pelisse fb1a0ca2e2 Address feedback 2021-01-14 10:54:51 -08:00
Antoine Pelisse a51a653764 Clarify compatibility guarantees around spec.preserveUnknownFields 2020-12-13 20:43:29 -08:00
Jefftree 3dc68c924b Add section for defaulting and nullable 2020-11-23 11:49:35 -05:00
Jakob 8c68745c0f
improve structure of finalizer section in CRD guide (#24851)
- It's now more precise regarding the format of finalizers (which have to
  consist of a namespace and a name, separated by a forward slash or they
  will get rejected by the apiserver, with the exception of built in ones)
- It's less repetitve in general
2020-11-04 08:00:05 -08:00
Michael McCune de655df255 fix case for scale subresource fields
This change corrects the capitalization for the code blocks referring to
`statusReplicasPath` and `labelSelectorPath` to make the descriptive
text consistent with the code values.
2020-10-21 12:37:58 -04:00
Qiming Teng 321342b3f0 Fix nits in CRD task 2020-09-08 18:45:38 +08:00
Tim Bannister 85aaea2a99 Document CustomResourceDefinition as stable
Co-authored-by: Zach Corleissen <zacharysarah@users.noreply.github.com>
2020-08-22 14:14:47 +01:00
Kubernetes Prow Robot 143405e792
Merge pull request #22822 from mokua/patch-8
Update custom-resource-definitions.md
2020-08-18 14:13:10 -07:00
Qiming Teng 92ae1a9cf8 Tune links in tasks section (2/2) 2020-08-08 16:15:28 +08:00
Richard Mokua 4719ff5ef3
Update custom-resource-definitions.md
Fixed indentation on line 676
2020-08-05 07:13:32 +02:00
Richard Mokua 1c76afc2bc
Update custom-resource-definitions.md
The example on line 746-754, should has an image tag; with the image tag, the validation will fail with the error "validating data: ValidationError(CronTab.spec): unknown field "image"".  Solution : Adding the image field on the CustomResourceDefinitions.
2020-07-30 07:56:34 +02:00
Karen Bradshaw 5fe8c3ca5e move setup konnectivity svc
move api-access to extend-kubernetes
2020-06-10 16:06:01 -04:00