Update registry references and node selector in configuration files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
gyurix
2025-03-05 17:30:18 +01:00
parent 59db7bc9e8
commit b4f570ee8f
4 changed files with 59 additions and 53 deletions

View File

@@ -3,7 +3,7 @@ type: kubernetes
name: default
node_selector:
physical-node: dev2
physical-node: dev1
trigger:
branch:

View File

@@ -8,5 +8,5 @@ Once crontab.txt changed it's affected after 1 minute.
## Usage:
docker run --volume <host-path-to-crontab.txt>:/crontab.txt registry.format.hu/cron
docker run --volume <host-path-to-crontab.txt>:/crontab.txt safebox/cron

View File

@@ -5,7 +5,7 @@
},
"containers": [
{
"IMAGE": "registry.format.hu/cron",
"IMAGE": "safebox/cron",
"NAME": "cron",
"UPDATE": "true",
"MEMORY": "64M",
@@ -33,13 +33,19 @@
"TYPE": "ro"
}
],
"PORTS": [ ],
"PORTS": [],
"READYNESS": [
{"tcp": ""},
{"HTTP": ""},
{"EXEC": "/ready.sh"}
{
"tcp": ""
},
{
"HTTP": ""
},
{
"EXEC": "/ready.sh"
}
],
"ENVS": [ ],
"ENVS": [],
"EXTRA": "--privileged --restart unless-stopped",
"DEPEND": "null",
"START_ON_BOOT": "false",

View File

@@ -1,6 +1,6 @@
#!/bin/sh
SERVICE_FILE=$1
DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL:-registry.format.hu}
DOCKER_REGISTRY_URL=${DOCKER_REGISTRY_URL:-safebox}
SETUP_VERSION=${SETUP_VERSION:-latest}
if [[ -n "$DOCKER_REGISTRY_URL" && "$DOCKER_REGISTRY_URL" != "null" ]]; then