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_URL was missing causing it to crash and all the pods depending on it
workshop config: API_GATEWAY_URL was missing causing it to crash so no access to the products
postgresdb and mongodb: their storage only had the PersistentVolumeClaim, PersistentVolume was missing. It was also complaining about the storageClassName
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 keysidentify config
:API_GATEWAY_URL
was missing causing it to crash and all the pods depending on itworkshop config
:API_GATEWAY_URL
was missing causing it to crash so no access to the productspostgresdb
andmongodb
: their storage only had thePersistentVolumeClaim
,PersistentVolume
was missing. It was also complaining about thestorageClassName
Now you just run the usual:
./deploy