From 6670c3c08997cc04520867309adfed8feb42326e Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Mon, 1 May 2023 14:55:10 +0800 Subject: [PATCH] Manually tune kubelet configuration reference There are some format problems in the generated reference. These problems aren't easy to solve if not fixing the format of the upstream source code comments. This PR fixes them manually. --- .../reference/config-api/kubelet-config.v1.md | 12 +++---- .../config-api/kubelet-config.v1beta1.md | 31 ++++++++++--------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/content/en/docs/reference/config-api/kubelet-config.v1.md b/content/en/docs/reference/config-api/kubelet-config.v1.md index 407ce5f1a9..0b55fb12c5 100644 --- a/content/en/docs/reference/config-api/kubelet-config.v1.md +++ b/content/en/docs/reference/config-api/kubelet-config.v1.md @@ -81,9 +81,9 @@ to provide credentials. Images are expected to contain the registry domain and URL path.

Each entry in matchImages is a pattern which can optionally contain a port and a path. Globs can be used in the domain, but not in the port or the path. Globs are supported -as subdomains like '.k8s.io' or 'k8s..io', and top-level-domains such as 'k8s.'. -Matching partial subdomains like 'app.k8s.io' is also supported. Each glob can only match -a single subdomain segment, so *.io does not match *.k8s.io.

+as subdomains like '*.k8s.io' or 'k8s.*.io', and top-level-domains such as 'k8s.*'. +Matching partial subdomains like 'app*.k8s.io' is also supported. Each glob can only match +a single subdomain segment, so *.io does not match *.k8s.io.

A match exists between an image and a matchImage when all of the below are true: