Skip to content

Commit

Permalink
updating readme with command changes and chaning slv-operator package…
Browse files Browse the repository at this point in the history
… name
  • Loading branch information
shibme committed Mar 4, 2024
1 parent d6e7084 commit 2da1d62
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ jobs:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}/operator:${{ env.SLV_VERSION }}
ghcr.io/${{ github.repository }}/operator:${{ github.ref_name }}
ghcr.io/${{ github.repository }}/operator:latest
ghcr.io/${{ github.repository }}/slv-operator:${{ env.SLV_VERSION }}
ghcr.io/${{ github.repository }}/slv-operator:${{ github.ref_name }}
ghcr.io/${{ github.repository }}/slv-operator:latest
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Created vault: test.slv.yaml

#### Add secrets to the vault
```sh
$ slv secret put -v test.slv.yaml -n db_password -s "super_secret_pwd"
$ slv vault put -v test.slv.yaml -n db_password -s "super_secret_pwd"

Added secret: db_password to vault: test.slv.yaml
```
Expand All @@ -65,7 +65,7 @@ Added secret: db_password to vault: test.slv.yaml
Set the environment variable `SLV_ENV_SECRET_KEY` to the secret key generated in the previous step
```sh
$ export SLV_ENV_SECRET_KEY=SLV_ESK_AEAEKAHBIONE3QIIWFXFRNJPE6A6AYL527QW4OF4HWWFDOE5E4XR5LO2WI
$ slv secret get -v test.slv.yaml -n db_password
$ slv vault get -v test.slv.yaml -n db_password

super_secret_pwd
```
Expand Down
2 changes: 1 addition & 1 deletion operator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kubectl get secret pets -o jsonpath='{.data.supercat}' | base64 --decode
```
- Add any secret using the following commands
```sh
slv secret put -v pets.slv.yaml -n hi -s "Hello World"
slv vault put -v pets.slv.yaml -n hi -s "Hello World"
kubectl apply -f pets.slv.yaml
```
- Try reading newly created secret from the cluster
Expand Down
2 changes: 1 addition & 1 deletion operator/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ spec:
serviceAccountName: slv-operator
containers:
- name: slv-operator
image: ghcr.io/savesecrets/slv/operator:latest # Use a specific version tag corresponding to the version of SLV used with the CR
image: ghcr.io/savesecrets/slv/slv-operator:latest # Use a specific version tag corresponding to the version of SLV used with the CR
resources:
limits:
cpu: "1" # 1 CPU should be fairly enough for SLV Controller
Expand Down

0 comments on commit 2da1d62

Please sign in to comment.