Skip to content

Commit 43feb4a

Browse files
authored
Update workload-identity-static-pv-mount.md
1 parent 14fc0b0 commit 43feb4a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/workload-identity-static-pv-mount.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ spec:
112112
labels:
113113
app: nginx
114114
spec:
115-
serviceAccountName: $SERVICE_ACCOUNT_NAME #required, Pod lacks the necessary permission to mount the volume without this field
115+
serviceAccountName: $SERVICE_ACCOUNT_NAME #required, make sure the pod have the required permissions to mount volume
116116
nodeSelector:
117117
"kubernetes.io/os": linux
118118
containers:
@@ -144,7 +144,7 @@ EOF
144144
```
145145

146146
## option#2: static provision with PV
147-
```
147+
```yaml
148148
cat <<EOF | kubectl apply -f -
149149
apiVersion: v1
150150
kind: PersistentVolume

0 commit comments

Comments
 (0)