Skip to content

Commit

Permalink
Use same name fervice and deployment and add version label
Browse files Browse the repository at this point in the history
  • Loading branch information
anouarchattouna committed Mar 26, 2019
1 parent 3b67477 commit a737499
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manifests/quotes-deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: quotes-service
name: quotes
namespace: storage-quotes
labels:
app: quotes
Expand All @@ -15,7 +15,7 @@ spec:
apiVersion: apps/v1
kind: Deployment
metadata:
name: quotes-deployment
name: quotes
namespace: storage-quotes
spec:
replicas: 1
Expand All @@ -26,6 +26,7 @@ spec:
metadata:
labels:
app: quotes
version: v1
spec:
volumes:
# Make the 'gcp-iam-sa-credentials' secret available as volume
Expand Down

0 comments on commit a737499

Please sign in to comment.