Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v11.0.0 #10

Merged
merged 49 commits into from
Mar 31, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
cca389a
Switch Validate github action to use env vars (#718)
max-rocket-internet Jan 30, 2020
9032dce
Add example for IRSA and cluster-autoscaler (#710)
max-rocket-internet Jan 30, 2020
92b5c2a
bump pre-commit-terraform version (#724)
barryib Jan 30, 2020
626a393
Remove of autoscaling IAM policy related stuff (#716)
max-rocket-internet Feb 4, 2020
415e123
Add iam:GetOpenIDConnectProvider grant to docs/iam-permissions.md (#728)
danielelisi Feb 6, 2020
6c42d23
Detailed description for enabling Windows nodes for AWS EKS (#727)
ivanguravel Feb 6, 2020
a9c73b2
Add `iam:{Create,Delete}OpenIDProviderConnect` to required IAM polici…
danielelisi Feb 7, 2020
10ca272
Add option to set the name of a node group manually (#739)
splieth Feb 14, 2020
f2cc9f5
Revert #631. Add back manage security group flag (#722)
ryanooi Feb 27, 2020
3e44835
change default value for wait_for_cluster_cmd (#750)
daroga0002 Feb 27, 2020
dda2449
Pin version for kubernetes provider across examples to exactly 1.10.0…
bjmask Feb 27, 2020
da53b5c
changing timeout (#736)
confiq Feb 27, 2020
908c656
New release: v9.0.0 (#752)
max-rocket-internet Feb 27, 2020
81ded92
cluster-autoscaler shouldn't be scheduled on spot (#755)
simowaer Mar 4, 2020
276e41f
Adding encrypted option to root_block_device of launch_configuration …
craig-rueda Mar 6, 2020
8382f2c
use the correct policy arns if the region is in CN (#765)
cofyc Mar 9, 2020
6784824
'root_encrypted' -> bool (#766)
craig-rueda Mar 9, 2020
198294c
Add support for ASG max instance lifetime (#769)
sidprak Mar 9, 2020
f465e55
Add ASG cooldown and health_check_grace_period (#770)
ArieLevs Mar 10, 2020
2715b01
fix max_instance_lifetime for workers (#771)
barryib Mar 10, 2020
23c005e
Add EKS Secret envelope encryption support (#772)
wwentland Mar 11, 2020
7dc56e9
EKS 1.15 Support (#776)
sc250024 Mar 11, 2020
2a8e45f
defaults lookup before falling back on default ami based on platform …
Mar 11, 2020
2a78825
Remove assumption (#779)
pierresteiner Mar 12, 2020
4c0c4c4
change conditional for irsa.tf (#783)
daroga0002 Mar 12, 2020
ca3d1e1
New release 10.0.0 (#780)
barryib Mar 12, 2020
9fb1a20
improvement: automate changelog management (#786)
barryib Mar 17, 2020
3c064aa
fix: fix git-chglog configuration (#802)
barryib Mar 17, 2020
a6583a3
fix: fix git-chglog template to format changelog `Type` nicely (#803)
barryib Mar 17, 2020
cd8a825
test: remove unused kitchen test related stuff (#787)
max-rocket-internet Mar 17, 2020
2c98a00
improvement: Add timeout to default wait_for_cluster_cmd (#791)
dpiddockcmp Mar 17, 2020
e8a1ce1
fix: Create `false` and avoid waiting forever for a non-existent clus…
dpiddockcmp Mar 18, 2020
3957a7c
improvement: Generate `aws-auth` configmap's roles from Object. No mo…
dpiddockcmp Mar 18, 2020
50f5f8b
fix: Do not recreate cluster when no SG given (#798)
dpiddockcmp Mar 18, 2020
89401f1
fix: Add node_group direct dependency on eks_cluster (#796)
dpiddockcmp Mar 18, 2020
0c1ed0e
Improvement: Require kubernetes provider >=1.11.1 (#784)
dpiddockcmp Mar 18, 2020
d75e493
[ci skip] Create "LICENSE".
betajobot Mar 18, 2020
b135f92
[ci skip] Create ".editorconfig".
betajobot Mar 18, 2020
81372a8
Merge pull request #809 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
a68c355
Merge pull request #810 from terraform-aws-modules/terraform-provider…
betajobot Mar 18, 2020
0c23191
skip changelog - Removed some files (#811)
betajobot Mar 18, 2020
9951c87
fix: add ip address when manage_aws_auth is true and public_access is…
slimm609 Mar 19, 2020
e768c6c
ci: Restrict sementic PR to validate PR title only (#804)
barryib Mar 19, 2020
de1419b
feat: Add interpreter option to `wait_for_cluster_cmd` (#795)
avoidik Mar 20, 2020
49b0667
fix: Fix destroy failure when talking to EKS endpoint on private netw…
b2cbre Mar 24, 2020
de00694
feat: Add support for additional volumes in launch templates and laun…
jaimehrubiks Mar 24, 2020
4cc5753
improvement: Use `aws_partition` to build IAM policy ARNs (#820)
alloveras Mar 30, 2020
c8195c5
feat: Add instance tag specifications to Launch Template (#822)
Reuuke Mar 30, 2020
eaa4d2c
skip changelog: Prepare for release 11.0.0 (#819)
barryib Mar 30, 2020
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
66 changes: 66 additions & 0 deletions .chglog/CHANGELOG.tpl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this
project adheres to [Semantic Versioning](http://semver.org/).

{{ if .Versions -}}
<a name="unreleased"></a>
## [Unreleased]
{{ if .Unreleased.CommitGroups -}}
{{ range .Unreleased.CommitGroups -}}
{{ .Title }}:
{{ range .Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end -}}
{{ end }}
{{ end -}}
{{ else }}
{{ range .Unreleased.Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end -}}
{{ end }}
{{ end -}}
{{ end -}}

{{ range .Versions }}
<a name="{{ .Tag.Name }}"></a>
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }}
{{ if .CommitGroups -}}
{{ range .CommitGroups -}}
{{ .Title }}:
{{ range .Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end -}}
{{ end }}
{{ end -}}
{{ else }}
{{ range .Commits -}}
{{- if .Subject -}}
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
{{ end -}}
{{ end }}
{{ end -}}

{{- if .NoteGroups -}}
{{ range .NoteGroups -}}
{{ .Title }}:
{{ range .Notes }}
{{ .Body }}
{{ end }}
{{ end -}}
{{ end -}}
{{ end -}}

{{- if .Versions }}
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD
{{ range .Versions -}}
{{ if .Tag.Previous -}}
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}
{{ end -}}
{{ end -}}
{{ end -}}
48 changes: 48 additions & 0 deletions .chglog/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
style: github
template: CHANGELOG.tpl.md
info:
title: CHANGELOG
repository_url: https:/terraform-aws-modules/terraform-aws-eks
options:
commits:
sort_by: Type
filters:
Type:
- feat
- fix
- improvement
- docs
- refactor
- test
- ci
- chore

commit_groups:
group_by: Type
sort_by: Type
title_maps:
feat: FEATURES
fix: BUG FIXES
improvement: ENHANCEMENTS
docs: DOCS
refactor: REFACTORS
test: TESTS
ci: CI
chore: CHORES

header:
pattern: "^(.+)\\s*:\\s*(.+)$"
pattern_maps:
- Type
- Subject

notes:
keywords:
- BREAKING CHANGE
- NOTES

refs:
actions:
- Closes
- Fixes
- Resolves
30 changes: 30 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# EditorConfig is awesome: http://EditorConfig.org
# Uses editorconfig to maintain consistent coding styles

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
trim_trailing_whitespace = true

[*.{tf,tfvars}]
indent_size = 2
indent_style = space

[*.md]
max_line_length = 0
trim_trailing_whitespace = false

[Makefile]
tab_width = 2
indent_style = tab

[COMMIT_EDITMSG]
max_line_length = 0
34 changes: 34 additions & 0 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Contributing

When contributing to this repository, please first discuss the change you wish to make via issue,
email, or any other method with the owners of this repository before making a change.

Please note we have a code of conduct, please follow it in all your interactions with the project.

## Pull Request Process

1. Ensure any install or build dependencies are removed before the end of the layer when doing a build.
2. Update the README.md with details of changes to the interface, this includes new environment variables, exposed ports, useful file locations and container parameters.
3. Once all outstanding comments and checklist items have been addressed, your contribution will be merged! Merged PRs will be included in the next release. The terraform-aws-eks mainteners takes care of updating the CHANGELOG as they merge.

## Checklists for contributions

- [ ] Add [sementics prefix](#semantic-pull-requests) to your PR or Commits (at leats one of your commit groups)
- [ ] CI tests are passing
- [ ] README.md has been updated after any changes to variables and outputs. See https:/terraform-aws-modules/terraform-aws-eks/#doc-generation

## Semantic Pull Requests

To generate changelog, Pull Requests or Commits must have sementic and must follow conventional specs below:

- `feat:` for new features
- `fix:` for bug fixes
- `improvement:` for enhancements
- `docs:` for documentation and examples
- `refactor:` for code refactoring
- `test:` for tests
- `ci:` for CI purpose
- `chore:` for chores stuff

There is a special prefix `skip changelog` which is skipped during changelog generation. It can be used for `skip changelog: update changelog` commit message by example.

1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ Please explain the changes you made here and link to any relevant issues.

### Checklist

- [ ] Change added to CHANGELOG.md. All changes must be added and breaking changes and highlighted
- [ ] CI tests are passing
- [ ] README.md has been updated after any changes to variables and outputs. See https:/terraform-aws-modules/terraform-aws-eks/#doc-generation
32 changes: 32 additions & 0 deletions .github/semantic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Always validate the PR title, and ignore the commits
titleOnly: true

# Always validate all commits, and ignore the PR title
commitsOnly: false

# Always validate the PR title AND all the commits
titleAndCommits: false

# Require at least one commit to be valid
# this is only relevant when using commitsOnly: true or titleAndCommits: true,
# which validate all commits by default
anyCommit: false

# By default types specified in commitizen/conventional-commit-types is used.
# See: https:/commitizen/conventional-commit-types/blob/v2.3.0/index.json
# You can override the valid types
types:
- feat
- fix
- improvement
- docs
- refactor
- test
- ci
- chore
- skip changelog
- skip ci

# Allow use of Merge commits (eg on github: "Merge branch 'master' into feature/ride-unicorns")
# this is only relevant when using commitsOnly: true (or titleAndCommits: true)
allowMergeCommits: false
20 changes: 20 additions & 0 deletions .github/workflows/changelog-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: CHANGELOG Checks
on:
pull_request:
paths:
- CHANGELOG.md

jobs:
changelog-check:
name: CHANGELOG Check
runs-on: ubuntu-latest
steps:
- name: Fail the check if changelog change
run: |-
echo "Thank you for your contribution!"
echo ""
echo "The 'CHANGELOG.md' file contents are handled by the maintainers during merge. This is to prevent pull request merge conflicts."
echo "Please see the Contributing Guide for additional pull request review items."
echo ""
echo "Remove any changes to the 'CHANGELOG.md' file and commit them in this pull request."
exit 1
6 changes: 5 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ jobs:
env:
AWS_REGION: 'us-east-1'
TF_WARN_OUTPUT_ERRORS: 1
TF_VAR_vpc_id: 'vpc-123456'
TF_VAR_subnets: '["subnet-12345a"]'
TF_VAR_workers_ami_id: 'ami-123456'
TF_VAR_cluster_name: 'test_cluster'
run: |
terraform init
terraform validate -var "region=${AWS_REGION}" -var "vpc_id=vpc-123456" -var "subnets=[\"subnet-12345a\"]" -var "workers_ami_id=ami-123456" -var "cluster_ingress_cidrs=[]" -var "cluster_name=test_cluster"
terraform validate
- name: Validate Examples
run: |
for example in $(find examples -maxdepth 1 -mindepth 1 -type d); do
Expand Down
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
.terraform/
**/inspec.lock
*.gem
.kitchen/
.kitchen.local.yml
Gemfile.lock
terraform.tfstate.d/
eks-admin-cluster-role-binding.yaml
Expand Down
20 changes: 0 additions & 20 deletions .kitchen.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
repos:
- repo: git:/antonbabenko/pre-commit-terraform
rev: v1.24.0
rev: v1.27.0
hooks:
- id: terraform_fmt
- id: terraform_docs
Expand Down
1 change: 0 additions & 1 deletion .prettierignore

This file was deleted.

1 change: 0 additions & 1 deletion .ruby-version

This file was deleted.

Loading