Skip to content

Commit ec6a95f

Browse files
authored
Merge pull request #1 from RedbackThomson/initial-commit
Add support for Addon, Cluster, FargateProfile and Nodegroup
2 parents b50d99b + aee07cb commit ec6a95f

Some content is hidden

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

83 files changed

+13020
-25
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Issue #, if available:
2+
3+
Description of changes:
4+
5+
By submitting this pull request, I confirm that my contribution is made under
6+
the terms of the Apache 2.0 license.

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
.DS_Store
2+
*.swp
3+
*~
4+
.idea
5+
/docs/site
6+
bin
7+
build

ATTRIBUTION.md

Lines changed: 1365 additions & 0 deletions
Large diffs are not rendered by default.

CODE_OF_CONDUCT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
## Code of Conduct
2+
23
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
34
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
45
[email protected] with any additional questions or comments.
6+

CONTRIBUTING.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
# Contributing Guidelines
22

3-
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional
4-
documentation, we greatly value feedback and contributions from our community.
5-
6-
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary
7-
information to effectively respond to your bug report or contribution.
3+
Thank you for your interest in contributing to our project. Whether it's a bug report, new feature, correction, or additional documentation, we greatly value feedback and contributions from our community.
84

5+
Please read through this document before submitting any issues or pull requests to ensure we have all the necessary information to effectively respond to your bug report or contribution.
96

107
## Reporting Bugs/Feature Requests
118

129
We welcome you to use the GitHub issue tracker to report bugs or suggest features.
1310

14-
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already
15-
reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
11+
When filing an issue, please check existing open, or recently closed, issues to make sure somebody else hasn't already reported the issue. Please try to include as much information as you can. Details like these are incredibly useful:
1612

1713
* A reproducible test case or series of steps
1814
* The version of our code being used
1915
* Any modifications you've made relevant to the bug
2016
* Anything unusual about your environment or deployment
2117

22-
2318
## Contributing via Pull Requests
2419
Contributions via pull requests are much appreciated. Before sending us a pull request, please ensure that:
2520

@@ -36,24 +31,21 @@ To send us a pull request, please:
3631
5. Send us a pull request, answering any default questions in the pull request interface.
3732
6. Pay attention to any automated CI failures reported in the pull request, and stay involved in the conversation.
3833

39-
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
40-
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
41-
34+
GitHub provides additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and [creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4235

4336
## Finding contributions to work on
4437
Looking at the existing issues is a great way to find something to contribute on. As our projects, by default, use the default GitHub issue labels (enhancement/bug/duplicate/help wanted/invalid/question/wontfix), looking at any 'help wanted' issues is a great place to start.
4538

39+
## Developer documentation
40+
[See the documentation](https://aws-controllers-k8s.github.io/community/dev-docs/overview/) for detailed development information.
4641

4742
## Code of Conduct
4843
This project has adopted the [Amazon Open Source Code of Conduct](https://aws.github.io/code-of-conduct).
49-
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact
50-
[email protected] with any additional questions or comments.
5144

45+
For more information see the [Code of Conduct FAQ](https://aws.github.io/code-of-conduct-faq) or contact [email protected] with any additional questions or comments.
5246

5347
## Security issue notifications
5448
If you discover a potential security issue in this project we ask that you notify AWS/Amazon Security via our [vulnerability reporting page](http://aws.amazon.com/security/vulnerability-reporting/). Please do **not** create a public github issue.
5549

56-
5750
## Licensing
58-
5951
See the [LICENSE](LICENSE) file for our project's licensing. We will ask you to confirm the licensing of your contribution.

GOVERNANCE.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Project governance
2+
3+
This document lays out the guidelines under which the AWS Controllers for Kubernetes (ACK) project will be governed.
4+
The goal is to make sure that the roles and responsibilities are well defined and clarify on how decisions are made.
5+
6+
## Roles
7+
8+
In the context of ACK, we consider the following roles:
9+
10+
* __Users__ ... everyone using ACK, typically willing to provide feedback on ACK by proposing features and/or filing issues.
11+
* __Contributors__ ... everyone contributing code, documentation, examples, testing infra, and participating in feature proposals as well as design discussions. Code contributions will require a Developer Certificate of Origin (DCO).
12+
* __Maintainers__ ... are responsible for engaging with and assisting contributors to iterate on the contributions until it reaches acceptable quality. Maintainers can decide whether the contributions can be accepted into the project or rejected. Any active contributor meeting the project quality can be made a Maintainer by the Advisory Board.
13+
* __Advisory Board__ ... is responsible for defining the guidelines and processes that the project operates under.
14+
15+
The initial members of the Advisory Board are `@jaypipes` and `@mhausenblas`.
16+
17+
18+
## Communication
19+
20+
The primary mechanism for communication will be via the `#provider-aws` channel on the Kubernetes Slack community.
21+
All features and bug fixes will be tracked as issues in GitHub. All decisions will be documented in GitHub issues.
22+
23+
In the future, we may consider using a public mailing list, which can be better archived.
24+
25+
## Roadmap Planning
26+
27+
Maintainers will share roadmap and release versions as milestones in GitHub.
28+
29+
## Release Management
30+
31+
The Advisory Board will propose a release management proposal via a GitHub issue and resolve it there.
32+
33+
## Other relevant governance resources
34+
35+
* The ACK [Contributing Guidelines](CONTRIBUTING.md)
36+
* Our [Code of Conduct](CODE_OF_CONDUCT.md)
37+

Makefile

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
SHELL := /bin/bash # Use bash syntax
2+
3+
# Set up variables
4+
GO111MODULE=on
5+
6+
# Build ldflags
7+
VERSION ?= "v0.0.0"
8+
GITCOMMIT=$(shell git rev-parse HEAD)
9+
BUILDDATE=$(shell date -u +'%Y-%m-%dT%H:%M:%SZ')
10+
GO_LDFLAGS=-ldflags "-X main.version=$(VERSION) \
11+
-X main.buildHash=$(GITCOMMIT) \
12+
-X main.buildDate=$(BUILDDATE)"
13+
14+
AUTHENTICATED_ACCOUNT_ID=$(shell aws sts get-caller-identity --output text --query "Account")
15+
16+
.PHONY: all test
17+
18+
all: test
19+
20+
local-run-controller: ## Run a controller image locally for SERVICE
21+
@go run ./cmd/controller/main.go \
22+
--aws-account-id=$(AUTHENTICATED_ACCOUNT_ID) \
23+
--aws-region=us-west-2 \
24+
--enable-development-logging \
25+
--log-level=debug
26+
27+
test: ## Run code tests
28+
go test -v ./...
29+
30+
help: ## Show this help.
31+
@grep -F -h "##" $(MAKEFILE_LIST) | grep -F -v grep | sed -e 's/\\$$//' \
32+
| awk -F'[:#]' '{print $$1 = sprintf("%-30s", $$1), $$4}'

NOTICE

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
1+
Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+

OWNERS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# See the OWNERS docs at https://go.k8s.io/owners
2+
3+
approvers:
4+
- core-ack-team
5+
- service-team

OWNERS_ALIASES

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# See the OWNERS docs at https://go.k8s.io/owners#owners_aliases
2+
3+
aliases:
4+
# Always allow the core ACK maintainers to have access to your repository
5+
core-ack-team:
6+
- jaypipes
7+
- mhausenblas
8+
- a-hilaly
9+
- RedbackThomson
10+
- vijtrip2
11+
# TODO: Add your team members to your team controller alias
12+
service-team: []

0 commit comments

Comments
 (0)