Skip to content

Commit fe2c0ac

Browse files
committed
Create envs
1 parent 1193d1e commit fe2c0ac

File tree

3 files changed

+48
-0
lines changed

3 files changed

+48
-0
lines changed

envs/dev/Chart.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
apiVersion: v1
2+
appVersion: "1.0"
3+
name: dev-applications
4+
description: App of apps chart for the dev EKS environment.
5+
version: 0.1.0

envs/dev/templates/team-data.yaml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
apiVersion: argoproj.io/v1alpha1
2+
kind: Application
3+
metadata:
4+
name: team-data
5+
namespace: argocd
6+
labels:
7+
{{- toYaml .Values.labels | nindent 4 }}
8+
finalizers:
9+
- resources-finalizer.argocd.argoproj.io
10+
spec:
11+
project: default
12+
destination:
13+
namespace: team-data
14+
server: {{ .Values.spec.destination.server }}
15+
source:
16+
repoURL: {{ .Values.spec.source.repoURL }}
17+
targetRevision: {{ .Values.spec.source.targetRevision }}
18+
path: teams/team-data/dev
19+
helm:
20+
values: |
21+
{{- toYaml .Values | nindent 8 }}
22+
syncPolicy:
23+
automated:
24+
prune: true
25+
syncOptions:
26+
- CreateNamespace=true

envs/dev/values.yaml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
labels:
2+
env: dev
3+
spec:
4+
destination:
5+
server: https://kubernetes.default.svc
6+
source:
7+
repoURL: https://github.com/aws-samples/eks-blueprints-workloads
8+
targetRevision: main
9+
10+
# Thoses default values can be surcharged by Infrastructure as Code
11+
env: dev
12+
clusterName: eks-blueprint-cluster # the name of EKS cluster
13+
blueprint: 'terraform' # cdk | terraform
14+
karpenterInstanceProfile:
15+
ingress:
16+
type: 'alb' # nginx | alb
17+
host: # empty or your domain like dev.example.com

0 commit comments

Comments
 (0)