**What**
- Create addon that installs openfaas using helm3. The user can
toggle if the installation should enable basic auth and if
it should install the operator mode instead of the standard
controller. All other settings can be controlled via an
external values files that can be passed as a flag.
Signed-off-by: Lucas Roesler <roesler.lucas@gmail.com>
Co-authored-by: Konstantinos Tsakalozos <kos.tsakalozos@canonical.com>
* allow to enable prometheus tests by setting environment variable. want to test prometheus with travis or github actions.
* add time pressure disable for ambassador.
* Add flake8 to CI checks
black doesn't catch some things such as unused variables or trailing
spaces in docstrings, so add flake8 to the CI process.
flake8 and black disagree on a few things, and black is probably in the
right, at least according to pep8. So, add a few lint ignores, as in
https://github.com/psf/black/blob/master/docs/compatible_configs.md
* Build K8s binaries in separate build step
Since these don't rely on local source code changes other than what's
under build-scripts/, if we build these in a separate snapcraft part,
we won't have to rebuild them when making changes in most of the
codebase. Building these binaries currently takes the majority of the
time spent doing incremental rebuilds.
* First pass on microk8s enable
* Add pie chart to the grafana of prometheus operator
* Revert "Add pie chart to the grafana of prometheus operator"
This reverts commit 1c28dc6dec112d713f8257219be1ad3eb5424f8e.
* Handle distribute an operation across nodes (#1297)
* Handle dqlite and cluster agent ports on HA cluster
* Fix distributed ops on single node cluster (#1320)
* Start dqlite and calico by default
* Do not try to distribute configuration when cluster agent is stopped
* Dqlite without REST interface
* Remove the ha-cluster subcommand from status (#1374)
* Remove the ha-cluster subcommand from status
* fix enabling of dns when running HA. (#1403)
* Fix LXC deployments, umount kubelet when removing microk8s (#1424)
* Stopping control plane on HA (#1406)
* Change ownership of files under the dqlite path (#1429)
* Change ownership of files under the dqlite path
* Address review comments
* Add message in joining (#1452)
* Handle not reachable nodes (#1450)
* Fixes#1448 (#1457)
* microk8s.leave single leader guard (#1462)
* Fix cilium in an ha cluster (#1453)
* dbctl for dqlite backup and restore (#1435)
Co-authored-by: balchua <balchua@yahoo.com>
* move default cni bin directory from SNAP to SNAP_DATA
* create multus add-on using daemonset
Co-authored-by: Konstantinos <kos.tsakalozos@canonical.com>
* Update sed commands to use ';' delimiter
The previous implementation which used '/' as the delimiter meant that
replacing lines in files that contain '/' (such as file paths) would
fail because the sed expression would be terminated earlier than
expected. Change it to use something that's less likely to cause trouble
when configuring config options.
The alternative is escaping in all of the users, which I opted to avoid
because there's already examples in the tree where plugins attempt to
use this function with paths, and also an upcoming commit will add an
additional example of this.
* Add helm addon
Create a helm addon which wraps around snap install to provide the
dependency for the upcoming Cilium addon.
Signed-off-by: Joe Stringer <joe@cilium.io>
* Refactor service shutdown function into utils.sh
Make this functionality a bit more generic to be shared with other
components.
Signed-off-by: Joe Stringer <joe@cilium.io>
* add linkerd addon.
* download linkerd during enable. to minimize the size of the snap binary. Also allow arguments to be passed during enabling of addon.
* delete all binaries in /bin during reset.
* delete binaries inside SNAP_DATA/bin during reset.
* check if SNAP_DATA/bin directory exist then delete the directory on reset.