Skip to content

Commit

Permalink
Updates example "Public key as secret reference" in README.md (#46)
Browse files Browse the repository at this point in the history
Updates the code example in section "Public key as secret reference" to prevent that a default secret for the namespace is generated.
  • Loading branch information
ichnoweb authored Feb 9, 2024
1 parent 68485e0 commit ed79dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ kind: Secret
data:
COSIGNPUBKEY: LS0tLS1CRUdJTiBQVUJMSUMgS0VZLS0tLS0KTUZrd0V3WUhLb1pJemowQ0FRWUlLb1pJemowREFRY0RRZ0FFS1BhWUhnZEVEQ3ltcGx5emlIdkJ5UjNxRkhZdgppaWxlMCtFMEtzVzFqWkhJa1p4UWN3aGsySjNqSm5VdTdmcjcrd05DeENkVEdYQmhBSTJveE1LbWx3PT0KLS0tLS1FTkQgUFVCTElDIEtFWS0tLS0t
metadata:
name: cosignwebhook
name: cosign_secret # Can be choosen freely
type: Opaque
```
Expand All @@ -91,7 +91,7 @@ type: Opaque
- name: COSIGNPUBKEY
valueFrom:
secretKeyRef:
name: cosignwebhook
name: cosign_secret # Must be equal to metadata.name of the secrect
key: COSIGNPUBKEY
```
Expand Down

0 comments on commit ed79dea

Please sign in to comment.