You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/09/14 22:08:36 UTC

[GitHub] [openwhisk-deploy-kube] travigd opened a new issue #635: No way to override runtimes.json

travigd opened a new issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635


   I want to override the runtimes.json file (in particular, I just want to disable the stem cells since I don't run nodejs in my deployment).
   
   Could this be a customizable value? It could try to read a value from `values.yaml` and if it's not set, use the existing `runtimes.json` file.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss commented on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692682100


   For example, see how we override runtime.json when running the TravisCI tests: https://github.com/apache/openwhisk-deploy-kube/blob/master/tools/travis/deploy-chart.sh#L197-#L224
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] travigd commented on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
travigd commented on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692940053


   Like I said above, this still requires writing a file INSIDE the chart directory, when (in my humble opinion) it shouldn't. The status quo isn't the worst thing in the world (I can just automate copying the file in) but in an ideal world, I'd just have my `mycluster.yaml` file and that's it.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss commented on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692680249


   use `-f -f mycluster.yaml` to override helm defaults.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss edited a comment on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss edited a comment on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692680249


   use `-f mycluster.yaml` to override helm default values.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss edited a comment on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss edited a comment on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692682100


   For example, see how we override runtime.json when running the TravisCI tests: https://github.com/apache/openwhisk-deploy-kube/blob/master/tools/travis/deploy-chart.sh#L197-#L225
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss commented on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss commented on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692941193


   Sorry, I'm missing why this requires something inside the chart directory.  I routinely run with a mycluster.yaml located somewhere else on my harddrive.  You just give a path to -f.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] upgle commented on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
upgle commented on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692414885


   Hi @travigd, you can create new runtimes-minimal.json and override it like this:
   
   ```bash
   cat > mycluster.yaml <<EOF
   whisk:
     runtimes: "runtimes-minimal.json"
   ```
   
   https://github.com/apache/openwhisk-deploy-kube/blob/f9179825e78879f40436dbb5386268a888a0f716/helm/openwhisk/values.yaml#L126


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss closed issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss closed issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] dgrove-oss edited a comment on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
dgrove-oss edited a comment on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692941193


   Sorry, I'm missing why this requires something inside the chart directory.  I routinely run with a mycluster.yaml located somewhere else on my harddrive.  You just give a path in -f.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [openwhisk-deploy-kube] travigd commented on issue #635: No way to override runtimes.json

Posted by GitBox <gi...@apache.org>.
travigd commented on issue #635:
URL: https://github.com/apache/openwhisk-deploy-kube/issues/635#issuecomment-692415380


   For sure, but that still requires editing a file in the chart directory, which I'd rather not do (since I'd like to have all my git history outside of the openwhisk-deploy-kube repo).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org