Commit Graph

954 Commits (0867ee1cd0fba2db1e8739621d8c8d387477da01)

Author SHA1 Message Date
Erik Wilson 3e9daad032
Merge pull request #781 from ibuildthecloud/modules
Switch to go modules
2019-09-05 16:01:02 -07:00
Darren Shepherd df1f4551cb Update generated code 2019-09-05 15:16:44 -07:00
Darren Shepherd d246c89254 go mod vendor 2019-09-05 15:16:39 -07:00
Darren Shepherd 3ce8310a17 Switch to go modules 2019-09-05 15:16:36 -07:00
YAMAMOTO Takashi 9cf80eacd9 Add back NodeRestriction
It has been removed as a part of #764 for no obvious reasons.

Fix #791
2019-09-05 15:47:46 +09:00
Darren Shepherd 8ed2eb751f Update version scripts to read from go.mod 2019-09-04 21:13:39 -07:00
Erik Wilson 716f2f6f2a
Merge pull request #787 from erikwilson/kubelet-certificate-authority
Add --kubelet-certificate-authority flag
2019-09-04 09:20:45 -07:00
Joakim Roubert a0d2743868
Update install.sh 2019-09-03 08:15:39 +02:00
Joakim Roubert 0a67557c4a Update install.sh after review comments
Change-Id: I8acf9f0fc0115dd8a45027b1d7610b47aa7462d9
2019-09-03 08:12:22 +02:00
Joakim Roubert 98410df788
Update install.sh according to yamt's suggestion 2019-09-03 07:51:33 +02:00
Joakim Roubert e822bcafa1
Update install.sh 2019-09-03 06:36:36 +02:00
Erik Wilson 197985c673 Add --kubelet-certificate-authority flag 2019-09-02 10:49:23 -07:00
Darren Shepherd 4a5360eadd
Merge pull request #782 from ibuildthecloud/master
Fix CSI and update vendor
2019-08-31 23:08:26 -07:00
Darren Shepherd 209acb58c1 Revert CSI patch 2019-08-31 22:39:24 -07:00
Darren Shepherd 6d24760c9c Update vendor 2019-08-31 22:39:24 -07:00
Darren Shepherd 8a9c8675c2
Merge pull request #764 from ibuildthecloud/k8s-1.15
K8s 1.15
2019-08-30 23:40:16 -07:00
Darren Shepherd 8031137b79 Update vendor 2019-08-30 23:08:05 -07:00
Darren Shepherd 8f597ba168 Don't run leader elections on controllers when no leader election 2019-08-28 20:53:40 -07:00
Darren Shepherd f0382329a5 Drop openapi hack 2019-08-28 20:53:39 -07:00
Darren Shepherd f34329f4f1 Wrong import 2019-08-28 20:53:39 -07:00
Darren Shepherd f57dd13774 Default kube-apiserver to httpsport + 1 2019-08-28 20:53:38 -07:00
Darren Shepherd 9c8b95be9d Drop unneeded prometheus imports 2019-08-28 20:53:37 -07:00
Darren Shepherd a51a2eaaad Add anonymous-auth=false and remove NodeRestriction 2019-08-28 20:53:37 -07:00
Darren Shepherd b24f214a50 Update to new cri-api import 2019-08-28 20:53:36 -07:00
Manuel Zapf 50227ff894 bump traefik version to 1.7.14 (#769)
* bump traefik version
2019-08-28 20:21:07 -07:00
Darren Shepherd 5b7cd25cc2
Merge pull request #771 from StingRayZA/master
Changed SELinux/semanage error to fatal
2019-08-28 20:20:05 -07:00
Raimund Hook 2fe5d2768b Changed SELinux error to fatal
If the install errors out on semanage not found, a file not found is
thrown as a 'file not found' for error. Updating to 'fatal' resolves
this as the script then exits as intended and throws an 'error'.
2019-08-28 15:35:56 +01:00
Erik Wilson a5238098d1
Merge pull request #752 from carlosedp/patch-1
Enable metrics endpoint to Traefik
2019-08-26 21:26:02 -07:00
Erik Wilson 94167cdb4e
Merge branch 'master' into joakimr-axis_quotes 2019-08-26 09:43:34 -07:00
Joakim Roubert 6d07cb47b7
Merge branch 'master' into joakimr-axis_noawk 2019-08-26 18:43:30 +02:00
Erik Wilson b20f23ceb0
Merge pull request #754 from joakimr-axis/joakimr-axis_comparison
install.sh: Use -eq instead of = for integer comparison
2019-08-26 09:39:23 -07:00
Erik Wilson cc76ca6931
Merge branch 'master' into joakimr-axis_comparison 2019-08-26 09:38:23 -07:00
Joakim Roubert b86d08a318
Merge branch 'master' into joakimr-axis_wget 2019-08-26 18:38:05 +02:00
Erik Wilson 9a89d1f4c3
Merge pull request #761 from ibuildthecloud/master
Check for semanage command availability
2019-08-26 09:35:41 -07:00
Erik Wilson 59f0f004d0
Merge branch 'master' into master 2019-08-26 09:35:14 -07:00
Erik Wilson 3c716e49e4
Merge pull request #753 from joakimr-axis/joakimr-axis_cmdsubst
install.sh: Use contemporary command substitution syntax
2019-08-26 09:26:52 -07:00
Erik Wilson 5679cfafaf
Merge pull request #707 from ibuildthecloud/pr683
Integrate Kine
2019-08-26 09:25:37 -07:00
Darren Shepherd 1c93798037 Check for semanage command availability 2019-08-24 23:32:11 -07:00
Darren Shepherd 2cb6f52339 Disable storing bootstrap information by default 2019-08-24 22:27:24 -07:00
Joakim Roubert 76342565a2
Update install.sh 2019-08-24 08:11:08 +02:00
Joakim Roubert 7a96fbb3f8 install.sh: Cleanup of quotes
Where no variable expansion is done, " is replaced with '.
Copying content of one variable to another variable never needs quotes.
Some calls to echo and fatal need no quotes at all, but have been left
with ' to make it easier to see where the string begins and ends.
The fatal function now also sends output to stderr.

Change-Id: I2504707e5c550bc498e7663cedf58c224cd0a15b
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2019-08-23 15:14:46 +02:00
Joakim Roubert db441f28b8 install.sh: Add wget fallback if curl isn't available
Reportedly, some systems don't have curl but wget. With this patch,
install.sh will use wget instead of curl if the latter is not available
on the target system.

Change-Id: I0bc78feec6d8e1dbf7fbef7c2e10833b79bdbbdc
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2019-08-23 14:41:11 +02:00
Joakim Roubert 7a01e0fae3 install.sh: Use -eq instead of = for integer comparison
For integer comparison, it is recommended to use '-eq' instead of the
broader comparison '='. From the manual:

n1 -eq n2  True if the integers n1 and n2 are algebraically equal.
s1 = s2    True if the strings s1 and s2 are identical.

Change-Id: I3a92c3944a19e7a618438a9e3e304d9de5d9874f
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2019-08-23 10:32:18 +02:00
Joakim Roubert 9982da1953 install.sh: Use contemporary command substitution syntax
The install.sh script currently uses a mix of the legacy backquote
syntax and the recommended contemporary $() syntax. This patch brings
consistency by replacing the occurrences of the legacy backquote ones
with the $() syntax.

Change-Id: I018f3250175064dcb22ef86a0240b2c804153641
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2019-08-23 10:26:43 +02:00
Joakim Roubert 1d220e33a5 install.sh: Use built-in shell functionality instead of awk
If install.sh relies on awk, install.sh malfunctions when run on a
device with a limited environment where awk is not available. This patch
replaces the use of awk with built-in shell script functionality.

Change-Id: I071d9f565ff7ef38445a6dd0ea9692b903721601
Signed-off-by: Joakim Roubert <joakimr@axis.com>
2019-08-23 09:58:38 +02:00
Darren Shepherd bcd1fce4a1
Merge pull request #750 from erikwilson/unresolvable-hostname
Remove hostname requirement in `/etc/hosts`
2019-08-22 22:17:37 -07:00
Carlos Eduardo 993e6a1950 Enable metrics endpoint to Traefik 2019-08-22 19:42:58 -03:00
Erik Wilson e6067314c9 Localhost -> 127.0.0.1 2019-08-22 11:56:00 -07:00
Darren Shepherd a005219c5b Update vendor 2019-08-22 09:14:47 -07:00
galal-hussein 1ae0c540d7 Refactor bootstrap, move kine startup code to kine, integrate kine 2019-08-22 09:14:43 -07:00