-
Notifications
You must be signed in to change notification settings - Fork 1
/
bundle-controller.yml
51 lines (50 loc) · 1.2 KB
/
bundle-controller.yml
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
---
apiVersion: v1
kind: ConfigMap
metadata:
name: bundle-controller-config
namespace: "ansible-service-broker"
data:
sleeptime: "5s"
resource: "pod"
namespace: "ansible-service-broker"
bundleid: "d889087d9f39d5b09a06842518f5d9e2"
bundleparam: "pods"
---
apiVersion: v1
kind: Pod
metadata:
name: bundle-controller
spec:
serviceAccount: asb
containers:
- image: ansibleplaybookbundle/bundle-controller:latest
imagePullPolicy: IfNotPresent
name: bundle-controller
env:
- name: SLEEPTIME
valueFrom:
configMapKeyRef:
name: bundle-controller-config
key: sleeptime
- name: RESOURCE
valueFrom:
configMapKeyRef:
name: bundle-controller-config
key: resource
- name: NAMESPACE
valueFrom:
configMapKeyRef:
name: bundle-controller-config
key: namespace
- name: BUNDLEID
valueFrom:
configMapKeyRef:
name: bundle-controller-config
key: bundleid
- name: BUNDLEPARAM
valueFrom:
configMapKeyRef:
name: bundle-controller-config
key: bundleparam
restartPolicy: Always