Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
98 commits
Select commit Hold shift + click to select a range
a261c48
Write ssh config at tarmak initialisation to ensue present
JoshVanL Apr 20, 2018
5343d2f
Only write config before terraform commands
charlieegan3 May 22, 2018
1fb8889
Aslo write config before running kubectl
charlieegan3 May 22, 2018
0b24405
Deal with dynamic number of public subnets
dippynark Jan 31, 2018
6e95b19
Add binary compression to the release builds
simonswine Jun 5, 2018
b0c35a9
Update goreleaser to version 0.77
simonswine Jun 5, 2018
648e0f6
Install xz-utils if not available
simonswine Jun 5, 2018
c7ad922
Use correct hash for dep on darwin
simonswine Jun 5, 2018
d64a96f
Remove -N flag as we are not running a remote command and avoid block…
Jun 5, 2018
92aa1c5
Increase timeout and check for vault initialisation
Jun 8, 2018
558be74
Add docs for additional IAM policies
MattiasGees Jun 7, 2018
ed75e58
Fix spelling
MattiasGees Jun 8, 2018
81eb03d
Refactor validate and verify
MattiasGees Jun 4, 2018
967d983
Upgrade centos to the latest version 7.3
simonswine Jun 11, 2018
1d21cc3
Fix docker slice drop-in by changing quoting and file type
Jun 12, 2018
10a227e
Fix stateful instance naming
Jun 13, 2018
c700200
Add addon documentation
May 29, 2018
a593282
Update cluster autoscaler module
May 29, 2018
7f76d12
pass through min and max worker instances to autoscaler
Jun 1, 2018
0f5c749
Fix count outputs
Jun 1, 2018
cf16207
Add spelling
Jun 1, 2018
daa264b
Make kubernetes addons verify work
Jun 1, 2018
f7ca241
Pass through name of first worker instance pool
Jun 4, 2018
d6a4731
Update cluster autoscaler tests
Jun 4, 2018
034b684
Add prometheus annotations
Jun 4, 2018
7cd31b0
Split up addon documentation
Jun 4, 2018
9574c60
Deduplicate Tiller documentation
Jun 4, 2018
a8e1a35
Truncate docs to 80 chars and add localhost to spelling wordlist
Jun 4, 2018
93e92d6
Reverse Tiller and Dashboard documentation changes
Jun 5, 2018
e9f28fe
Reverse Tiller template change
Jun 5, 2018
b5494fe
Ensure asg name is defined
Jun 5, 2018
68df497
break correctly
Jun 5, 2018
b9ed424
Upgrade sphinx and base image
simonswine Jun 14, 2018
0c4426e
Make sure errors fail the makefile target
simonswine Jun 14, 2018
d7f4058
Cluster and instance pool should within IAM additional
simonswine Jun 14, 2018
3faaf5b
Fix config parsing
Jun 19, 2018
50d5599
Update terraform to 0.11.7
dippynark Jun 19, 2018
6b13c30
Pass through etcd instance pool min count to puppet
Jun 19, 2018
b5b998d
Add basic docs about apiserver
MattiasGees Jun 20, 2018
9cdb4bd
Fix links + indentation
MattiasGees Jun 20, 2018
8925add
Fix duplicate ELB name error
MattiasGees Jun 21, 2018
b567d3f
Remove unneeded input for Jenkins instance size
MattiasGees Jun 21, 2018
b577cc8
Use latest versions of CA
Jun 23, 2018
2ac1161
Add security group to allow cluster autoscaler scraping
Jun 21, 2018
733ca6b
Fix etcd mount race
Jun 18, 2018
9ff697f
Change cgroup drive to cgroupfs
Jun 12, 2018
7f29081
Increase kubelet resource reservations
Jun 8, 2018
a33db90
Start of kube2iam docs
MattiasGees Jun 8, 2018
f300bf9
Add examples to index
MattiasGees Jun 8, 2018
4389450
Spelling fixes
MattiasGees Jun 8, 2018
be45d55
For some reason it doesn't like add-ons :(
MattiasGees Jun 8, 2018
2f3e8e9
Remove anchor
MattiasGees Jun 8, 2018
09e6271
Change to yaml
MattiasGees Jun 8, 2018
00f93a3
Change to none
MattiasGees Jun 8, 2018
7c8ebf1
Extend docs of kube2iam
MattiasGees Jun 11, 2018
0daa477
Fix spelling
MattiasGees Jun 11, 2018
4f13b7f
Add prerequisite
MattiasGees Jun 12, 2018
ae7591c
Remove enter
MattiasGees Jun 12, 2018
e066270
Finish docs
MattiasGees Jun 18, 2018
21aa466
Fix link
MattiasGees Jun 19, 2018
f1647a1
Fix chart version
MattiasGees Jun 19, 2018
2aab01e
TF fixes in docs
MattiasGees Jun 19, 2018
44cbadc
Fix terraform apply
MattiasGees Jun 19, 2018
36c6c70
Add extra warning
MattiasGees Jun 20, 2018
37279bb
Update docs based on comments from Luke
MattiasGees Jun 20, 2018
7aa91b8
Fix example
MattiasGees Jun 20, 2018
efe64bd
Fix syntax error
MattiasGees Jun 20, 2018
e4266eb
Adds hub remote state verification for multi-clusters
JoshVanL Jun 22, 2018
5c201e7
Updates user guide on applying hub first
JoshVanL Jun 22, 2018
8ba5c33
Updates vendor
JoshVanL Jun 22, 2018
74ae1ad
Ensure hub cluster present through terraform output, not s3 remote state
JoshVanL Jul 9, 2018
d8aed5b
Reverts vendor, removing unneeded dependencies
JoshVanL Jul 9, 2018
e9da024
Removes aws-skd-go constraint
JoshVanL Jul 9, 2018
0a3827e
Implements vault-helper dry run and ensure on new tarmak version
JoshVanL Jun 28, 2018
89c92b9
Use bastion and vault instance type from config
charlieegan3 Jul 9, 2018
07eac1d
Scrape controller-managers and schedulers
simonswine Jul 10, 2018
e16266e
Upgrade Tiller puppet module and docs
Jun 23, 2018
9663355
Set image and version default parameters
Jul 10, 2018
b3d1ca3
Keep version tag example
Jul 10, 2018
a5e3cc9
Upgrade Dashboard and add RBAC support
Jun 22, 2018
5a7b63c
Keep image in parameters
Jul 10, 2018
d3d3e65
Add and document Dashboard's minimal privileges
Jul 10, 2018
1799cd3
Autoscaling arbitrary worker pools
Jun 19, 2018
c3951d1
Fix documentation
Jun 21, 2018
7b0fba2
Remove internal worker ELB
Jun 21, 2018
aad088d
Remove Jenkins volume from state module
Jun 19, 2018
73ee89b
Revert "vault-helper dry run and delete"
simonswine Jul 17, 2018
cca12c8
Update vault-helper to 0.9.13
JoshVanL Jul 10, 2018
e211bf7
Updates CHANGELOG.md for new vault-helper version
JoshVanL Jul 10, 2018
3763a06
tarmak vault cluster depends on tls self signed cert ca
JoshVanL Jul 11, 2018
9ab5432
Only early ensure vault on multi-clusters
charlieegan3 Jul 17, 2018
8717c8d
Consolidate generating templates to for loop
JoshVanL Jul 19, 2018
c77126f
Ensure vault_tarmak_cluster is added to template for hub
JoshVanL Jul 19, 2018
957d8e6
Prepare hub before terraforming other clusters
charlieegan3 Jul 24, 2018
737e879
Fix compilation errors
dippynark Jul 25, 2018
47a6ee3
Add fake feature gates
simonswine Jul 26, 2018
f2b7bae
Correct prometheus conditionals
simonswine Jul 26, 2018
31bf33c
Remove admin CIDRs
Jul 26, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ builds:
goarch:
- amd64
flags: -tags netgo
hooks:
post: hack/minify-binaries.sh
archive:
format: binary
release:
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
| Vault | | `0.9.5` |
| Kubernetes | `>= 1.7 && < 1.11` | `1.9.7` |
| Calico | | `3.1.1` |
| Vault Helper| | `0.9.7` |
| Vault Helper| | `0.9.13` |
| Etcd | | `3.2.17` |

