From 6917012178a03913bdc403a0221bad675cee5efe Mon Sep 17 00:00:00 2001 From: Arhell Date: Tue, 23 May 2023 12:01:53 +0300 Subject: [PATCH] [zh] Migrated to use the v1beta3 API version of FlowSchema --- .../health-for-strangers.yaml | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/content/zh-cn/examples/priority-and-fairness/health-for-strangers.yaml b/content/zh-cn/examples/priority-and-fairness/health-for-strangers.yaml index c57e2cae37..955322c84b 100644 --- a/content/zh-cn/examples/priority-and-fairness/health-for-strangers.yaml +++ b/content/zh-cn/examples/priority-and-fairness/health-for-strangers.yaml @@ -1,4 +1,4 @@ -apiVersion: flowcontrol.apiserver.k8s.io/v1beta2 +apiVersion: flowcontrol.apiserver.k8s.io/v1beta3 kind: FlowSchema metadata: name: health-for-strangers @@ -7,14 +7,14 @@ spec: priorityLevelConfiguration: name: exempt rules: - - nonResourceRules: - - nonResourceURLs: - - "/healthz" - - "/livez" - - "/readyz" - verbs: - - "*" - subjects: - - kind: Group - group: - name: system:unauthenticated + - nonResourceRules: + - nonResourceURLs: + - "/healthz" + - "/livez" + - "/readyz" + verbs: + - "*" + subjects: + - kind: Group + group: + name: "system:unauthenticated"