mirror of
https://github.com/dredx/prole.git
synced 2026-09-23 11:03:59 +00:00
- 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
26 lines
790 B
Bash
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
|