Skip to content

Commit

Permalink
Rename EncryptionConfig to EncryptionConfiguration (#11080)
Browse files Browse the repository at this point in the history
EncryptionConfig was renamed to EncryptedConfiguration and added to
the `apiserver.config.k8s.io` API group in Kubernetes 1.13.

The feature was previously in alpha and was not handling versions
properly, which lead to an originally unnoticed `v1` in the docs.
  • Loading branch information
stlaz authored and k8s-ci-robot committed Nov 20, 2018
1 parent fc3ee1e commit dda97e2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions content/zh/docs/tasks/administer-cluster/encrypt-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ is provided below.
## 理解静态数据加密

```yaml
kind: EncryptionConfig
apiVersion: v1
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
resources:
- resources:
- secrets
Expand Down Expand Up @@ -149,8 +149,8 @@ Create a new encryption config file:
创建一个新的加密配置文件:

```yaml
kind: EncryptionConfig
apiVersion: v1
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
resources:
- resources:
- secrets
Expand Down Expand Up @@ -299,8 +299,8 @@ To disable encryption at rest place the `identity` provider as the first entry i
要禁用 rest 加密,请将 `identity` provider 作为配置中的第一个条目:
```yaml
kind: EncryptionConfig
apiVersion: v1
kind: EncryptionConfiguration
apiVersion: apiserver.config.k8s.io/v1
resources:
- resources:
- secrets
Expand Down

0 comments on commit dda97e2

Please sign in to comment.