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