From 0d3afa09e14240292eb920a349386c4f6d7440b3 Mon Sep 17 00:00:00 2001 From: LeeW Date: Fri, 7 Mar 2025 14:46:14 +0100 Subject: [PATCH] update docs, write out long-form options --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ae9aec8..7acbe5a 100644 --- a/README.md +++ b/README.md @@ -89,7 +89,7 @@ Note: For a worked-through example, see next section. - CLI: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh --list_groups` - Reminder: Group Name usually corresponds to Repository Name 1. Update sops config AND all secrets files: - - CLI: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh -g $(find . -name secrets.yaml)` + - CLI: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh --group --find_secrets 1. **Commit the changes, Create Change Request (PR/MR)** 1. git: commit the changes to `.sops.yaml` and secrets files (`secrets.yaml`) files - CLI: `git add .sops.yaml $(find . -name secrets.yaml)` @@ -132,7 +132,7 @@ devnso-adp-argocd # For a given group, update sops config AND all secrets files - New Users cannot add themselves! # Output: -% ${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh -g devnso-adp-argocd $(find . -name secrets.yaml) +% ${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh --group devnso-adp-argocd --find_secrets # RUN: generate SOPS config # RUN: gpg --import *.gpg.pub # RUN: sops updatekeys ./loki/loki/secrets.yaml @@ -218,7 +218,7 @@ find groups/ -name ${keyname} # For each group, update sops config in that repo # Example: % cd devnso-adp-argocd -% ${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh -g devnso-adp-argocd $(find . -name secrets.yaml) +% ${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh --group devnso-adp-argocd --find_secrets # now git commit, push, etc ```