Skip to content

Commit 8e586b2

Browse files
author
Dave Try
committed
update to use kubeadm
1 parent bc5d0ee commit 8e586b2

File tree

78 files changed

+1554
-2385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1554
-2385
lines changed

.env

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
OS=
2+
VERSION=
3+
CONTAINER_RUNTIME=
4+
CNI_PROVIDER=
5+
ETCD_INITIAL_CLUSTER=
6+
ETCD_IP=
7+
KUBE_API_ADVERTISE_ADDRESS=
8+
INSTALL_DASHBOARD=

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Gemfile.lock
33
coverage/
44
.bundle/
55
vendor/
6-
tooling/kubernetes.yaml
6+
tooling/*.yaml
77
log/
88
.vagrant/
99

.rubocop.yml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
---
2+
require:
3+
- rubocop-rspec
4+
- rubocop-i18n
5+
AllCops:
6+
TargetRubyVersion: '2.1'
7+
Include:
8+
- "./**/*.rb"
9+
Exclude:
10+
- bin/*
11+
- ".vendor/**/*"
12+
- Gemfile
13+
- Rakefile
14+
- pkg/**/*
15+
- spec/fixtures/**/*
16+
- vendor/**/*
17+
Metrics/LineLength:
18+
Description: People have wide screens, use them.
19+
Max: 200
20+
Enabled: false
21+
RSpec/BeforeAfterAll:
22+
Description: Beware of using after(:all) as it may cause state to leak between tests.
23+
A necessary evil in acceptance testing.
24+
Exclude:
25+
- spec/acceptance/**/*.rb
26+
RSpec/HookArgument:
27+
Description: Prefer explicit :each argument, matching existing module's style
28+
EnforcedStyle: each
29+
Style/BlockDelimiters:
30+
Description: Prefer braces for chaining. Mostly an aesthetical choice. Better to
31+
be consistent then.
32+
EnforcedStyle: braces_for_chaining
33+
Style/ClassAndModuleChildren:
34+
Description: Compact style reduces the required amount of indentation.
35+
EnforcedStyle: compact
36+
Style/EmptyElse:
37+
Description: Enforce against empty else clauses, but allow `nil` for clarity.
38+
EnforcedStyle: empty
39+
Style/FormatString:
40+
Description: Following the main puppet project's style, prefer the % format format.
41+
EnforcedStyle: percent
42+
Style/FormatStringToken:
43+
Description: Following the main puppet project's style, prefer the simpler template
44+
tokens over annotated ones.
45+
EnforcedStyle: template
46+
Style/Lambda:
47+
Description: Prefer the keyword for easier discoverability.
48+
EnforcedStyle: literal
49+
Enabled: true
50+
Style/RegexpLiteral:
51+
Description: Community preference. See https://github.com/voxpupuli/modulesync_config/issues/168
52+
EnforcedStyle: percent_r
53+
Style/TernaryParentheses:
54+
Description: Checks for use of parentheses around ternary conditions. Enforce parentheses
55+
on complex expressions for better readability, but seriously consider breaking
56+
it up.
57+
EnforcedStyle: require_parentheses_when_complex
58+
Style/TrailingCommaInArguments:
59+
Description: Prefer always trailing comma on multiline argument lists. This makes
60+
diffs, and re-ordering nicer.
61+
EnforcedStyleForMultiline: comma
62+
Style/SymbolArray:
63+
Description: Using percent style obscures symbolic intent of array's contents.
64+
EnforcedStyle: brackets
65+
Style/CollectionMethods:
66+
Enabled: true
67+
Style/MethodCalledOnDoEndBlock:
68+
Enabled: true
69+
Style/StringMethods:
70+
Enabled: true
71+
Metrics/AbcSize:
72+
Enabled: false
73+
Metrics/BlockLength:
74+
Enabled: false
75+
Metrics/LineLength:
76+
Enabled: false
77+
Metrics/ClassLength:
78+
Enabled: false
79+
Metrics/CyclomaticComplexity:
80+
Enabled: false
81+
Metrics/MethodLength:
82+
Enabled: false
83+
Metrics/ModuleLength:
84+
Enabled: false
85+
Metrics/ParameterLists:
86+
Enabled: false
87+
Metrics/PerceivedComplexity:
88+
Enabled: false
89+
RSpec/DescribeClass:
90+
Enabled: false
91+
RSpec/MessageExpectation:
92+
Enabled: false
93+
Style/AsciiComments:
94+
Enabled: false
95+
Style/IfUnlessModifier:
96+
Enabled: false
97+
Style/SymbolProc:
98+
Enabled: false
99+
Style/HashSyntax:
100+
UseHashRocketsWithSymbolValues: true

.travis.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,16 @@ language: ruby
33
bundler_args: --without development system_tests
44
before_install: rm Gemfile.lock || true
55
sudo: false
6-
6+
rvm:
7+
- 2.1.6
8+
- 2.2.5
9+
- 2.3.3
710
script:
811
- bundle exec rake test
912
- bundle exec rubocop lib
1013
- bundle exec puppet-lint --no-autoloader_layout-check manifests
14+
env:
15+
- PUPPET_GEM_VERSION="~> 4.0"
16+
- PUPPET_GEM_VERSION="~> 5.0"
1117
matrix:
1218
fast_finish: true
13-
include:
14-
- rvm: 2.3.3
15-
env: PUPPET_GEM_VERSION="~> 4.0"
16-
- rvm: 2.3.3
17-
env: PUPPET_GEM_VERSION="~> 5.0"
18-
- rvm: 2.2.5
19-
env: PUPPET_GEM_VERSION="~> 4.0"
20-
- rvm: 2.1.6
21-
env: PUPPET_GEM_VERSION="~> 4.0"
22-
23-

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Version 2.0.0
2+
3+
Architectural change to use kubeadm project to bootstrap kubernetes clusters.
4+
5+
Updates to kubetool and params to reflect this change. See the README.md in this repo and consult the official kubeadm documenation [here](https://kubernetes.io/docs/setup/independent/)
6+
17
# Version 1.1.0
28

39
Add parameters for networking

0 commit comments

Comments
 (0)