stephenlacy / docker-secret-update

Do a full clean update of a docker secret

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating docker secrets

This does a full update of an existing secret to keep the name the same for a stack update

Docker secret does not have an update command (by design). This is great for rollbacks to keep a history of secrets - but this will not allow a docker stack command to update a service without changing the secret name.

This script does a full update and change of the docker secret

Usage

$ STACK=myapp ./update.sh

MIT

About

Do a full clean update of a docker secret

License:MIT License


Languages

Language:Shell 100.0%