website/content/en/examples
Qiming Teng 60bf42a527 Update test cases for v1.28
This PR makes sure the manifests under `content/en/examples`
are valid in v1.28. The primary fixes are:

- Updated the go.mod/go.sum file for testing against v1.28.0 release.
- Revise test case code to ensure newly added manifests are tested;
- Adapt Pod validation options to upstream validation code change;
- Move a ValidatingWebhookConfiguration YAML back to inline because
  the manifest cannot validate against the validator. The CA bundle
  referenced is not a valid string (base64 encoded). That means the
  YAML cannot be used/tested as is by users.
2023-08-18 09:03:30 +08:00
..
access Update test cases for v1.28 2023-08-18 09:03:30 +08:00
admin Konnectivity example refresh. 2023-03-31 16:10:39 -07:00
application sidecar container example use retry tail 2023-08-16 09:10:59 +00:00
audit
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 Job Backoff Limit per index review remarks 2023-08-03 16:54:04 +02:00
debug Update docs to reference new container image registry 2022-08-18 16:35:26 +02:00
pods Documentation for in-place pod resize feature (#39845) 2023-03-30 19:59:48 -07:00
policy Updated wording in yaml file 2022-04-26 13:59:38 +00:00
priority-and-fairness Migrated to use the v1beta3 API version of FlowSchema 2023-04-04 20:23:27 +05:30
secret/serviceaccount Annotations are mappings, not sequences 2022-12-08 14:57:31 +01:00
security Await input in Pod Security Admission demo script 2023-03-02 22:39:41 +00:00
service removed duplicated examples 2023-03-23 00:39:56 +05:30
tls Update TLS doc to use example signer for arbitrary https server 2022-02-01 12:22:32 -05:00
validatingadmissionpolicy ValidatingAdmissionPolicy: add docs for new per namespace policy params feature (#42219) 2023-08-08 13:35:52 -07:00
windows
README.md [zh]Update content/zh/examples/README.md 2022-04-25 23:50:10 +08:00
examples.go
examples_test.go Update test cases for v1.28 2023-08-18 09:03:30 +08: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