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