mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Apply suggestions from code review
Co-authored-by: steve richards <steve.james.richards@gmail.com> Signed-off-by: Lauri Nevala <lauri.nevala@gmail.com>
This commit is contained in:
parent
e9f75bd4d8
commit
9c9a4eacc5
@ -20,7 +20,7 @@ Next you need to create a symlink from the directory that Lens will monitor for
|
||||
```sh
|
||||
mkdir -p ~/.k8slens/extensions
|
||||
cd ~/.k8slens/extensions
|
||||
ln -s <lens-extension-samples directory>/helloworld-sample helloworld-sample
|
||||
ln -s lens-extension-samples/helloworld-sample helloworld-sample
|
||||
```
|
||||
|
||||
**Windows**
|
||||
@ -35,13 +35,13 @@ cd C:\Users\<user>\.k8slens\extensions
|
||||
If you have administrator rights, you can create symlink to the sample extension, in this case **helloworld-sample**:
|
||||
|
||||
```sh
|
||||
cmd /c mklink /D helloworld-sample <lens-extension-samples directory>\helloworld-sample
|
||||
cmd /c mklink /D helloworld-sample lens-extension-samples\helloworld-sample
|
||||
```
|
||||
|
||||
Without administrator rights, you need to copy the extensions sample directory into `C:\Users\<user>\.k8slens\extensions`:
|
||||
|
||||
```
|
||||
Copy-Item '<lens-extension-samples directory>\helloworld-sample' 'C:\Users\<user>\.k8slens\extensions\helloworld-sample'
|
||||
Copy-Item 'lens-extension-samples\helloworld-sample' 'C:\Users\<user>\.k8slens\extensions\helloworld-sample'
|
||||
```
|
||||
|
||||
### Build the extension
|
||||
|
||||
Loading…
Reference in New Issue
Block a user