Skip to content

Commit 99bf6b7

Browse files
committed
--amend
Signed-off-by: xin.li <[email protected]>
1 parent 5618f29 commit 99bf6b7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
FROM golang:1.16-alpine
88

99
LABEL maintainer="Luc Perkins <[email protected]>"
10-
RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
10+
1111
RUN apk add --no-cache \
1212
curl \
1313
gcc \
@@ -25,7 +25,7 @@ RUN mkdir $HOME/src && \
2525
go install --tags extended
2626

2727
FROM golang:1.16-alpine
28-
RUN sed -i 's!http://dl-cdn.alpinelinux.org/!https://mirrors.ustc.edu.cn/!g' /etc/apk/repositories
28+
2929
RUN apk add --no-cache \
3030
git \
3131
openssh-client \

content/zh/docs/concepts/extend-kubernetes/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Flags and configuration files may not always be changeable in a hosted Kubernete
9898
*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.
9999
-->
100100
*内置的策略 API*,例如[ResourceQuota](/zh/docs/concepts/policy/resource-quotas/)
101-
[PodSecurityPolicies](/zh/docs/concepts/policy/pod-security-policy/)
101+
[PodSecurityPolicies](/zh/docs/concepts/security/pod-security-policy/)
102102
[NetworkPolicy](/zh/docs/concepts/services-networking/network-policies/)
103103
和基于角色的访问控制([RBAC](/zh/docs/reference/access-authn-authz/rbac/)
104104
等等都是内置的 Kubernetes API。

0 commit comments

Comments
 (0)