This commit is contained in:
2025-09-02 20:17:02 +02:00
parent bd73a6af43
commit 9750210f43

View File

@@ -211,7 +211,7 @@ data:
curl -sS -u "shodan:${SHODAN_PW}" \
-H 'Content-Type: application/json' \
-X POST http://localhost:3000/api/v1/repos/Undercloud/k8s-apps/push_mirrors \
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/k8s-apps.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":false}'
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/k8s-apps.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":true}'
# optional: trigger immediate sync of all push mirrors for this repo
# curl -sS -u "shodan:${SHODAN_PW}" -X POST http://localhost:3000/api/v1/repos/Undercloud/k8s-apps/push_mirrors-sync
@@ -236,7 +236,7 @@ data:
curl -sS -u "shodan:${SHODAN_PW}" \
-H 'Content-Type: application/json' \
-X POST http://localhost:3000/api/v1/repos/Undercloud/assets/push_mirrors \
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/assets.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":false}'
-d '{"remote_address":"http://git.undercloud.local:3000/Undercloud/assets.git","remote_username":"shodan","remote_password":"'"$SHODAN_PW"'","interval":"1h0m0s","sync_on_commit":true}'
echo "create startup.ran file..."