Initial commit from kro/examples/aws/eks-cluster-mgmt
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
apiVersion: v2
|
||||
name: ack-multi-account
|
||||
description: A Helm chart for Kubernetes
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
# Application charts are a collection of templates that can be packaged into versioned archives
|
||||
# to be deployed.
|
||||
#
|
||||
# Library charts provide useful utilities or functions for the chart developer. They're included as
|
||||
# a dependency of application charts to inject those utilities and functions into the rendering
|
||||
# pipeline. Library charts do not define any templates and therefore cannot be deployed.
|
||||
type: application
|
||||
|
||||
# This is the chart version. This version number should be incremented each time you make changes
|
||||
# to the chart and its templates, including the app version.
|
||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||
version: 0.1.0
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
{{- range $key, $value := .Values.clusters }}
|
||||
---
|
||||
apiVersion: services.k8s.aws/v1alpha1
|
||||
kind: IAMRoleSelector
|
||||
metadata:
|
||||
name: {{ $key }}-namespace-config
|
||||
spec:
|
||||
arn: arn:aws:iam::{{ $value }}:role/ack
|
||||
namespaceSelector:
|
||||
names:
|
||||
- {{ $key }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,7 @@
|
||||
{{- range $key, $value := .Values.clusters }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: {{ $key }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user