Closed msheiny closed 5 years ago
rebased on e8de354
Working well, after putting in the corresponding changes in other repos to update the container name. Satisfied with functional review performed locally against dev cluster.
GitHub is asking for a rebase, so doing that on top of 07b4804833358b1278777f863825fa7b8ddb307a prior to merge.
Adds a new container spec for making GCP bucket backups:
Note I didn't include a metadata file here cause I'm not building with the
build.py
scripts in the root. I'm trying something new and wacky.To test? Well I've been testing locally using something like:
podman run --privileged -e GBACKUP_ENV_KEY=$(cat gskey) -v "$(pwd)/gsutil.json:/secret/gcp.key:ro" -v "$(pwd)/bucket_sync.py:/usr/local/bin/bucket_sync.py" -it fpf.local/gsutil_sync:latest gs://stn-fpf-media/media/ gs://k8s-www-backups/stn stnmedia -svc_act_key=/secret/gcp.key
A better thing to do would give this a visual glance over and give a more thorough investigation of the implementation as a kubernetes cron-job