crAPI icon indicating copy to clipboard operation
crAPI copied to clipboard

Fixed k8s deployment

Open HakunMatat4 opened this issue 2 years ago • 0 comments

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

Now you just run the usual: ./deploy

image

image

image

image

image

HakunMatat4 avatar Jun 09 '23 08:06 HakunMatat4