website/content/en/examples
Sean McGinnis 1c58d4bd37
Update use of deprecated ioutils module
The ioutils module was deprecated in Go 1.16. This updates the example test code
to use the newer recommended replacement.

Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2024-03-13 11:59:11 -05:00
..
access Fix `auditAnnotations` example 2024-03-03 11:53:35 +00:00
admin Adding script for cgroup v2 memory available.sh (#41931) 2023-11-22 02:07:28 +01:00
application Merge pull request #44290 from azn-abel/44190 2024-01-09 15:07:13 +01:00
audit audit api version has been updated to v1 (#10647) 2018-10-17 00:48:05 -07:00
concepts/policy/limit-range [en] Add missing required `type` field to LimitRange example (#38706) 2023-01-01 20:21:31 -08:00
configmap Update example to configure pods 2022-10-25 10:44:37 -04:00
controllers Update frontend.yaml 2024-03-05 22:25:58 +01:00
debug Update docs to reference new container image registry 2022-08-18 16:35:26 +02:00
pods Merge pull request #45460 from HarkuLi/fix/tutorial-seccomp 2024-03-13 04:10:54 -07:00
policy Updated wording in yaml file 2022-04-26 13:59:38 +00:00
priority-and-fairness apiserver: update APF documentation for GA 2023-11-22 14:49:27 -05:00
secret Move YAML snippets to examples directory and include with code shortcode 2023-10-05 18:40:34 -04:00
security Await input in Pod Security Admission demo script 2023-03-02 22:39:41 +00:00
service Update networkpolicy.yaml 2023-12-24 20:47:32 +01:00
storage Switch StorageClass example to code shortcode 2023-12-20 13:48:30 +00:00
tls Update TLS doc to use example signer for arbitrary https server 2022-02-01 12:22:32 -05:00
validatingadmissionpolicy fix: typo in validatingadmissionpolicy/replicalimit-param sample 2023-12-02 17:04:21 +01:00
windows beta.kubernetes.io/os deprecated since v1.14, are targeted for removal in v1.18 2020-05-07 11:52:30 +08:00
README.md [zh]Update content/zh/examples/README.md 2022-04-25 23:50:10 +08:00
examples.go Improve examples test (#9467) 2018-07-11 08:43:25 -07:00
examples_test.go Update use of deprecated ioutils module 2024-03-13 11:59:11 -05:00

README.md

To run the tests for a localization, use the following command:

go test k8s.io/website/content/<lang>/examples

where <lang> is the two character representation of a language. For example:

go test k8s.io/website/content/en/examples