Skip to content

Commit

Permalink
fix: set up service name
Browse files Browse the repository at this point in the history
  • Loading branch information
ZavenArra committed Oct 20, 2021
1 parent eb57197 commit 66c1817
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions deployment/base/mapping.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: getambassador.io/v2
kind: Mapping
metadata:
name: SERVICE
name: treetracker-earnings-api
spec:
prefix: /MAPPING_PREFIX/
service: SERVICE
prefix: /earnings/
service: treetracker-earnings-api
rewrite: /
4 changes: 2 additions & 2 deletions deployment/base/service.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: SERVICE
name: treetracker-earnings-api
spec:
selector:
app: SERVICE
app: treetracker-earnings-api
ports:
- name: http
protocol: TCP
Expand Down

0 comments on commit 66c1817

Please sign in to comment.