Commit Graph

110 Commits

Author SHA1 Message Date
mboukhalfa 388a17b204
tiny spell fix and rephrasing 2022-10-19 15:25:12 +03:00
Chandan Singh 8b1209d948
Update custom-resource-definition-versioning.md
Since there can be only one version that needs to be stored and storage option is required else the parsing fails. Adding the storage option and setting it false.

Schema Vaildation fails with error: error validating data: ValidationError(CustomResourceDefinition.spec.versions[1]): missing
 required field "storage" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionVersion; if you choose to
 ignore these errors, turn validation off with --validate=false
2022-10-12 18:13:03 +05:30
Kubernetes Prow Robot 15bf5813c6
Merge pull request #36716 from akankshakumari393/patch-6
Fix Broken Link to CustomResourceDefinition
2022-09-18 06:22:28 -07:00
Akanksha Kumari 0443319bda Update the CRD link to reference/kubernetes-api/extend-resources/custom-resource-definition-v1/ 2022-09-15 09:24:42 +05:30
Shubham 88380ad730
Modify note content about kubectl, CRDs, and subresources (#34468)
* Modified the NOTE for Kubectl Subresource Support.

Improvement: Removed word tool.

Typo fix.

* Added task for patch the deployment using subresource flag.

* Updated the content.

* Updated the link for kubectl patch.

* Resolved nits.

* Improvement: updated the content.

* Removed new deployment and used existing deployment manifests.
2022-09-14 15:41:23 -07:00
Akanksha Kumari d0e4c5942e Minor Typo Fix 2022-09-10 11:57:26 +05:30
Akanksha kumari 395143df47 Fix Broken Link to CustomResourceDefinition 2022-09-10 01:00:26 +05:30
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 484995c06b
Merge pull request #33930 from xing-yang/deprecate_crd
Add doc for CRD version removal
2022-06-24 00:39:21 -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
Kubernetes Prow Robot 29a21da70f
Merge pull request #33659 from macno/patch-1
Update Validation Rules Examples
2022-06-13 22:59:33 -07:00
lostick cfb897169b Fix typos in tasks docs 2022-05-31 14:47:40 +01:00
xing-yang 7cdbb1f3c4 Address comments 2022-05-25 19:24:47 +00:00
xing-yang 85f076192e Add doc for CRD version removal 2022-05-25 01:30:17 +00: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
Jesse Butler 584421fe11 Merge remote-tracking branch 'upstream/main' into dev-1.23 2021-12-06 08:55:54 -05:00
Kubernetes Prow Robot 4187c652f8
Merge pull request #29152 from tiraboschi/crd_edit_status
Concretely explain how to patch CRD status
2021-12-05 19:24:32 -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
Dima Brusilovsky 91f4f4adf7
Update custom-resource-definition-versioning.md 2021-08-08 18:47:19 +03:00
Simone Tiraboschi eca82e08f9 Concretely explain how to patch CRD status
Current documentation simply suggest
"Remove v1beta1 from the CustomResourceDefinition
status.storedVersions field."
but this cannot be done just with kubectl and
it's not so intuitive.

Adding an example to make it more clear.

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
2021-07-29 13:50:42 +02:00
Kubernetes Prow Robot 0709b30d05
Merge pull request #28510 from chenxuc/28490
Correct command output in custom-resources example
2021-06-24 08:41:41 -07:00
chenxuc c2d7782e5a Correct command output
For issue #28490,
update command output to avoid confusion.
2021-06-20 16:03:08 +08:00
Kubernetes Prow Robot 5dfcf92490
Merge pull request #28447 from tengqm/fix-file-modes
Remove exec permission on markdown files
2021-06-17 19:04:04 -07:00
Qiming Teng e9703497a1 Remove exec permission on markdown files
For some unknown reasons, we have got many markdown files with exec
permission. That is weird and risky.
2021-06-16 17:57:00 +08:00
Kubernetes Prow Robot 2f4a570f0c
Merge pull request #27573 from dancnfoo/patch-1
Update custom-resource-definition-versioning.md
2021-06-09 19:57:26 -07:00
David Garvey 87364a0983
Add missing word 'be' 2021-04-26 13:53:16 +08:00
dancnfoo a38531234f
Update custom-resource-definition-versioning.md
`stored` should be `storage`
2021-04-15 11:50:24 -07: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
Karen Bradshaw 7d9916af0c clean up use of word: easy 2021-02-01 15:14:25 -05:00
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
Kubernetes Prow Robot 723b0863c6
Merge pull request #22754 from sftim/20200726_document_customresourcedefinition_stable
Document CustomResourceDefinition as stable
2020-08-26 14:53:03 -07:00
Savitha Raghunathan 95c94c03d5 resolving conflicts 2020-08-23 12:13:37 -04: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
Anna Jung 09d0f598fa Merge master into dev-1.19 to keep in sync 2020-08-11 08:34:02 -05: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
jimoosciuc 5c6727bc1a Update custom-resource-definition-versioning.md
Fixed an issue on CustomResourceDefinition yaml
2020-08-04 17:00:03 +08: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
Jordan Liggitt f12bc65e80 Address doc review comments 2020-07-15 12:24:42 -04:00
Jordan Liggitt 2d4357abc6 Add deprecation warning info 2020-07-15 11:30:44 -04:00
Karen Bradshaw 5fe8c3ca5e move setup konnectivity svc
move api-access to extend-kubernetes
2020-06-10 16:06:01 -04:00