Skip to content

Commit 5506adc

Browse files
authored
Fix loki-install sed command
The current loki-install sed command in module 10 is not working, fixed it
1 parent 5cf8bfa commit 5506adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module10/loki-stack/readme.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ cd loki-stack
2020
```
2121
### replace all `rbac.authorization.k8s.io/v1beta1` with `rbac.authorization.k8s.io/v1` by
2222
```
23-
sed -i s#rbac.authorization.k8s.io/v1beta1#rbac.authorization.k8s.io/v1#g *.yaml
23+
grep -rl "rbac.authorization.k8s.io/v1beta1" . | xargs sed -i 's/rbac.authorization.k8s.io\/v1beta1/rbac.authorization.k8s.io\/v1/g'
2424
```
2525
### install loki locally
2626
```

0 commit comments

Comments
 (0)