From 283f94e058898392a8ee9c82182e5795e2f1fde2 Mon Sep 17 00:00:00 2001 From: LeeW Date: Thu, 6 Mar 2025 16:04:05 +0100 Subject: [PATCH] ADP-216: updates README from UAT feedback for step2 --- README.md | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ca86132..bcd0a0f 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,8 @@ Now the sample secrets file _in this repo_ has been updated, and the New User sh The following commands explain how to update the `.sops.yaml` for a repository: #### Prerequisite + +Obtain Repo ```shell # E.g. update sops config for DevNSO % git clone git@git.dev-at.de:cloud-solutions/nso/devnso-adp-argocd.git @@ -96,7 +98,14 @@ The following commands explain how to update the `.sops.yaml` for a repository: #### Commands -Configure Project Repo for New User +**Create Branch** + +```shell +## OPINIONATED GIT - use preferred method +git checkout -b `add_pubkey_[firstname]-[lastname]` origin/main +``` + +**Configure Project Repo for New User** @@ -119,6 +128,8 @@ devnso-adp-argocd # SUCCESS: all users with keys in this dir should have functional keys ``` +**Commit the changes, Create Change Request (PR/MR)** + ```shell # commit the changes to any .sops.yaml or secrets files, e.g. with ## OPINIONATED GIT - use preferred method @@ -130,7 +141,12 @@ y % git push ``` -At this point, the New User has been configured and can grant themselves access to any of the secrets files in this project. +Open an MR and Merge the changes back into the trunk branch (e.g. `main`) + +At this point, the New User has been configured + +Hand Off to New User + ## 3. Onboarding: [New User] Configure SOPS