Run cloud shell command in cloud function

12/16/2019

How I can run some gcp shell command (like: helm install . -n test --namespace=my-namespace -f ./configs/my-conf.yaml) inside my cloud function?

-- Ted
google-cloud-functions
google-cloud-platform
google-kubernetes-engine
kubernetes-helm

1 Answer

12/16/2019

Hey have you thought about setting pyhelm in Python it as a dependency of the Cloud Function and then using it to do what you need via code? Would that work for your use case or am I missing something?

Does pyhelm not let you do the packages installation that you need?

Let us know.

-- Stefan G.
Source: StackOverflow