Skip to content

Commit

Permalink
MAISTRA-1367 Use maistra bookinfo images in bookinfo example (#237)
Browse files Browse the repository at this point in the history
MAISTRA-1528 Update bookinfo to pick up CVE fixes

(cherry picked from commit 230e9f2)

MAISTRA-1783 maistra istio samples yaml files need sidecar injection for testing (#172)

Co-authored-by: Marko Lukša <marko.luksa@gmail.com>
  • Loading branch information
brian-avery and luksa committed Jan 22, 2021
1 parent dc7fccd commit 27f243c
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 16 deletions.
4 changes: 2 additions & 2 deletions samples/bookinfo/platform/kube/bookinfo-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ spec:
version: v1
spec:
containers:
- name: mongodb
image: docker.io/istio/examples-bookinfo-mongodb:1.16.2
- name: mongodb
image: maistra/examples-bookinfo-mongodb:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 27017
Expand Down
2 changes: 1 addition & 1 deletion samples/bookinfo/platform/kube/bookinfo-details-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: details
image: docker.io/istio/examples-bookinfo-details-v2:1.16.2
image: maistra/examples-bookinfo-details-v2:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9080
Expand Down
2 changes: 1 addition & 1 deletion samples/bookinfo/platform/kube/bookinfo-details.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
spec:
containers:
- name: details
image: docker.io/istio/examples-bookinfo-details-v1:1.16.2
image: maistra/examples-bookinfo-details-v1:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9080
Expand Down
2 changes: 1 addition & 1 deletion samples/bookinfo/platform/kube/bookinfo-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
spec:
containers:
- name: mysqldb
image: docker.io/istio/examples-bookinfo-mysqldb:1.16.2
image: maistra/examples-bookinfo-mysqldb:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3306
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
spec:
containers:
- name: ratings
image: docker.io/istio/examples-bookinfo-ratings-v2:1.16.2
image: maistra/examples-bookinfo-ratings-v2:2.0.0
imagePullPolicy: IfNotPresent
env:
# This assumes you registered your mysql vm as
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ spec:
spec:
containers:
- name: ratings
image: docker.io/istio/examples-bookinfo-ratings-v2:1.16.2
image: maistra/examples-bookinfo-ratings-v2:2.0.0
imagePullPolicy: IfNotPresent
env:
# ratings-v2 will use mongodb as the default db backend.
Expand Down
2 changes: 1 addition & 1 deletion samples/bookinfo/platform/kube/bookinfo-ratings-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ spec:
serviceAccountName: bookinfo-ratings-v2
containers:
- name: ratings
image: docker.io/istio/examples-bookinfo-ratings-v2:1.16.2
image: maistra/examples-bookinfo-ratings-v2:2.0.0
imagePullPolicy: IfNotPresent
env:
# ratings-v2 will use mongodb as the default db backend.
Expand Down
2 changes: 1 addition & 1 deletion samples/bookinfo/platform/kube/bookinfo-ratings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ spec:
spec:
containers:
- name: ratings
image: docker.io/istio/examples-bookinfo-ratings-v1:1.16.2
image: maistra/examples-bookinfo-ratings-v1:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9080
Expand Down
2 changes: 1 addition & 1 deletion samples/bookinfo/platform/kube/bookinfo-reviews-v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ spec:
spec:
containers:
- name: reviews
image: docker.io/istio/examples-bookinfo-reviews-v2:1.16.2
image: maistra/examples-bookinfo-reviews-v2:2.0.0
imagePullPolicy: IfNotPresent
env:
- name: LOG_DIR
Expand Down
12 changes: 6 additions & 6 deletions samples/bookinfo/platform/kube/bookinfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ spec:
serviceAccountName: bookinfo-details
containers:
- name: details
image: docker.io/istio/examples-bookinfo-details-v1:1.16.2
image: maistra/examples-bookinfo-details-v1:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9080
Expand Down Expand Up @@ -123,7 +123,7 @@ spec:
serviceAccountName: bookinfo-ratings
containers:
- name: ratings
image: docker.io/istio/examples-bookinfo-ratings-v1:1.16.2
image: maistra/examples-bookinfo-ratings-v1:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9080
Expand Down Expand Up @@ -174,7 +174,7 @@ spec:
serviceAccountName: bookinfo-reviews
containers:
- name: reviews
image: docker.io/istio/examples-bookinfo-reviews-v1:1.16.2
image: maistra/examples-bookinfo-reviews-v1:2.0.0
imagePullPolicy: IfNotPresent
env:
- name: LOG_DIR
Expand Down Expand Up @@ -214,7 +214,7 @@ spec:
serviceAccountName: bookinfo-reviews
containers:
- name: reviews
image: docker.io/istio/examples-bookinfo-reviews-v2:1.16.2
image: maistra/examples-bookinfo-reviews-v2:2.0.0
imagePullPolicy: IfNotPresent
env:
- name: LOG_DIR
Expand Down Expand Up @@ -254,7 +254,7 @@ spec:
serviceAccountName: bookinfo-reviews
containers:
- name: reviews
image: docker.io/istio/examples-bookinfo-reviews-v3:1.16.2
image: maistra/examples-bookinfo-reviews-v3:2.0.0
imagePullPolicy: IfNotPresent
env:
- name: LOG_DIR
Expand Down Expand Up @@ -318,7 +318,7 @@ spec:
serviceAccountName: bookinfo-productpage
containers:
- name: productpage
image: docker.io/istio/examples-bookinfo-productpage-v1:1.16.2
image: maistra/examples-bookinfo-productpage-v1:2.0.0
imagePullPolicy: IfNotPresent
ports:
- containerPort: 9080
Expand Down
2 changes: 2 additions & 0 deletions samples/httpbin/httpbin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spec:
version: v1
template:
metadata:
annotations:
sidecar.istio.io/inject: "true"
labels:
app: httpbin
version: v1
Expand Down
1 change: 1 addition & 0 deletions samples/httpbin/sample-client/fortio-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spec:
# This annotation causes Envoy to serve cluster.outbound statistics via 15000/stats
# in addition to the stats normally served by Istio. The Circuit Breaking example task
# gives an example of inspecting Envoy stats.
sidecar.istio.io/inject: "true"
sidecar.istio.io/statsInclusionPrefixes: cluster.outbound,cluster_manager,listener_manager,http_mixer_filter,tcp_mixer_filter,server,cluster.xds-grpc
labels:
app: fortio
Expand Down
2 changes: 2 additions & 0 deletions samples/https/nginx-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ spec:
replicas: 1
template:
metadata:
annotations:
sidecar.istio.io/inject: "true"
labels:
app: nginx
spec:
Expand Down
2 changes: 2 additions & 0 deletions samples/sleep/sleep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ spec:
app: sleep
template:
metadata:
annotations:
sidecar.istio.io/inject: "true"
labels:
app: sleep
spec:
Expand Down

0 comments on commit 27f243c

Please sign in to comment.