2 Commits

Author SHA1 Message Date
75c4857535 prod sandbox bump 2026-04-17 21:15:13 -04:00
27c603e964 config-update fix 2026-04-17 21:03:12 -04:00
2 changed files with 5 additions and 10 deletions

View File

@@ -23,7 +23,7 @@ usage() {
echo " relay-config - ZMQ relay configuration" echo " relay-config - ZMQ relay configuration"
echo " ingestor-config - CCXT ingestor configuration" echo " ingestor-config - CCXT ingestor configuration"
echo " flink-config - Flink job configuration" echo " flink-config - Flink job configuration"
echo " gateway-config - Gateway configuration (prod only; uses op inject)" echo " gateway-config - Gateway configuration"
echo "" echo ""
echo "Examples:" echo "Examples:"
echo " $0 # Update all dev configs" echo " $0 # Update all dev configs"
@@ -75,14 +75,9 @@ apply_config() {
echo -e "${GREEN}→${NC} Creating/updating ConfigMap $config_name..." echo -e "${GREEN}→${NC} Creating/updating ConfigMap $config_name..."
if [[ "$ENV" == "prod" && "$config_name" == "gateway-config" ]]; then
# gateway-config contains op:// references — resolve via op inject
op inject -i "$config_file" | $KUBECTL apply -f -
else
$KUBECTL create configmap "$config_name" \ $KUBECTL create configmap "$config_name" \
--from-file=config.yaml="$config_file" \ --from-file=config.yaml="$config_file" \
--dry-run=client -o yaml | $KUBECTL apply -f - --dry-run=client -o yaml | $KUBECTL apply -f -
fi
echo -e "${GREEN}✓${NC} $config_name updated" echo -e "${GREEN}✓${NC} $config_name updated"
# Optionally restart pods that use this config # Optionally restart pods that use this config

View File

@@ -50,7 +50,7 @@ data:
namespace: sandbox namespace: sandbox
service_namespace: ai service_namespace: ai
in_cluster: true in_cluster: true
sandbox_image: git.dxod.org/dexorder/dexorder/ai-sandbox:bbddd58 sandbox_image: git.dxod.org/dexorder/dexorder/ai-sandbox:27c603e
sidecar_image: git.dxod.org/dexorder/dexorder/ai-lifecycle-sidecar:latest sidecar_image: git.dxod.org/dexorder/dexorder/ai-lifecycle-sidecar:latest
image_pull_policy: Always image_pull_policy: Always
storage_class: ceph-block storage_class: ceph-block