From 501f08afd940585ded255539e9d2236bd7018ea1 Mon Sep 17 00:00:00 2001 From: LeeW Date: Wed, 12 Feb 2025 10:51:39 +0100 Subject: [PATCH] adds automation instructions to doc --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index e9bea9a..cf795f3 100644 --- a/README.md +++ b/README.md @@ -67,4 +67,17 @@ sops -e -i secrets.yaml # decript, print to console sops -d secrets.yaml +``` + +# Automation + +```bash +% cd cloud-solutions/nso/devnso-adp-argocd +% ${WORKSPACE}/communication-keys/bin/update_sops.sh -k ${WORKSPACE}/communication-keys/roles/devnso-adp-argocd +``` + +```bash +% git clone git@git.dev-at.de:cloud-solutions/nso/devnso-adp-argocd.git +% ./bin/update_sops.sh -c ./devnso-adp-argocd/ -k roles/devnso-adp-argocd +% cd ./devnso-adp-argocd/ && git diff ``` \ No newline at end of file