crAPI
crAPI copied to clipboard
Fixed k8s deployment
These changes were necessary in order to get crAPI running successfully in a Kubernetes cluster.
I had reported the issues here: https://github.com/OWASP/crAPI/issues/207 But since I am already on it, it makes more sense to push the changes myself. I am not a kubernetes expert but those changes were necessary to get everything running.
-
deploy.sh: Misconfiguration missing both the namespace and incomplete path to the keys -
identify config:API_GATEWAY_URLwas missing causing it to crash and all the pods depending on it -
workshop config:API_GATEWAY_URLwas missing causing it to crash so no access to the products -
postgresdbandmongodb: their storage only had thePersistentVolumeClaim,PersistentVolumewas missing. It was also complaining about thestorageClassName
Now you just run the usual: ./deploy