Skip to content

Commit

Permalink
Rename vote-ui with pipelines-vote-ui to match with repo
Browse files Browse the repository at this point in the history
  • Loading branch information
savitaashture committed May 14, 2021
1 parent b0d6fef commit ade6881
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,29 @@ apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: vote-ui
name: vote-ui
app: pipelines-vote-ui
name: pipelines-vote-ui
spec:
replicas: 1
selector:
matchLabels:
app: vote-ui
app: pipelines-vote-ui
template:
metadata:
labels:
app: vote-ui
app: pipelines-vote-ui
spec:
containers:
- image: quay.io/openshift-pipeline/vote-ui:latest
imagePullPolicy: Always
name: vote-ui
name: pipelines-vote-ui
ports:
- containerPort: 8080
protocol: TCP
- containerPort: 9090
protocol: TCP
env:
- name: VOTING_API_SERVICE_HOST
value: vote-api
value: pipelines-vote-api
- name: VOTING_API_SERVICE_PORT
value: "9000"
6 changes: 3 additions & 3 deletions k8s/route.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ apiVersion: route.openshift.io/v1
kind: Route
metadata:
labels:
app: vote-ui
name: vote-ui
app: pipelines-vote-ui
name: pipelines-vote-ui
spec:
port:
targetPort: 8080-tcp
to:
kind: Service
name: vote-ui
name: pipelines-vote-ui
weight: 100
6 changes: 3 additions & 3 deletions k8s/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v1
kind: Service
metadata:
labels:
app: vote-ui
name: vote-ui
app: pipelines-vote-ui
name: pipelines-vote-ui
spec:
type: NodePort
ports:
Expand All @@ -12,4 +12,4 @@ spec:
targetPort: 8080
protocol: TCP
selector:
app: vote-ui
app: pipelines-vote-ui

0 comments on commit ade6881

Please sign in to comment.