Updates tests due to dmaap adapter changes
[nonrtric.git] / test / simulator-group / dmaapadp / app.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: $DMAAP_ADP_APP_NAME
5   namespace: $KUBE_NONRTRIC_NAMESPACE
6   labels:
7     run: $DMAAP_ADP_APP_NAME
8     autotest: DMAAPADP
9 spec:
10   replicas: 1
11   selector:
12     matchLabels:
13       run: $DMAAP_ADP_APP_NAME
14   template:
15     metadata:
16       labels:
17         run: $DMAAP_ADP_APP_NAME
18         autotest: DMAAPADP
19     spec:
20       containers:
21       - name: $DMAAP_ADP_APP_NAME
22         image: $DMAAP_ADP_IMAGE
23         imagePullPolicy: $KUBE_IMAGE_PULL_POLICY
24         ports:
25         - name: http
26           containerPort: $DMAAP_ADP_INTERNAL_PORT
27         - name: https
28           containerPort: $DMAAP_ADP_INTERNAL_SECURE_PORT
29         volumeMounts:
30         - mountPath: $DMAAP_ADP_CONFIG_MOUNT_PATH
31           name: dmaapadp-conf-name
32         - mountPath: $DMAAP_ADP_DATA_MOUNT_PATH
33           name: dmaapadp-data-name
34       volumes:
35       - configMap:
36           defaultMode: 420
37           name: $DMAAP_ADP_CONFIG_CONFIGMAP_NAME
38         name: dmaapadp-conf-name
39       - configMap:
40           defaultMode: 420
41           name: $DMAAP_ADP_DATA_CONFIGMAP_NAME
42         name: dmaapadp-data-name
43 # Selector will be set when pod is started first time
44       nodeSelector:
45