-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeployment.yaml
65 lines (65 loc) · 1.83 KB
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# {{=<% %>=}}
---
apiVersion: deployment.krateo.io/v1alpha1
kind: AwsStack
metadata:
name: <%#norm%>{{name}}<%/norm%>-aws-stack
spec:
owner: mauro
title: <% name %>
description: <% description %>
icon: "fa-brands fa-aws"
tags:
- aws
- stack
- infrastructure
- rds
links:
- url: https://github.com/<% organizationName %>/<% repositoryName %>
title: <% organizationName %>/<% repositoryName %>
icon: "fa-brands fa-git"
- url: https://kiratech.awsapps.com/start#/
title: AWS Console
icon: "fa-brands fa-aws"
plugins:
- name: resources
value: <%#norm%>{{name}}<%/norm%>-aws-stack
type: argocd
icon: fa-solid fa-cookie
endpointName: argocd
- name: kubernetes
value: deploymentId
type: kubernetes
icon: fa-brands fa-docker
values:
organizationName: <% organizationName %>
repositoryName: <% repositoryName %>
destinationApiUrl: <% destinationEndpoint.target %>
description: AWS Stack sample
endpointName: <% destinationEndpoint.friendlyName %>
namespace: <% namespace %>
eks:
clusterName: <% clusterName %>
nodeGroup:
scalingConfig:
minSize: <% clusterNodes %>
maxSize: <% maxClusterNodes %>
desiredSize: <% clusterNodes %>
network:
networkName: <% networkName %>
rds:
name: <% rdsName %>
region: <% rdsRegion %>
allocatedStorage: <% rdsDataDiskSizeGb %>
dbInstanceClass: <% rdsInstanceClass %>
engineVersion: "<% rdsEngineVersion %>"
storageType: <% rdsStorageType %>
fromRepo:
schema: https
organizationName: krateoplatformops
repositoryName: krateo-template-awsstack
toRepo:
schema: https
organizationName: <% organizationName %>
repositoryName: <% repositoryName %>
apiUrl: https://api.github.com