Commit 26740037 authored by Yuji Itadori's avatar Yuji Itadori

Update service-deployment.yaml

parent 59980e99
...@@ -13,7 +13,7 @@ spec: ...@@ -13,7 +13,7 @@ spec:
targetPort: 80 targetPort: 80
selector: selector:
app: $SERVICENAME app: $SERVICENAME
tier: frontend tier: api
--- ---
apiVersion: v1 apiVersion: v1
kind: PersistentVolumeClaim kind: PersistentVolumeClaim
...@@ -40,14 +40,14 @@ spec: ...@@ -40,14 +40,14 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: $SERVICENAME app: $SERVICENAME
tier: frontend tier: api
strategy: strategy:
type: Recreate type: Recreate
template: template:
metadata: metadata:
labels: labels:
app: $SERVICENAME app: $SERVICENAME
tier: frontend tier: api
spec: spec:
containers: containers:
- image: dockreg.vnetcloud.com/$SERVICENAME:ci-cd - image: dockreg.vnetcloud.com/$SERVICENAME:ci-cd
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment