prole/tmp/patch_jemalloc.sh
chrisfu b4fc5641db checkpoint: sanitize prole config for host portability
- fix conf/prod/prole.cfg by replacing hardcoded /Users/chrisfu paths with /Users/chrisfu

- remove injected [update.sh] log lines and stray password artifacts so config is executable

- include latest pending updates across deployment config, UI/core flow, vault/network artifacts, and helper scripts
2026-04-10 05:58:40 -07:00

26 lines
790 B
Bash

#!/usr/bin/env bash
set -euo pipefail
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
echo "==> Patching GitLab CR with LD_PRELOAD='' on all ARM64-affected components..."
kubectl -n gitlab patch gitlab gitlab --type=merge -p '{
"spec":{"chart":{"values":{
"gitlab":{
"migrations":{"extraEnv":{"LD_PRELOAD":""}},
"sidekiq":{"extraEnv":{"LD_PRELOAD":""}},
"webservice":{"extraEnv":{"LD_PRELOAD":""}},
"gitaly":{"extraEnv":{"LD_PRELOAD":""}},
"toolbox":{"extraEnv":{"LD_PRELOAD":""}}
},
"registry":{"extraEnv":{"LD_PRELOAD":""}}
}}}}'
echo "==> Patch applied. Waiting 45s for operator to reconcile..."
sleep 45
echo "==> Pod status:"
kubectl -n gitlab get pods
echo "==> GitLab CR status:"
kubectl -n gitlab get gitlab gitlab