mirror of
https://github.com/dredx/prole.git
synced 2026-09-24 16:44:33 +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
30 lines
932 B
Bash
30 lines
932 B
Bash
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
export KUBECONFIG=/Users/chrisfu/dev/prole/prole-k3s.kubeconfig
|
|
|
|
echo "==> Patching GitLab CR with ARM64-compatible minio/mc images..."
|
|
kubectl -n gitlab patch gitlab gitlab --type=merge -p '{
|
|
"spec":{"chart":{"values":{
|
|
"minio":{
|
|
"image":"minio/minio",
|
|
"imageTag":"RELEASE.2024-12-18T17-30-49Z",
|
|
"mcImage":{
|
|
"repository":"minio/mc",
|
|
"tag":"RELEASE.2024-11-21T17-21-54Z"
|
|
}
|
|
}
|
|
}}}}'
|
|
|
|
echo "==> Deleting stuck minio pod and create-buckets job..."
|
|
kubectl -n gitlab delete pod -l app=minio --ignore-not-found
|
|
kubectl -n gitlab delete job -l app=minio-create-buckets --ignore-not-found
|
|
|
|
echo "==> Waiting 90s for operator to reconcile..."
|
|
sleep 90
|
|
|
|
echo "==> Pod status:"
|
|
kubectl -n gitlab get pods --sort-by=.metadata.creationTimestamp | grep -v jemalloc-builder
|
|
|
|
echo "==> Minio logs:"
|
|
kubectl -n gitlab logs -l app=minio --tail=15 2>&1 || true
|