Repository navigation
v1.6.0
Proxmox-Gitops
Configuration
cd Proxmox-GitOps
chmod +x local/run.shEdit the configuration according to Proxmox-GitOps#deployment.
Configure Credentials
jq '
.proxmox.host = "192.168.178.100" |
.credentials.user = "root@pam" |
.credentials.password = "GITOPS.PM" |
.user.login = "steven" |
.user.password = "gitops.pm"
' local/config.json > local/config.local.jsonEnvironment Configuration
Ensure the centralized environment configuration globals.json:
{
"LIBS_BROKER_ENDPOINT": "mqtt://192.168.178.109:1883",
"LIBS_BRIDGE_ADAPTER": "zstack",
"LIBS_BRIDGE_SERIAL": "/dev/serial/by-id/"
}Deployment
-
If
auto.deploy(./local/config.jsonor./local/config.local.json) is set totrue,./local/run.shwill deployProxmox-GitOpsto Proxmox VE asconfigcontainer, and subsequently deploy the container libraries (/libs) from within theconfigcontainer itself.- Adjust
auto.stage(./local/config.jsonor./local/config.local.json) to override the default deployment stage for automatic deployment.
- Adjust
-
Otherwise, the container deployment must be triggered manually by accepting the Pull Request, either via
http://localhost:8080/main/configor directly from theconfigcontainer for the respective container library.
./local/run.sh [-h|--help]
./run.sh [OPTIONS] [lib] [-h|--help]
-i, --init <bool>
-l, --log-level <level>
-s, --suffixes <list>
-d, --debug
-r, --restart
Examples:
./run.sh --debug --restart broker
./run.sh -s "customize" -l error
Changes
- release/v1.6.0 (#385) (#405) by @stevius10 in #386
Breaking Change: General configuration structure (./local/config.json or ./local/config.local.json):
{
"proxmox": {
"host": "(set)",
"node": "(adjust)",
"gateway": "(adjust)",
"mask": "(adjust)",
"interface": "(adjust)",
"bridge": "(adjust)",
"storage": "(adjust)",
"template": "(adjust)"
},
"credentials": {
"user": "(set)",
"password": "(set)"
},
"user": {
"login": "(set)",
"password": "(set)"
},
"auto": {
"deploy": "(adjust)",
"stage": "(adjust)"
},
"settings": {
"locale": "(adjust)",
"timezone": "(adjust)"
}
}