forked from SAP-samples/kyma-runtime-extension-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
53 lines (53 loc) · 1.22 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
apiVersion: apps/v1
kind: Deployment
metadata:
creationTimestamp: null
labels:
app: sample-cloudsdk-java
name: sample-cloudsdk-java
namespace: mktg-ems
spec:
replicas: 1
selector:
matchLabels:
app: sample-cloudsdk-java
strategy: {}
template:
metadata:
creationTimestamp: null
labels:
app: sample-cloudsdk-java
spec:
containers:
- image: gabbi/sample-cloudsdk-java:0.0.1
imagePullPolicy: Always
name: sample-cloudsdk-java
resources: {}
env:
- name: APPLICATION_TENANT_NAME
value: my-mktng-tenant
- name: APPLICATION_SERVICE_PATH
value: "/sap/opu/odata/SAP/API_MKT_CAMPAIGN_SRV;v=0002"
- name: destinations
value: '[{name: "$(APPLICATION_TENANT_NAME)", url: "$(URL)", username: "$(User)", password: "$(Password)"}]'
ports:
- containerPort: 8080
name: http
status: {}
---
apiVersion: v1
kind: Service
metadata:
creationTimestamp: null
labels:
app: sample-cloudsdk-java
name: sample-cloudsdk-java
spec:
ports:
- port: 8080
protocol: TCP
targetPort: http
selector:
app: sample-cloudsdk-java
status:
loadBalancer: {}