-
Notifications
You must be signed in to change notification settings - Fork 0
/
trello-service.yaml
56 lines (56 loc) · 1.14 KB
/
trello-service.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
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: trello-service
namespace: keptn
spec:
selector:
matchLabels:
run: trello-service
replicas: 1
template:
metadata:
labels:
run: trello-service
spec:
containers:
- name: trello-service
image: adamgardnerdt/keptn-trello-service
ports:
- containerPort: 80
env:
- name: TRELLO_API_KEY
valueFrom:
secretKeyRef:
name: trello-details
key: api-key
- name: TRELLO_API_TOKEN
valueFrom:
secretKeyRef:
name: trello-details
key: api-token
- name: TRELLO_BOARD_ID
valueFrom:
secretKeyRef:
name: trello-details
key: board-id
- name: TRELLO_LIST_NAME
valueFrom:
secretKeyRef:
name: trello-details
key: list-name
---
apiVersion: v1
kind: Service
metadata:
name: trello-service
namespace: keptn
labels:
run: trello-service
spec:
ports:
- port: 80
protocol: TCP
selector:
run: trello-service