openshift-cloud-functions / js-function-operator

R&P for an operator to deploy and execute Node.js functions as Knative Services on Kubernetes
MIT License
1 stars 3 forks source link

chore: Fixed POC usage of ConfigMaps #3

Closed rhuss closed 5 years ago

rhuss commented 5 years ago

I added the following changes:

• The ConfigMap created was never stored on the cluster • The Volume definition needs to be part of the PodSpec, it's not a standalone entity. • I had to change to port 8181 as port 8080 seems to be already occupied • I had to switch to docker.io/rhuss/js-runtime (which is a clone of quay.io/lanceball/js-runtime) because OpenShift doesn't work with quay.io yet (different registry format)

It has been tested with the sample CR from the repo.