Closed bpradipt closed 1 year ago
Ptal
You can test a deployment without building the image by using the following instructions
openssl genpkey -algorithm ed25519 > kbs.key
openssl pkey -in kbs.key -pubout -out kbs.pem
make deploy IMG=quay.io/bpradipt/kbs-operator
kubectl create secret generic kbs-auth-public-key --from-file=kbs.pem -n kbs-operator-system
kubectl apply -f config/samples/kbs-config.yaml
kubectl apply -f config/samples/as-config.yaml
kubectl apply -f config/samples/kbsconfig_sample.yaml
The latest image doesn't work out-of-box. So use the built-in-as-v0.6.0
tagged version like this
kubectl set image -n kbs-operator-system deploy/kbs-deployment kbs=ghcr.io/confidential-containers/key-broker-service:built-in-as-v0.6.0
The kbs deployment should be up and running.
This is initial code for the operator.