Commit Graph

3441 Commits (bb322548580ffc2b1dcce4dfc00c0b895219a548)

Author SHA1 Message Date
Darren Shepherd e6eabbb6a7 $ must be escaped in Makefile 2020-04-27 12:09:07 -07:00
Darren Shepherd 5715e1ba0d Add ability to disable kubeproxy 2020-04-27 11:24:00 -07:00
Darren Shepherd 7920fa48c9 Only need to resolve the path of host-local if Flannel is enabled 2020-04-27 11:17:41 -07:00
Darren Shepherd 8cc9efdf7c Allow InitLogging to be called twice
This makes it a bit easier to embed k3s into another go program
2020-04-27 11:16:08 -07:00
Darren Shepherd 8b8af94eb2 Move disabled items to a const to keep more consistency
This also help when embedding k3s because we can programmitically know
all the components to disable.
2020-04-27 11:15:35 -07:00
Darren Shepherd c25f1ab1b6 Check for error on mkdir 2020-04-27 11:14:21 -07:00
Darren Shepherd 0efe2af1a7
Merge pull request #1637 from MaciejKucia/mattkucia/fix-install
install: Properly detect enabled selinux
2020-04-27 09:25:15 -07:00
Darren Shepherd 130e6e31a1
Merge pull request #1664 from KnicKnic/windows-18-build
fix build windows v1.18
2020-04-27 09:23:32 -07:00
Darren Shepherd ad557bfeed
Merge pull request #1659 from joakimr-axis/joakimr-axis_package-cli-clean
package-cli: Remove superfluous file exist check
2020-04-27 09:23:16 -07:00
Darren Shepherd e4f87f51e2
Merge pull request #1681 from KnicKnic/fix_file_paths
fix usage of path instead of filepath
2020-04-27 09:21:48 -07:00
Darren Shepherd 7d06d2ccc1
Merge pull request #1653 from KnicKnic/enable_agent_windows
enable agent to start on windows
2020-04-27 09:05:12 -07:00
Knic Knic 44b8af097c fix usage of path instead of filepath 2020-04-25 00:29:18 -07:00
Erik Wilson 2c49341113
Merge pull request #1669 from erikwilson/manifest-mod-time
Check modification time before deploying manifests
2020-04-23 14:17:14 -07:00
Erik Wilson b2cab73d27
Merge pull request #1672 from galal-hussein/helm_update
helm-controller and kine update
2020-04-23 14:09:41 -07:00
galal-hussein dae4a92091 update dqlite-build and kine 2020-04-23 22:34:44 +02:00
galal-hussein 37e91dc3a1 update klipper image in airgap 2020-04-23 20:50:32 +02:00
galal-hussein 1d6b83d8a4 go generate 2020-04-23 02:42:12 +02:00
galal-hussein 30b1fb0e98 kine update 2020-04-23 00:46:46 +02:00
galal-hussein 94da8b8e12 update helm-controller 2020-04-23 00:34:19 +02:00
Erik Wilson fec2c271c2 Check modification time before deploying manifests 2020-04-22 09:58:41 -07:00
Knic Knic d919a0b998 Mock out rootlessports on windows 2020-04-21 15:43:36 -07:00
Joakim Roubert ce109602cb package-cli: Remove superfluous file exist check
The command rm -f will succeed even if run for a file that does not
exist. Hence it is superfluous to existence check a file that we want
to purge with rm -f, which makes the script a bit simpler to read.

Change-Id: If4eafea568301f418e0dd533e7175781ebf6000a
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-04-21 14:26:05 +02:00
Joakim Roubert 9307fcc332 package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Change-Id: Id81a05dcf2dadcc60ef8171494a284fbe1630400
Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-04-21 13:33:29 +02:00
Erik Wilson 553517e194
Merge pull request #1569 from ibuildthecloud/k3s-v1.18
k8s 1.18
2020-04-19 13:44:08 -07:00
Erik Wilson 0434eea44c Disable conformance test for arm64 2020-04-19 08:52:51 -07:00
Erik Wilson 3986b4787f Update to k8s 1.18.2 2020-04-19 08:46:09 -07:00
Darren Shepherd 46c7aba40a Update sonobouy to v0.17.2 2020-04-18 23:59:08 -07:00
Darren Shepherd dfcbd5a3c1 Update generated code 2020-04-18 23:59:08 -07:00
Darren Shepherd a8d96112d9 Updates for k8s v1.18 support 2020-04-18 23:59:08 -07:00
Darren Shepherd 53ed13bf29 Update vendor 2020-04-18 23:59:08 -07:00
Knic Knic 7f77c9a3c8 enable agent to start on windows 2020-04-18 23:43:08 -07:00
Joakim Roubert b313c196a1 package-cli: Remove redundant rm -rf build/data
Moving symlinks to containerd to a for loop makes maintenance easier;
also using the -f flag for ln rather than having a separate rm step.
It also reveals a duplicate, redundant, rm -rf build/data and one
duplicate, redundant, rm -rf bin/kubectl, that can be both be purged.

