Skip to content

Commit b6faf1c

Browse files
authored
Merge pull request #35049 from windsonsea/nodesyhf
[en] fix typos in /projected-volumes.md
2 parents e2cda2e + 6a1caa3 commit b6faf1c

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

content/en/docs/concepts/storage/projected-volumes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ volume mount will not receive updates for those volume sources.
7373

7474
## SecurityContext interactions
7575

76-
The [proposal](https://github.com/kubernetes/enhancements/tree/master/keps/sig-storage/2451-service-account-token-volumes#proposal) for file permission handling in projected service account volume enhancement introduced the projected files having the the correct owner permissions set.
76+
The [proposal](https://git.k8s.io/enhancements/keps/sig-storage/2451-service-account-token-volumes#proposal) for file permission handling in projected service account volume enhancement introduced the projected files having the correct owner permissions set.
7777

7878
### Linux
7979

@@ -99,6 +99,7 @@ into their own volume mount outside of `C:\`.
9999

100100
By default, the projected files will have the following ownership as shown for
101101
an example projected volume file:
102+
102103
```powershell
103104
PS C:\> Get-Acl C:\var\run\secrets\kubernetes.io\serviceaccount\..2021_08_31_22_22_18.318230061\ca.crt | Format-List
104105
@@ -111,6 +112,7 @@ Access : NT AUTHORITY\SYSTEM Allow FullControl
111112
Audit :
112113
Sddl : O:BAG:SYD:AI(A;ID;FA;;;SY)(A;ID;FA;;;BA)(A;ID;0x1200a9;;;BU)
113114
```
115+
114116
This implies all administrator users like `ContainerAdministrator` will have
115117
read, write and execute access while, non-administrator users will have read and
116118
execute access.

content/en/docs/tasks/extend-kubernetes/custom-resources/custom-resource-definitions.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,9 @@ and create it:
362362
kubectl create --validate=false -f my-crontab.yaml -o yaml
363363
```
364364

365-
your output is similar to:
365+
Your output is similar to:
366366

367-
```console
367+
```yaml
368368
apiVersion: stable.example.com/v1
369369
kind: CronTab
370370
metadata:
@@ -836,15 +836,14 @@ Validation Rules Examples:
836836
| `has(self.expired) && self.created + self.ttl < self.expired` | Validate that 'expired' date is after a 'create' date plus a 'ttl' duration |
837837
| `self.health.startsWith('ok')` | Validate a 'health' string field has the prefix 'ok' |
838838
| `self.widgets.exists(w, w.key == 'x' && w.foo < 10)` | Validate that the 'foo' property of a listMap item with a key 'x' is less than 10 |
839-
| `type(self) == string ? self == '100%' : self == 1000` | Validate an int-or-string field for both the the int and string cases |
839+
| `type(self) == string ? self == '100%' : self == 1000` | Validate an int-or-string field for both the int and string cases |
840840
| `self.metadata.name.startsWith(self.prefix)` | Validate that an object's name has the prefix of another field value |
841841
| `self.set1.all(e, !(e in self.set2))` | Validate that two listSets are disjoint |
842842
| `size(self.names) == size(self.details) && self.names.all(n, n in self.details)` | Validate the 'details' map is keyed by the items in the 'names' listSet |
843843
| `size(self.clusters.filter(c, c.name == self.primary)) == 1` | Validate that the 'primary' property has one and only one occurrence in the 'clusters' listMap |
844844
845845
Xref: [Supported evaluation on CEL](https://github.com/google/cel-spec/blob/v0.6.0/doc/langdef.md#evaluation)
846846
847-
848847
- If the Rule is scoped to the root of a resource, it may make field selection into any fields
849848
declared in the OpenAPIv3 schema of the CRD as well as `apiVersion`, `kind`, `metadata.name` and
850849
`metadata.generateName`. This includes selection of fields in both the `spec` and `status` in the

0 commit comments

Comments
 (0)