From 99bf6b71cde355d57385cf109d26ac73d1b16a8a Mon Sep 17 00:00:00 2001 From: "xin.li" Date: Thu, 31 Mar 2022 19:48:02 +0800 Subject: [PATCH] --amend Signed-off-by: xin.li --- Dockerfile | 4 ++-- content/zh/docs/concepts/extend-kubernetes/_index.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8985faa72..9e9a6d65b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ FROM golang:1.16-alpine LABEL maintainer="Luc Perkins " -RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories + RUN apk add --no-cache \ curl \ gcc \ @@ -25,7 +25,7 @@ RUN mkdir $HOME/src && \ go install --tags extended FROM golang:1.16-alpine -RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories + RUN apk add --no-cache \ git \ openssh-client \ diff --git a/content/zh/docs/concepts/extend-kubernetes/_index.md b/content/zh/docs/concepts/extend-kubernetes/_index.md index 3be90a977e..e6f8d4bf86 100644 --- a/content/zh/docs/concepts/extend-kubernetes/_index.md +++ b/content/zh/docs/concepts/extend-kubernetes/_index.md @@ -98,7 +98,7 @@ Flags and configuration files may not always be changeable in a hosted Kubernete *Built-in Policy APIs*, such as [ResourceQuota](/docs/concepts/policy/resource-quotas/), [PodSecurityPolicies](/docs/concepts/security/pod-security-policy/), [NetworkPolicy](/docs/concepts/services-networking/network-policies/) and Role-based Access Control ([RBAC](/docs/reference/access-authn-authz/rbac/)), are built-in Kubernetes APIs. APIs are typically used with hosted Kubernetes services and with managed Kubernetes installations. They are declarative and use the same conventions as other Kubernetes resources like pods, so new cluster configuration can be repeatable and be managed the same way as applications. And, where they are stable, they enjoy a [defined support policy](/docs/reference/using-api/deprecation-policy/) like other Kubernetes APIs. For these reasons, they are preferred over *configuration files* and *flags* where suitable. --> *内置的策略 API*,例如[ResourceQuota](/zh/docs/concepts/policy/resource-quotas/)、 -[PodSecurityPolicies](/zh/docs/concepts/policy/pod-security-policy/)、 +[PodSecurityPolicies](/zh/docs/concepts/security/pod-security-policy/)、 [NetworkPolicy](/zh/docs/concepts/services-networking/network-policies/) 和基于角色的访问控制([RBAC](/zh/docs/reference/access-authn-authz/rbac/)) 等等都是内置的 Kubernetes API。