Skip to content

Commit

Permalink
# replaced hardcoded host with variable
Browse files Browse the repository at this point in the history
  • Loading branch information
theimo1221 authored Nov 20, 2019
1 parent 4aa19b2 commit cc03da8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions stocktrader-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: loyalty-level
spec:
spec:F
replicas: 1
template:
metadata:
Expand All @@ -26,7 +26,7 @@ spec:
spec:
containers:
- name: loyalty-level
image: bluedemocluster.icp:8500/default/loyalty-level:latest
image: @registryHostAndRepo@/loyalty-level:latest
env:
- name: MQ_ID
valueFrom:
Expand Down Expand Up @@ -112,7 +112,7 @@ spec:
spec:
containers:
- name: notification
image: bluedemocluster.icp:8500/default/notification:latest
image: @registryHostAndRepo@/notification:latest
env:
- name: MQ_ID
valueFrom:
Expand Down Expand Up @@ -183,7 +183,7 @@ spec:
spec:
containers:
- name: portfolio
image: bluedemocluster.icp:8500/default/portfolio:latest
image: @registryHostAndRepo@/portfolio:latest
env:
- name: JDBC_HOST
valueFrom:
Expand Down Expand Up @@ -261,7 +261,7 @@ spec:
spec:
containers:
- name: stock-quote
image: bluedemocluster.icp:8500/default/stock-quote:latest
image: @registryHostAndRepo@/stock-quote:latest
env:
- name: REDIS_URL
valueFrom:
Expand Down Expand Up @@ -320,7 +320,7 @@ spec:
spec:
containers:
- name: trader
image: bluedemocluster.icp:8500/default/trader:latest
image: @registryHostAndRepo@/trader:latest
ports:
- containerPort: 9080
imagePullPolicy: IfNotPresent
Expand Down

0 comments on commit cc03da8

Please sign in to comment.