Skip to content

Commit 71c65af

Browse files
committed
Update README with examples
Signed-off-by: Alex Ellis <[email protected]>
1 parent 1bc413b commit 71c65af

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ RUN chown -R app:app ./
3131

3232
USER app
3333

34-
CMD ["./connector"]
34+
CMD ["./connector"]

Dockerfile.armhf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ RUN chown -R app:app ./
3131

3232
USER app
3333

34-
CMD ["./connector"]
34+
CMD ["./connector"]

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,18 @@ For further details and naming see the [vSphere Web Services API](https://code.v
3232

3333
You can pass credentials via arguments (not recommended).
3434

35+
```sh
36+
./vcenter-connector \
37+
-vc-user="admin" \
38+
-vc-pass="test1234" \
39+
```
40+
3541
Or use a secret and pass the name:
3642

3743
```sh
3844
./vcenter-connector \
45+
-vc-user="" \
46+
-vc-pass="" \
3947
-vc-user-secret-name=vcenter1-username \
4048
-vc-password-secret-name=vcenter1-password
4149
```

0 commit comments

Comments
 (0)