Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e951778

Browse files
authored
fix: indentation in rootless podman docs (coder#7577)
* fix: indentation in rootless podman docs * fmt
1 parent 75b0643 commit e951778

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

docs/templates/docker-in-workspaces.md

+17-17
Original file line numberDiff line numberDiff line change
@@ -181,39 +181,39 @@ Prior to completing the steps below, please review the following Podman document
181181
1. Enable [smart-device-manager](https://gitlab.com/arm-research/smarter/smarter-device-manager#enabling-access) to securely expose a FUSE devices to pods.
182182

183183
```sh
184-
cat <<EOF | kubectl create -f -
185-
apiVersion: apps/v1
186-
kind: DaemonSet
187-
metadata:
184+
cat <<EOF | kubectl create -f -
185+
apiVersion: apps/v1
186+
kind: DaemonSet
187+
metadata:
188188
name: fuse-device-plugin-daemonset
189189
namespace: kube-system
190-
spec:
190+
spec:
191191
selector:
192-
matchLabels:
192+
matchLabels:
193193
name: fuse-device-plugin-ds
194194
template:
195-
metadata:
195+
metadata:
196196
labels:
197-
name: fuse-device-plugin-ds
198-
spec:
197+
name: fuse-device-plugin-ds
198+
spec:
199199
hostNetwork: true
200200
containers:
201-
- image: soolaugust/fuse-device-plugin:v1.0
202-
name: fuse-device-plugin-ctr
203-
securityContext:
201+
- name: fuse-device-plugin-ctr
202+
image: soolaugust/fuse-device-plugin:v1.0
203+
securityContext:
204204
allowPrivilegeEscalation: false
205205
capabilities:
206-
drop: ["ALL"]
207-
volumeMounts:
208-
- name: device-plugin
206+
drop: ["ALL"]
207+
volumeMounts:
208+
- name: device-plugin
209209
mountPath: /var/lib/kubelet/device-plugins
210210
volumes:
211211
- name: device-plugin
212-
hostPath:
212+
hostPath:
213213
path: /var/lib/kubelet/device-plugins
214214
imagePullSecrets:
215215
- name: registry-secret
216-
EOF
216+
EOF
217217
```
218218
219219
2. Be sure to label your nodes to enable smarter-device-manager:

0 commit comments

Comments
 (0)