Skip to content

Commit

Permalink
Merge pull request #179 from weaveworks/feature/eks-addon-profile
Browse files Browse the repository at this point in the history
Feature/eks addon profile
  • Loading branch information
Darryl Weaver authored Aug 1, 2023
2 parents 820a244 + 7292cd4 commit 8027118
Show file tree
Hide file tree
Showing 15 changed files with 233 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/aws-ebs-csi-driver/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: aws-ebs-csi-driver
repository: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
version: 2.6.7
digest: sha256:39d6f0f6078e35aef8898ec703f186f0146fb5cc5663bd906becc2885193d16a
generated: "2022-09-15T12:17:31.570614-04:00"
33 changes: 33 additions & 0 deletions charts/aws-ebs-csi-driver/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: v2
name: aws-ebs-csi-driver
icon: https://raw.githubusercontent.com/aws-ebs-csi-driver/aws-ebs-csi-driver.github.io/master/assets/aws-ebs-csi-driver_logo-cb55bb5c346.png
description: A Weaveworks Helm chart for the aws ebs csi driver
type: application
version: 0.0.1
kubeVersion: ">=1.16.0-0"
appVersion: 2.6.7
home: https://github.com/weaveworks/profiles-catalog
sources:
- https://kubernetes-sigs.github.io/aws-ebs-csi-driver

keywords:
- operator
- aws-ebs-csi-driver

annotations:
"weave.works/profile": aws-ebs-csi-driver
"weave.works/category": Infrastructure
"weave.works/operator": "true"
"weave.works/layer": layer-1
"weave.works/links": |
- name: Chart Sources
url: https://kubernetes-sigs.github.io/aws-ebs-csi-driver
maintainers:
- name: Weaveworks
email: support@weave.works

dependencies:
- name: aws-ebs-csi-driver
version: "2.6.7"
repository: "https://kubernetes-sigs.github.io/aws-ebs-csi-driver"
3 changes: 3 additions & 0 deletions charts/aws-ebs-csi-driver/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Thank you for installing {{ .Chart.Name }} {{ .Chart.Version }} 😀

Your release is named {{ .Release.Name }}, app version {{ .Chart.AppVersion }}
5 changes: 5 additions & 0 deletions charts/aws-ebs-csi-driver/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
aws-ebs-csi-driver:
controller:
serviceAccount:
annotations:
# eks.amazonaws.com/role-arn: 'arn:aws:iam::123456789012:role/MyRoleName'
23 changes: 23 additions & 0 deletions charts/eks-addons/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
12 changes: 12 additions & 0 deletions charts/eks-addons/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
dependencies:
- name: aws-load-balancer-controller
repository: https://aws.github.io/eks-charts
version: 1.4.4
- name: aws-node-termination-handler
repository: https://aws.github.io/eks-charts
version: 0.19.2
- name: aws-ebs-csi-driver
repository: file://../aws-ebs-csi-driver/
version: 0.0.1
digest: sha256:a254476f39a04b28fd817e08a375e1c5f426a0b6428a95b9549373c6a4d275dd
generated: "2022-09-14T17:52:50.960938-04:00"
53 changes: 53 additions & 0 deletions charts/eks-addons/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
apiVersion: v2
name: eks-addons
icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png
description: A Weaveworks Helm chart for EKS add-ons
type: application
version: 0.0.1
kubeVersion: ">=1.19.0-0"
home: https://github.com/weaveworks/profiles-catalog
sources:
- https://aws.github.io/eks-charts/
- https://github.com/weaveworks/profiles-catalog

keywords:
- aws-node-termination-handler
- aws-load-balancer-controller
- operator
- aws-ebs-csi-driver
- eks
- alb
- load balancer
- ingress
- nlb
- aws
- eks
- ec2
- node-termination
- spot

maintainers:
- name: Weaveworks
email: support@weave.works

