Commit Graph

83 Commits

Author SHA1 Message Date
Mengjiao Liu e8b136c3b3 Use code_sample shortcode instead of code shortcode 2023-09-05 17:10:14 +08:00
Mengjiao Liu 68ba9633a2 Switch English to use code not codenew shortcode 2023-08-01 16:57:17 +08:00
Andrey Goran eb522c126f
Replace {{< codenew ... >}} with {{% codenew ... %}} in all English docs (#42180)
* Replaced {{< codenew ... >}} with {{% codenew ... %}} in all files

* Reverted changes in non-english localizations
2023-07-25 05:54:06 -07:00
Kubernetes Prow Robot 028d490558
Merge pull request #40761 from highb/update-kustomize-bases-references-to-resources
docs: Update kustomize examples to use non-deprecated resources key (English)
2023-05-12 17:34:46 -07:00
windsonsea 64a06fd595 tweak line wrappings in declarative-config.md 2023-04-23 11:01:45 +08:00
Brandon High b2b28c49f5 docs/en: Update kustomize examples to use non-deprecated resources key 2023-04-18 15:26:05 -07:00
Katrina Verey 8c906eaab2
Add docs for ApplySet-based pruning in kubectl apply (#39818)
* Documentation for ApplySet-based pruning (KEP3659)

* Apply suggestions from code review

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* Add ApplySet labels and annotations to well-known list

* Minor fixups

* Address feedback on label/annotation listing

* Apply suggestions from code review

Co-authored-by: Tim Bannister <tim@scalefactory.com>

* fix label vs annotation copy-paste errors

* Update prefix to kubernetes.io

---------

Co-authored-by: Tim Bannister <tim@scalefactory.com>
2023-04-04 05:23:53 -07:00
Kubernetes Prow Robot 94a8fcf11f
Merge pull request #39209 from wfhartford/patch-1
Fix reference to file name in generated configMap
2023-03-12 18:16:41 -07:00
Abigail McCarthy 9efe14f6a7
Merge branch 'main' into update-page-weights 2023-02-22 10:38:34 -05:00
zhuzhenghao 876ce6c7a7 [zh] Resync some tiny changes in page under tasks 2023-02-19 16:13:59 +08:00
Wesley Hartford b15ead71f5
Fix reference to file name in generated configMap
Documentation prose refers to the file named `.properties`, the correct file name is `application.properties`.
2023-02-01 07:55:10 -08:00
Abigail McCarthy c4b70832dd Include index files 2023-01-17 09:14:01 -05:00
Kubernetes Prow Robot 4e6eceff71
Merge pull request #38745 from Zhuzhenghao/fix/en-declarative-config
[en] update declarative-config.md
2023-01-03 19:27:59 -08:00
zhuzhenghao 3ec0af5808 [en] update declarative-config.md 2023-01-04 10:34:32 +08:00
Dmitry Fedorov 231f3ed94e
Small grammar fix 2022-12-09 20:07:20 +04:00
Kubernetes Prow Robot f2c4d28472
Merge pull request #35230 from Iceber/fix_retainKeys_example
the retainKeys strategy only works in the strategic merge patch
2022-10-02 09:50:13 -07:00
PARKINHYO b6a6b81577 Fix typo of the contents 2022-09-26 23:03:54 +09:00
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
Bishal das 788c8f6ac3
Update update-api-object-kubectl-patch.md 2022-08-19 12:22:13 +05:30
Kubernetes Prow Robot 6a2e36b253
Merge pull request #35700 from Sea-n/fix-json-highlight
Fix JSON syntax
2022-08-14 12:42:15 -07:00
Sean Wei 35700baf9e Fix JSON syntax 2022-08-07 12:09:20 +08:00
Katrina Verey 39fb094c52
Revert "Document the environment variable substitution feature of configMapGenerator"
This reverts commit b9da040a08.
2022-08-03 15:08:04 -04:00
Iceber Gu 5d59e10859 the retainKeys strategy only works in the strategic merge patch
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2022-07-22 20:22:24 +08:00
Kubernetes Prow Robot a9c9268c20
Merge pull request #33829 from eminalemdar/patch-2
Updated references in different pages with the correct titles
2022-07-10 19:19:47 -07:00
Sean Wei 50b9fb29b0 Remove data-lang for command outputs 2022-05-28 20:08:49 +08:00
eminalemdar f559518520 Updated references in different pages with the correct titles of the documents 2022-05-19 17:00:59 +03:00
Guilhem Lettron a0cdf50ac6
fix: YAML indentation and highlighting 2022-03-17 16:01:40 +01:00
Kubernetes Prow Robot c9debdcacb
Merge pull request #28954 from swiftslee/main
update some typo produced by scripts/verify-spelling.sh
2022-03-13 21:00:19 -07:00
Kubernetes Prow Robot 5ae78ac97e
Merge pull request #31009 from mikemonteith/patch-1
Use --patch-file in documentation
2022-01-24 11:43:35 -08:00
afirth b9da040a08 Document the environment variable substitution feature of configMapGenerator 2022-01-03 11:56:03 +01:00
Mike Monteith f7d717d2fe
Use --patch-file in documentation
--patch-file is designed for file input, using a subshell `--patch $(cat filename.yaml)` is unecessary
2021-12-17 15:00:35 +00:00
Kubernetes Prow Robot 003ffe4b56
Merge pull request #30702 from yoshwata/patch-1
The command empties the shell variable.
2021-12-14 02:47:45 -08:00
yoshwata 321795000b fix: here doc style and comment 2021-12-13 23:43:37 +00:00
yoshwata f1bd7c48af Update kustomization.md
I generated a file in a here document, but the shell variable part seemed to be empty.
2021-12-13 22:00:24 +00:00
Chet Hosey 1abdc117c9 Correct separator in generated ConfigMap. 2021-12-10 12:15:16 -08:00
yuswift 7318b18c03 fix some typos
Signed-off-by: yuswift <yuswift2018@gmail.com>
2021-08-11 15:42:01 +08:00
François 097292f485
Update kustomization.md
Fix typo for the *volumeMount* field

Running the previous snippets with `kubectl apply -k .` would generate this error: 

```
error validating ".": error validating data: ValidationError(Deployment.spec.template.spec.containers[0]): unknown field "volumeMount" in io.k8s.api.core.v1.Container;
```

According to [this page](https://kubernetes.io/docs/concepts/storage/volumes/), the correct field is "volumeMounts".
2021-05-19 23:05:01 +02:00
Kubernetes Prow Robot e233f16855
Merge pull request #27806 from danifr/fix_retainKeys_example
Add missing --type merge in retainkeys examples
2021-05-18 08:01:31 -07:00
Rojo 7a2baf6865
Update content/en/docs/tasks/manage-kubernetes-objects/kustomization.md
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-05-06 21:12:33 +02:00
Rojo 38371d43e6
Added example to use configMapGenerator from .env file 2021-05-06 18:51:40 +02:00
Daniel Fernández bd89e37865 Add missing --type merge in retainkeys examples 2021-04-29 13:33:10 +02:00
Kubernetes Prow Robot fa42c3cd77
Merge pull request #27220 from xordspar0/patch-1
Document using generators in Deployments
2021-04-13 10:23:09 -07:00
Kubernetes Prow Robot 3dcdd86486
Merge pull request #27022 from CKchen0726/kustomize_broken_link_26834
[en] update some links in Kustomize Feature List
2021-04-12 04:29:59 -07:00
Jordan Christiansen 31dcd91c9f Document using configMapGenerators in Deployments 2021-03-26 08:08:12 -05:00
Akihito INOH f553cbbebc Replace redirect links of install kubectl
/docs/tasks/tools/install-kubectl/ is redirected to
/docs/tasks/tools/
This commit replace the redirect links for installing kubectl
with direct links.
2021-03-15 08:22:29 +09:00
CKchen0726 cf19c5d74b modify some links in Kustomize Feature List 2021-03-09 12:30:35 +08:00
Naoki Oketani 3c4f29e406 chore: fix an invalid location.hash
The current link results in redirection and location.hash does not work well.
2021-03-04 21:21:37 +09:00
Kubernetes Prow Robot 6f0ac8755e
Merge pull request #26040 from tengqm/fix-kustomization
Fix examples in kustomization
2021-01-13 17:43:03 -08:00
Paco Xu ea69888c16 add notes for that strategic merge patch is unsupported for Custom Resource objects
Signed-off-by: pacoxu <paco.xu@daocloud.io>
Co-authored-by: Tim Bannister <tim@scalefactory.com>
2021-01-12 14:18:23 +08:00
Qiming Teng 2879377f15 Fix examples in kustomization 2021-01-11 09:31:50 +08:00