Skip to content

Instantly share code, notes, and snippets.

@2mind
2mind / secrets.seal.sh
Created September 16, 2021 11:06 — forked from ghostsquad/secrets.seal.sh
secrets.seal.sh
#! /usr/bin/env bash
set -Eeuo pipefail
scripts_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
source "${scripts_dir}/functions.sh"
test_jq
test_yq
test_kubeseal
@2mind
2mind / yjy.md
Created April 13, 2021 12:16 — forked from quiye/yjy.md
yaml to jsonnet to yaml
@2mind
2mind / gist:d37a92f666157e243e9e
Created October 28, 2015 14:11 — forked from flaccid/gist:97473d0d85e2d6f4e292
Quick example of blue/green app ugprade on Rancher
$ export RANCHER_HOST=foo.bar.suf
$ export RANCHER_PORT=8080
$ export RANCHER_PROJECT_ID=1a8
$ export RANCHER_STACK_NAME=killerapp
$ ./cattle-deploy.py
output:
snapshot epoch is1437634695
created temp file /var/folders/sx/ht6gznq979v5r725sqt7_p617p38sz/T/tmpprzZsd