Switches to more Go-idomatic approach for creating URLs and
populating querystrings.
There is an unexplained error in the certifier project, and
this indirection is not helping with debugging errors.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
The Knative serving service we were generating was out of
date, this PR changes that to work with the latest schema.
Changes have been tested with env vars and --tag=sha
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
The openfaas provider was introduced as a default over 8 months
ago, so anyone still using the generic and legacy term "faas"
should update their stack.yml file. Simply replacing "faas" with
"openfaas" is sufficient, all files created over the past
8 months+ should already have this text.
This is the final step of the depreciation of the legacy
provider "faas" and has no bearing on functionality.
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
The provider name value of faas is archaic and should be changed
to openfaas. The CLI code already supports this but the generated
values use the text faas still.
Signed-off-by: Alex Ellis <alexellis2@gmail.com>
Swarm and Kubernetes currently need a different format for these
fields so I'm commenting out the fields to prevent confusion with
new users. Pro users should uncomment the lines if they want to.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>
Brings templates for samples up to 0.7.8 watchdog.
Expands minimum memory to 40MB for each sample function - much
lower and the pod was never scheduled by Kubernetes.
Signed-off-by: Alex Ellis (VMware) <alexellis2@gmail.com>