|
|
|
|
@ -81,11 +81,12 @@ The following commands explain how to update the `.sops.yaml` for a repository:
|
|
|
|
|
1. Obtain Project Repo
|
|
|
|
|
- CLI: **e.g.**: `git clone git@git.dev-at.de:cloud-solutions/nso/devnso-adp-argocd.git`
|
|
|
|
|
1. **Create Branch**
|
|
|
|
|
- CLI: **e.g.**: `git checkout -b `add_pubkey_[firstname]-[lastname]` origin/main`
|
|
|
|
|
- CLI: **e.g.**: `git checkout -b add_pubkey_[firstname]-[lastname] origin/main`
|
|
|
|
|
1. **Configure Project Repo for New User**
|
|
|
|
|
1. List available groups: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh --list_groups`
|
|
|
|
|
1. List available groups:
|
|
|
|
|
- CLI: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh --list_groups`
|
|
|
|
|
1. Update sops config AND all secrets files:
|
|
|
|
|
- `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh -g <group_name> $(find . -name secrets.yaml)`
|
|
|
|
|
- CLI: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh -g <group_name> $(find . -name secrets.yaml)`
|
|
|
|
|
- **e.g.**: `${PATH_TO_COMMUNICATION_KEYS_REPO}/bin/update_sops.sh -g devnso-adp-argocd $(find . -name secrets.yaml)`
|
|
|
|
|
1. **Commit the changes, Create Change Request (PR/MR)**
|
|
|
|
|
1. git: commit the changes to `.sops.yaml` and secrets files (`secrets.yaml`) files
|
|
|
|
|
|