-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdeployment.yaml
68 lines (68 loc) · 2.21 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
66
67
68
# {{=<% %>=}}
---
apiVersion: deployment.krateo.io/v1alpha1
kind: FireworksApp
metadata:
name: <%#norm%>{{name}}<%/norm%>-fireworksapp
spec:
owner: mauro
title: <% name %>
description: Fireworks App Deployment
icon: "fa-solid fa-fire"
tags:
- fireworks
- template
- krateo
- katy perry
links:
- url: https://github.com/<% organizationName %>/<% owner %>-fire-<%#norm%>{{name}}<%/norm%>
title: <% organizationName %>/<% owner %>-fire-<%#norm%>{{name}}<%/norm%>
icon: "fa-brands fa-git"
plugins:
- name: resources
value: <%#norm%>{{name}}<%/norm%>-fireworksapp
type: argocd
icon: fa-solid fa-diagram-project
endpointName: argocd
- name: documentation
values:
- "[<% organizationName %>][<% owner %>-fire-<%#norm%>{{name}}<%/norm%>]README.md"
type: doc
icon: fa-solid fa-book
endpointName: <% destinationEndpoint.friendlyName %>
- name: kubernetes
value: deploymentId
type: kubernetes
icon: fa-brands fa-docker
- name: pipelines
values:
- "[<% organizationName %>][<% owner %>-fire-<%#norm%>{{name}}<%/norm%>]Build Docker image for every commit"
type: pipeline
icon: fa-solid fa-person-running
endpointName: <% destinationEndpoint.friendlyName %>
values:
replicas: <% replicas %>
organizationName: <% organizationName %>
repositoryName: <% owner %>-fire-<%#norm%>{{name}}<%/norm%>
destinationApiUrl: <% destinationEndpoint.target %>
host: <% host %>
description: Cause baby, you're a firework. Come on, show 'em what you're worth
endpointName: <% destinationEndpoint.friendlyName %>
namespace: krateo-system
fromRepo:
schema: https
organizationName: krateoplatformops
repositoryName: krateo-template-fireworksapp
toRepo:
schema: https
organizationName: <% organizationName %>
repositoryName: <% owner %>-fire-<%#norm%>{{name}}<%/norm%>
apiUrl: https://api.github.com
# for editing purposes
templateName: krateo-fireworks
flat:
name: <% name %>
replicas: <% replicas %>
host: <% host %>
organizationName: <% organizationName %>
destinationEndpoint: <% destinationEndpoint.friendlyName %>