Signed-off-by: Joakim Roubert <joakim.roubert@axis.com>
2020-04-16 08:47:41 +02:00
Erik Wilson c14dac9aa4
Merge pull request #1580 from erikwilson/use-channel-server-install-script
Use channel server for install script
2020-04-14 13:41:49 -07:00
Erik Wilson 5c3d7508a7
Merge pull request #1627 from loganhz/docker
Update docker vendor
2020-04-14 10:48:30 -07:00
Maciej Kucia cae65ae648 install: Properly detect enabled selinux 2020-04-13 12:13:50 +08:00
loganhz 48eb3d8111 Update docker vendor 2020-04-10 17:27:02 +08:00
Erik Wilson dddbd16305 Use channel server for install script 2020-04-08 14:32:52 -07:00
Erik Wilson b7ec43c997 Add channel yaml to k3s 2020-04-06 09:45:19 -07:00
sen-subhabrata 4006bb57d0
Fix for issue 1326, updated install.sh
Fix for issue 1326, added lines to delete /run/k3s and /run/flannel in create_uninstall() function.
2020-04-04 14:42:12 +05:30
Dario Nieuwenhuis cd0b58e920 Correctly quote auth strings in containerd config. Fixes #1610 2020-04-03 02:42:01 +02:00
Erik Wilson ce10c1f080 Check for k3s policy and provide install hints 2020-03-30 08:56:15 -07:00
Julien DOCHE 3c98290f0b
contrib/ansible: Add reset role and playbook to reset a node (#1565)
Signed-off-by: Julien DOCHE <julien.doche@gmail.com>
2020-03-25 12:36:28 -07:00
Joakim Roubert bb0b4db228
Let variable handle go binary name in scripts (#1532)
During e.g. cross-compiling, it is sometimes useful to be able to have
another binary than the default one as the compiler. This patch for the
build scripts lets "go" be the default value for the variable GO, and
the latter is then used as the go compiler.

Change-Id: I0adf7a661b26593d9b0ea902a61b631b80e76ae7
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-25 12:35:07 -07:00
Joakim Roubert 47e4e7b582
Dockerfile.dapper: Add proxy handling (#1499)
With this patch the dapper build will also work in environments behind
proxies.

Change-Id: I6d9c03d03d2e254043720fc7e77822826e4f38c8
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2020-03-25 12:34:20 -07:00
Erik Wilson 08188cbb7e
Merge pull request #1497 from joakimr-axis/joakimr-axis_dockerfileshellcmd
Dockerfile.dapper: Use = instead of == for portability
2020-03-25 12:17:03 -07:00
Erik Wilson cbceb0858a
Merge pull request #1495 from joakimr-axis/joakimr-axis_comparison
Fix inconsistent shell script comparison operator ==
2020-03-25 12:16:29 -07:00
Erik Wilson 9f8fc74e4d
Merge pull request #1494 from joakimr-axis/joakimr-axis_backticks
Use contemporary $() instead of legacy `` in shell commands
2020-03-25 12:15:41 -07:00
Erik Wilson eb96a437e1
Merge pull request #1493 from joakimr-axis/joakimr-axis_markdown
Fix markdown files according to markdownlint recommendations
2020-03-25 12:15:10 -07:00
Erik Wilson ceb6bfbbf3
Merge pull request #1275 from louiznk/feat/toleration/control_plane
feat: add NoSchedule toleration on key node-role.kubernetes.io/master
2020-03-25 12:14:17 -07:00
louiznk 45ab3e54ac
Merge branch 'master' into feat/toleration/control_plane 2020-03-25 19:37:42 +01:00