Skip to content

Commit

Permalink
Merge pull request #13 from davidhadas/ppsecurecomms
Browse files Browse the repository at this point in the history
Add kbs client auth key to K8s secrets
  • Loading branch information
bpradipt authored Apr 10, 2024
2 parents 47ffc96 + df15987 commit e23cde5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si
# or config/samples/all-in-one for the integrated mode
# create authentication keys
openssl genpkey -algorithm ed25519 > kbs.key
openssl pkey -in kbs.key -pubout -out kbs.pem
openssl genpkey -algorithm ed25519 > privateKey
openssl pkey -in privateKey -pubout -out kbs.pem
# create all the needed resources
kubectl apply -k .
Expand Down Expand Up @@ -214,8 +214,6 @@ You’ll need a Kubernetes cluster to run against. You can use [KIND](https://si

It is also possible to create the K8s secrets (a commented out example is provided in the [kustomization.yaml](config/samples/microservices/kustomization.yaml)). To enable the secrets you'd need to uncomment the relevant secret generator entry and patch.



### Uninstall CRDs

To delete the CRDs from the cluster:
Expand Down
3 changes: 3 additions & 0 deletions config/samples/microservices/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ secretGenerator:
- name: kbs-auth-public-key
files:
- kbs.pem
- name: kbs-client
files:
- privateKey
# uncomment the following lines for injecting sample resources in kbs
#- literals:
# - key1=res1val1
Expand Down

0 comments on commit e23cde5

Please sign in to comment.