annotations:
"weave.works/profile": eks-addons
"weave.works/category": Infrastructure
"weave.works/layer": layer-1
"weave.works/links": |
- name: Chart Sources
url: https://aws.github.io/eks-charts/
dependencies:
- name: aws-load-balancer-controller
version: "1.4.4"
repository: "https://aws.github.io/eks-charts"
condition: aws-load-balancer-controller.enabled
- name: aws-node-termination-handler
version: "0.19.2"
repository: "https://aws.github.io/eks-charts"
condition: aws-node-termination-handler.enabled
- name: aws-ebs-csi-driver
version: "0.0.1"
repository: "file://../aws-ebs-csi-driver/"
condition: aws-ebs-csi-driver.enabled
7 changes: 7 additions & 0 deletions charts/eks-addons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# EKS Add-ons profile for weave gitops
This profile is based on the provided tools (cluster-autoscaler, alb controller, aws node terminiation controller) for EKS.

This profile requires configuration depending on your cluster details and provides only the basic required items in the values.yaml. Additional configuration can be found in the following places

- https://github.com/kubernetes-sigs/aws-load-balancer-controller/blob/main/helm/aws-load-balancer-controller/values.yaml
- https://github.com/aws/aws-node-termination-handler
3 changes: 3 additions & 0 deletions charts/eks-addons/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Thank you for installing {{ .Chart.Name }} {{ .Chart.Version }} 😀

Your release is named {{ .Release.Name }}, app version {{ .Chart.AppVersion }}
11 changes: 11 additions & 0 deletions charts/eks-addons/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
aws-load-balancer-controller:
enabled: true
clusterName: ClusterName
serviceAccount:
# rbac.serviceAccount.annotations -- Additional Service Account annotations.
annotations:
# eks.amazonaws.com/role-arn: 'arn:aws:iam::123456789012:role/MyRoleName'
aws-ebs-csi-driver:
enabled: false
aws-node-termination-handler:
enabled: true
23 changes: 23 additions & 0 deletions charts/karpenter/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*.orig
*~
# Various IDEs
.project
.idea/
*.tmproj
.vscode/
6 changes: 6 additions & 0 deletions charts/karpenter/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: karpenter
repository: https://charts.karpenter.sh/
version: 0.16.1
digest: sha256:9684aa28832b4f45a6d1b22e9dee41ce932bb6b671d3060d86bf9457b5d35faf
generated: "2022-09-19T22:03:49.402531-04:00"
33 changes: 33 additions & 0 deletions charts/karpenter/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
apiVersion: v2
name: karpenter
icon: https://repository-images.githubusercontent.com/278480393/dab059c8-caa1-4b55-aaa7-3d30e47a5616
description: A Weaveworks Helm chart for Karpenter, an open-source node provisioning project built for Kubernetes.
type: application
version: 0.0.1
kubeVersion: ">=1.16.0-0"
appVersion: 0.16.1
home: https://github.com/weaveworks/profiles-catalog
sources:
- https://github.com/aws/karpenter/

keywords:
- karpenter
- node-provisioning

maintainers:
- name: Weaveworks
email: support@weave.works

annotations:
"weave.works/profile": karpenter
"weave.works/links": |
- name: Chart Sources
url: https://github.com/aws/karpenter/tree/main/charts/karpenter
- name: Upstream Project
url: https://github.com/aws/karpenter
dependencies:
- name: karpenter
version: "0.16.1"
repository: "https://charts.karpenter.sh/"
condition: karpenter.enabled
3 changes: 3 additions & 0 deletions charts/karpenter/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Thank you for installing {{ .Chart.Name }} {{ .Chart.Version }} 😀

Your release is named {{ .Release.Name }}, app version {{ .Chart.AppVersion }}
12 changes: 12 additions & 0 deletions charts/karpenter/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
karpenter:
enabled: true
# Prerequisites
# See documentation for more instructions
# https://karpenter.sh/v0.16.1/getting-started/getting-started-with-eksctl/#install
clusterName: CLUSTER_NAME
clusterEndpoint: CLUSTER_ENDPOINT
aws:
defaultInstanceProfile: KarpenterNodeInstanceProfile-${CLUSTER_NAME}
serviceAccount:
annotations:
# eks.amazonaws.com/role-arn: 'arn:aws:iam::123456789012:role/MyRoleName'

0 comments on commit 8027118

Please sign in to comment.