Skip to content

Instantly share code, notes, and snippets.

@jamcole
jamcole / drive-to-backup.sh
Last active June 26, 2024 20:02
rclone backup google workspace drive folders, including shared drives, and shared with me
#!/bin/sh
# needs RCLONE_CONFIG env set
DRIVE_USERS="[email protected] [email protected]"
ADMIN_USER="[email protected]"
REMOTE_SRC="drive:"
REMOTE_DEST="b2-crypt:"
RCLONE_CONFIG_DIR=$(mktemp -d)
@jamcole
jamcole / Taskfile.yaml
Created August 20, 2024 18:58
Simple kustomize / kapp / kubectl Taskfile example
version: '3'
env:
KAPP_FQ_CONFIGMAP_NAMES: true
vars:
KAPP_NAMESPACE: vaultwarden
KAPP_NAME: vaultwarden
KAPP_ARGS: '--app-changes-max-to-keep=5'
# KAPP_ARGS: '--app-changes-max-to-keep=5 --apply-default-update-strategy fallback-on-replace'