Skip to content

Instantly share code, notes, and snippets.

View chrisns's full-sized avatar

Chris Nesbitt-Smith chrisns

View GitHub Profile
@chrisns
chrisns / updateSecret.sh
Last active January 14, 2020 12:35 — forked from 6be709c0/updateSecret.sh
A simple command to finally update the docker secret !
#!/usr/bin/env bash
# HOW TO USE
# based on https://gist.github.com/MLescaudron/e8248d32d3a5b8caaf622c1a829cf067
# ./updateSecret.sh secretName newFile
# It's that simple !
if [ "$#" -ne 2 ];
then
echo "#####"