-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Consolidate deploy OVA params
- Loading branch information
Showing
11 changed files
with
447 additions
and
122 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,8 @@ See available environment variables examples in [.env.example](https://github.co | |
```bash | ||
export VMWARE_URL=username:[email protected] | ||
export VMWARE_INSECURE=1 | ||
export VMWARE_DC=DC1 | ||
export VMWARE_DATACENTER=DC1 | ||
export VMWARE_FOLDER=DevVMs | ||
``` | ||
|
||
## Development | ||
|
@@ -30,5 +31,5 @@ or using Docker and Docker Compose | |
make dc | ||
``` | ||
|
||
## API | ||
## API docs | ||
See [swagger file](https://github.com/vterdunov/janna-api/blob/master/api/swagger.yaml) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
# Example configuration file | ||
|
||
# Janna common settings | ||
### Janna common settings | ||
PORT=8080 | ||
DEBUG=false | ||
|
||
# VMWare settings | ||
# Task info Time-To-Live | ||
TASKS_TTL=27 | ||
|
||
### VMware setting | ||
# Connection settings | ||
VMWARE_URL=[email protected]:[email protected] | ||
VMWARE_INSECURE=1 | ||
|
||
# VMWare default parameters. May be overriden in API request. | ||
VMWARE_DC=DC1 | ||
VMWARE_DS=Cluster/host1 | ||
VMWARE_FOLDER=vm-folder | ||
VMWARE_RP=janna | ||
### VMWare resources default parameters. May be overriden in API request. | ||
# Datacenter | ||
VMWARE_DATACENTER=DC1 | ||
|
||
# VMWARE_HOST is optional. So if you use empty value, then vCenter will choose a host to deploy. | ||
# If you need a specify a cluster then specify a Resource Pool (VMWARE_RP env) param. | ||
# VMWARE_HOST=vi-devops-esx7.lab.vi.local | ||
# Folder VMs deploy to | ||
VMWARE_FOLDER=vm-folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.