Skip to content

Commit

Permalink
Merge pull request #89 from mgfeller/bug/mgfeller/73
Browse files Browse the repository at this point in the history
[App] Update the Deployment version in bookinfo.yaml
  • Loading branch information
leecalcote authored Aug 28, 2020
2 parents 69bd987 + a2068d0 commit 36592f2
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions consul/config_templates/bookinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ spec:
selector:
app: details
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: details-v1
Expand All @@ -21,6 +21,9 @@ metadata:
version: v1
spec:
replicas: 1
selector:
matchLabels:
app: details
template:
metadata:
labels:
Expand Down Expand Up @@ -53,7 +56,7 @@ spec:
selector:
app: ratings
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: ratings-v1
Expand All @@ -62,6 +65,9 @@ metadata:
version: v1
spec:
replicas: 1
selector:
matchLabels:
app: ratings
template:
metadata:
labels:
Expand Down Expand Up @@ -94,7 +100,7 @@ spec:
selector:
app: reviews
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: reviews-v1
Expand All @@ -103,6 +109,9 @@ metadata:
version: v1
spec:
replicas: 1
selector:
matchLabels:
app: reviews
template:
metadata:
labels:
Expand All @@ -118,7 +127,7 @@ spec:
ports:
- containerPort: 9080
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: reviews-v2
Expand All @@ -127,6 +136,9 @@ metadata:
version: v2
spec:
replicas: 1
selector:
matchLabels:
app: reviews
template:
metadata:
labels:
Expand All @@ -143,7 +155,7 @@ spec:
ports:
- containerPort: 9080
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: reviews-v3
Expand All @@ -152,6 +164,9 @@ metadata:
version: v3
spec:
replicas: 1
selector:
matchLabels:
app: reviews
template:
metadata:
labels:
Expand Down Expand Up @@ -186,7 +201,7 @@ spec:
selector:
app: productpage
---
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
metadata:
name: productpage-v1
Expand All @@ -195,6 +210,9 @@ metadata:
version: v1
spec:
replicas: 1
selector:
matchLabels:
app: productpage
template:
metadata:
labels:
Expand Down

0 comments on commit 36592f2

Please sign in to comment.