This change removes the check-update command. This command is not
required and caused the script to exit early if packages are not up to
date.
In addition DNF is now used to install packages. DNF is the successor of
YUM on the latest RHEL-based system.
Signed-off-by: Han Verstraete (OpenFaaS Ltd) <han@openfaas.com>
* Fixes upstream deprecations for containerd
* Fixes deprecations in ioutil package usage
* Break out separate files for function handlers
* Upgrades containerd to 1.7.22
* Fixes default namespace functionality
* Pre-deploy checks as per license agreement
* Removes extra log messages for payload in HTTP handlers, you
can enable FAAS_DEBUG=1 in the CLI instead to see this from
the client's perspective
* Add additional Google DNS server 8.8.4.4 for functions
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
* Updates containerd to v1.7.0 and new binary for 32-bit
Arm OSes.
* Updates Go dependencies - openfaas and external
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Caddy cannot be installed to /usr/local/bin due to the
service file expecting it to be in /usr/bin
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
Upgrades containerd, and switches to the official 64-bit ARM
binary.
Continues to use my binary for 32-bit arm hosts.
CNI upgraded to v0.9.1
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
The install.sh script was modified to include a test for the pacman package manager, and to use it should it be present.
This is necessary for the script to work on Arch based Linux distributions, or more generally ones that use pacman as their main package manager.
It was tested by simply trying it out on two local machines, one running Manjaro, one running Arch. In both cases it worked as expected, and without error.
Signed-off-by: Jacob Palecek <jacob.palecek@outlook.com>
updated install.sh to SUDO for /sbin/sysctl
-w net.ipv4.conf.all.forwarding=1
this prevents permission issue on ubuntu
Signed-off-by: albertkohl-monotek <albert.kohl@mono-tek.com>