|
|
@@ -1,23 +1,23 @@ |
|
|
|
apiVersion: apps/v1 |
|
|
|
kind: Deployment |
|
|
|
metadata: |
|
|
|
name: kitchenweb |
|
|
|
name: storemanagementweb |
|
|
|
namespace: kube-<NAMESPACES> |
|
|
|
spec: |
|
|
|
|
|
|
|
selector: |
|
|
|
matchLabels: |
|
|
|
app: kitchenweb |
|
|
|
app: storemanagementweb |
|
|
|
replicas: 1 |
|
|
|
template: |
|
|
|
metadata: |
|
|
|
labels: |
|
|
|
app: kitchenweb |
|
|
|
app: storemanagementweb |
|
|
|
spec: |
|
|
|
containers: |
|
|
|
- image: 10.2.1.24:10242/bpa/kitchenweb:<BUILD_TAG> |
|
|
|
- image: 10.2.1.24:10242/bpa/storemanagementweb:<BUILD_TAG> |
|
|
|
imagePullPolicy: IfNotPresent |
|
|
|
name: kitchenweb |
|
|
|
name: storemanagementweb |
|
|
|
env: |
|
|
|
- name: branch |
|
|
|
value: <BRANCH_NAME> |
|
|
@@ -45,8 +45,8 @@ kind: Service |
|
|
|
apiVersion: v1 |
|
|
|
metadata: |
|
|
|
labels: |
|
|
|
app: kitchenweb |
|
|
|
name: kitchenweb |
|
|
|
app: storemanagementweb |
|
|
|
name: storemanagementweb |
|
|
|
namespace: kube-<NAMESPACES> |
|
|
|
spec: |
|
|
|
type: ClusterIP |
|
|
@@ -54,4 +54,4 @@ spec: |
|
|
|
- port: 80 |
|
|
|
name: http |
|
|
|
selector: |
|
|
|
app: kitchenweb |
|
|
|
app: storemanagementweb |