## [0.3.0]: 0.3.0 - 2018-02-20
Expand Down
12 changes: 6 additions & 6 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ required = [

[[constraint]]
name = "github.com/jetstack/vault-helper"
version = "0.9.10"
version = "0.9.13"

[[constraint]]
name = "github.com/cenkalti/backoff"
Expand Down Expand Up @@ -92,7 +92,7 @@ required = [

[[constraint]]
name = "github.com/hashicorp/terraform"
version = "0.11.5"
version = "0.11.7"

[[constraint]]
name = "github.com/terraform-providers/terraform-provider-aws"
Expand Down
34 changes: 24 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ GOPATH ?= /tmp/go

UNAME_S := $(shell uname -s)
ifeq ($(UNAME_S),Linux)
SHASUM := "sha256sum -c"
SHASUM := sha256sum -c
DEP_URL := https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64
DEP_HASH := 31144e465e52ffbc0035248a10ddea61a09bf28b00784fd3fdd9882c8cbb2315
GORELEASER_URL := https://github.com/goreleaser/goreleaser/releases/download/v0.54.0/goreleaser_Linux_x86_64.tar.gz
GORELEASER_HASH := 895df4293580dd8f9b0daf0ef5456f2238a2fbfc51d9f75dde6e2c63ca4fccc2
GORELEASER_URL := https://github.com/goreleaser/goreleaser/releases/download/v0.77.0/goreleaser_Linux_x86_64.tar.gz
GORELEASER_HASH := aae3c5bb76b282e29940f2654b48b13e51f664368c7589d0e86b391b7ef51cc8
endif
ifeq ($(UNAME_S),Darwin)
SHASUM := "shasum -a 256 -c"
SHASUM := shasum -a 256 -c
DEP_URL := https://github.com/golang/dep/releases/download/v0.4.1/dep-darwin-amd64
DEP_HASH := f170008e2bf8b196779c361a4eaece1b03450d23bbf32d1a0beaa9b00b6a5ab4
GORELEASER_URL := https://github.com/goreleaser/goreleaser/releases/download/v0.54.0/goreleaser_Darwin_x86_64.tar.gz
GORELEASER_HASH := 9d927528a599174eed4d0d6a1ce6bdc810463c4cb105b0d2319c7c63ec642c9b
DEP_HASH := 1544afdd4d543574ef8eabed343d683f7211202a65380f8b32035d07ce0c45ef
GORELEASER_URL := https://github.com/goreleaser/goreleaser/releases/download/v0.77.0/goreleaser_Darwin_x86_64.tar.gz
GORELEASER_HASH := bc6cdf2dfe506f2cce5abceb30da009bfd5bcdb3e52608c536e6c2ceea1f24fe
endif


Expand Down Expand Up @@ -124,15 +124,29 @@ $(BINDIR)/informer-gen:

$(BINDIR)/dep:
curl -sL -o $@ $(DEP_URL)
echo "$(DEP_HASH) $@" | $$SHASUM
echo "$(DEP_HASH) $@" | $(SHASUM)
chmod +x $@

# upx binary packer, only supported on Linux
$(BINDIR)/upx:
ifeq ($(UNAME_S),Linux)
curl -sL -o [email protected] https://github.com/upx/upx/releases/download/v3.94/upx-3.94-amd64_linux.tar.xz
echo "e1fc0d55c88865ef758c7e4fabbc439e4b5693b9328d219e0b9b3604186abe20 [email protected]" | $(SHASUM)
which xz || ( apt-get update && apt-get -y install xz-utils)
cd $(BINDIR) && tar xvf $(shell basename $@).tar.xz upx-3.94-amd64_linux/upx --strip-components=1
rm [email protected]
else
echo -e "#/bin/sh\nexit 0" > $@
chmod +x $@
endif

$(BINDIR)/goreleaser:
curl -sL -o [email protected] $(GORELEASER_URL)
echo "$(GORELEASER_HASH) [email protected]" | $$SHASUM
echo "$(GORELEASER_HASH) [email protected]" | $(SHASUM)
cd $(BINDIR) && tar xzvf $(shell basename $@).tar.gz goreleaser
rm [email protected]

depend: $(BINDIR)/go-bindata $(BINDIR)/mockgen $(BINDIR)/defaulter-gen $(BINDIR)/defaulter-gen $(BINDIR)/deepcopy-gen $(BINDIR)/conversion-gen $(BINDIR)/client-gen $(BINDIR)/lister-gen $(BINDIR)/informer-gen $(BINDIR)/dep $(BINDIR)/goreleaser
depend: $(BINDIR)/go-bindata $(BINDIR)/mockgen $(BINDIR)/defaulter-gen $(BINDIR)/defaulter-gen $(BINDIR)/deepcopy-gen $(BINDIR)/conversion-gen $(BINDIR)/client-gen $(BINDIR)/lister-gen $(BINDIR)/informer-gen $(BINDIR)/dep $(BINDIR)/goreleaser $(BINDIR)/upx

go_generate: depend
go generate $$(go list ./pkg/... ./cmd/...)
Expand Down
4 changes: 3 additions & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# Copyright Jetstack Ltd. See LICENSE for details.
FROM python:3
FROM python:3.6-stretch

WORKDIR /site

# ensure python and dependencies are installed
RUN apt-get update && apt-get install -y python-enchant wbritish

# install sphinx
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN mkdir -p venv/bin && ln -s $(which python) venv/bin/python && touch .venv
Expand Down
15 changes: 8 additions & 7 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,14 @@ help:

# Make the site's html in docker
docker_html:
set -x; mkdir -p _build; \
docker build -t tarmakdocs:latest .; \
container=$$(docker create tarmakdocs:latest); \
git ls-files -z | xargs -0 tar -czvf - | docker cp - $$container:/site; \
docker start -a $$container; \
docker cp $$container:/site/_build .; \
docker rm $$container
# create sphinx image
$(eval IMAGE_ID := $(shell docker build -q .))
# start documentaion build
$(eval CONTAINER_ID := $(shell docker create $(IMAGE_ID)))
(git ls-files && git ls-files --others --exclude-standard) | tar cf - -T - | docker cp - $(CONTAINER_ID):/site
docker start -a $(CONTAINER_ID)
docker cp $(CONTAINER_ID):/site/_build - | tar xf -
docker rm $(CONTAINER_ID)

.venv:
virtualenv -p $(shell which python3) $(VENV_PATH)
Expand Down
11 changes: 11 additions & 0 deletions docs/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Examples
========

This section covers extra add-ons you can install on Tarmak kubernetes
clusters.

.. toctree::
:glob:
:maxdepth: 1

examples/*
Loading