Add variables for redis names

This commit is contained in:
Vincent Fiduccia
2016-03-09 18:36:59 -07:00
parent f8c6853e65
commit 444d32ab8e
5 changed files with 24 additions and 14 deletions
@@ -1,13 +1,13 @@
apiVersion: v1
kind: Service
metadata:
name: redis-master
name: ${REDIS_MASTER_NAME}
labels:
name: redis-master
name: ${REDIS_MASTER_NAME}
spec:
ports:
# the port that this service should serve on
- port: 6379
targetPort: 6379
selector:
name: redis-master
name: ${REDIS_MASTER_NAME}