@@ -982,7 +982,7 @@ kubectl create secret docker-registry secret-tiger-docker \
|
|||||||
```
|
```
|
||||||
|
|
||||||
That command creates a Secret of type `kubernetes.io/dockerconfigjson`.
|
That command creates a Secret of type `kubernetes.io/dockerconfigjson`.
|
||||||
If you dump the `.data.dockercfgjson` field from that new Secret and then
|
If you dump the `.data.dockerconfigjson` field from that new Secret and then
|
||||||
decode it from base64:
|
decode it from base64:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
@@ -1291,7 +1291,7 @@ on that node.
|
|||||||
- When deploying applications that interact with the Secret API, you should
|
- When deploying applications that interact with the Secret API, you should
|
||||||
limit access using
|
limit access using
|
||||||
[authorization policies](/docs/reference/access-authn-authz/authorization/) such as
|
[authorization policies](/docs/reference/access-authn-authz/authorization/) such as
|
||||||
[RBAC]( /docs/reference/access-authn-authz/rbac/).
|
[RBAC](/docs/reference/access-authn-authz/rbac/).
|
||||||
- In the Kubernetes API, `watch` and `list` requests for Secrets within a namespace
|
- In the Kubernetes API, `watch` and `list` requests for Secrets within a namespace
|
||||||
are extremely powerful capabilities. Avoid granting this access where feasible, since
|
are extremely powerful capabilities. Avoid granting this access where feasible, since
|
||||||
listing Secrets allows the clients to inspect the values of every Secret in that
|
listing Secrets allows the clients to inspect the values of every Secret in that
|
||||||
@@ -1310,7 +1310,7 @@ have access to run a Pod that then exposes the Secret.
|
|||||||
- When deploying applications that interact with the Secret API, you should
|
- When deploying applications that interact with the Secret API, you should
|
||||||
limit access using
|
limit access using
|
||||||
[authorization policies](/docs/reference/access-authn-authz/authorization/) such as
|
[authorization policies](/docs/reference/access-authn-authz/authorization/) such as
|
||||||
[RBAC]( /docs/reference/access-authn-authz/rbac/).
|
[RBAC](/docs/reference/access-authn-authz/rbac/).
|
||||||
- In the API server, objects (including Secrets) are persisted into
|
- In the API server, objects (including Secrets) are persisted into
|
||||||
{{< glossary_tooltip term_id="etcd" >}}; therefore:
|
{{< glossary_tooltip term_id="etcd" >}}; therefore:
|
||||||
- only allow cluster admistrators to access etcd (this includes read-only access);
|
- only allow cluster admistrators to access etcd (this includes read-only access);
|
||||||
|
|||||||
@@ -100,4 +100,4 @@ In late 2021, SIG Docs introduced the PR Wrangler Shadow Program. The program wa
|
|||||||
|
|
||||||
- Others can reach out on the [#sig-docs Slack channel](https://kubernetes.slack.com/messages/sig-docs) for requesting to shadow an assigned PR Wrangler for a specific week. Feel free to reach out to Brad Topol (`@bradtopol`) or one of the [SIG Docs co-chairs/leads](https://github.com/kubernetes/community/tree/master/sig-docs#leadership).
|
- Others can reach out on the [#sig-docs Slack channel](https://kubernetes.slack.com/messages/sig-docs) for requesting to shadow an assigned PR Wrangler for a specific week. Feel free to reach out to Brad Topol (`@bradtopol`) or one of the [SIG Docs co-chairs/leads](https://github.com/kubernetes/community/tree/master/sig-docs#leadership).
|
||||||
|
|
||||||
- Once you've signed up to shadow a PR Wrangler, introduce yourself to the PR Wrangler on the [Kubernetes Slack](slack.k8s.io).
|
- Once you've signed up to shadow a PR Wrangler, introduce yourself to the PR Wrangler on the [Kubernetes Slack](https://slack.k8s.io).
|
||||||
|
|||||||
@@ -150,7 +150,7 @@ access to clients with the certificate `k8sclient.cert`.
|
|||||||
|
|
||||||
Once etcd is configured correctly, only clients with valid certificates can
|
Once etcd is configured correctly, only clients with valid certificates can
|
||||||
access it. To give Kubernetes API servers the access, configure them with the
|
access it. To give Kubernetes API servers the access, configure them with the
|
||||||
flags `--etcd-certfile=k8sclient.cert`,`--etcd-keyfile=k8sclient.key` and
|
flags `--etcd-certfile=k8sclient.cert`, `--etcd-keyfile=k8sclient.key` and
|
||||||
`--etcd-cafile=ca.cert`.
|
`--etcd-cafile=ca.cert`.
|
||||||
|
|
||||||
{{< note >}}
|
{{< note >}}
|
||||||
@@ -319,7 +319,7 @@ employed to recover the data of a failed cluster.
|
|||||||
|
|
||||||
Before starting the restore operation, a snapshot file must be present. It can
|
Before starting the restore operation, a snapshot file must be present. It can
|
||||||
either be a snapshot file from a previous backup operation, or from a remaining
|
either be a snapshot file from a previous backup operation, or from a remaining
|
||||||
[data directory]( https://etcd.io/docs/current/op-guide/configuration/#--data-dir).
|
[data directory](https://etcd.io/docs/current/op-guide/configuration/#--data-dir).
|
||||||
Here is an example:
|
Here is an example:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|||||||
Reference in New Issue
Block a user