-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathk8demoapp_trigger
92 lines (92 loc) · 2.28 KB
/
k8demoapp_trigger
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
configuration:
concurrentExecutions:
limitConcurrent: true
parallel: false
triggers:
- account: "{{ docker-registry-account }}"
enabled: "{{ enable-trigger }}"
name: unnamed0
organization: "{{ registry-organization }}"
registry: "{{ registry-name }}"
repository: "{{ registry-repo }}"
tag: "{{ image-tag }}"
type: docker
variables:
- name: docker-registry-account
description: Required for docker based trigger
defaultValue: my-docker-registry
- name: enable-trigger
description: Enables trigger
defaultValue: true
type: boolean
- name: registry-organization
description: Put docker registry organization name
defaultValue: veerendra2
- name: image-tag
description: (Optional)
defaultValue: latest2
- name: registry-name
description: Put docker registry name
defaultValue: quay.io
- name: registry-repo
description: Put docker registry repo
id: K8demoapp2
metadata:
description: This template does not have a description
name: K8demoapp2
owner: anonymous
scopes:
- demoapp
protect: false
schema: "1"
stages:
- config:
clusters:
- account: my-k8s-account
application: demoapp
cloudProvider: kubernetes
containers:
- args: []
command: []
envFrom: []
envVars: []
imageDescription:
imageId: quay.io/veerendra2/restapp:latest2
registry: quay.io
repository: veerendra2/restapp
tag: latest2
imagePullPolicy: ALWAYS
name: veerendra2-restapp
ports:
- containerPort: 8080
name: http
protocol: TCP
- containerPort: 9090
name: prom
protocol: TCP
volumeMounts: []
dnsPolicy: ClusterFirst
events: []
initContainers: []
interestingHealthProviderNames:
- KubernetesContainer
- KubernetesPod
loadBalancers:
- demoapp-k8devtest
namespace: default
nodeSelector: {}
podAnnotations: {}
provider: kubernetes
region: default
replicaSetAnnotations: {}
securityGroups: []
stack: k8devcluster
strategy: highlander
targetSize: 1
terminationGracePeriodSeconds: 30
volumeSources: []
id: deploy2
inheritanceControl: {}
inject: {}
name: Stagging-Deploy
type: deploy