Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Translate reference/certificate-signing-requests.md into Chinese and …
…fix a bug in origin file, 24065 make change according to Tengqm's comment
- Loading branch information
Showing
8 changed files
with
889 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
content/en/examples/access/certificate-signing-request/clusterrole-approve.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: csr-approver | ||
rules: | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- certificatesigningrequests | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- certificatesigningrequests/approval | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- signers | ||
resourceNames: | ||
- example.com/my-signer-name # example.com/* can be used to authorize for all signers in the 'example.com' domain | ||
verbs: | ||
- approve | ||
|
14 changes: 14 additions & 0 deletions
14
content/en/examples/access/certificate-signing-request/clusterrole-create.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: csr-creator | ||
rules: | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- certificatesigningrequests | ||
verbs: | ||
- create | ||
- get | ||
- list | ||
- watch |
27 changes: 27 additions & 0 deletions
27
content/en/examples/access/certificate-signing-request/clusterrole-sign.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: csr-signer | ||
rules: | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- certificatesigningrequests | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- certificatesigningrequests/status | ||
verbs: | ||
- update | ||
- apiGroups: | ||
- certificates.k8s.io | ||
resources: | ||
- signers | ||
resourceName: | ||
- example.com/my-signer-name # example.com/* can be used to authorize for all signers in the 'example.com' domain | ||
verbs: | ||
- sign |
Oops, something went wrong.