ea1a1dee0d
This patchset implements yamllint test to all *.yml files. Also fixes syntax errors to make jobs to pass. Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
25 lines
481 B
YAML
25 lines
481 B
YAML
---
|
|
apiVersion: v1beta3
|
|
kind: ReplicationController
|
|
metadata:
|
|
name: redis-sentinel
|
|
spec:
|
|
replicas: 2
|
|
selector:
|
|
redis-sentinel: "true"
|
|
template:
|
|
metadata:
|
|
labels:
|
|
name: redis-sentinel
|
|
redis-sentinel: "true"
|
|
role: sentinel
|
|
spec:
|
|
containers:
|
|
- name: sentinel
|
|
image: kubernetes/redis:v1
|
|
env:
|
|
- name: SENTINEL
|
|
value: "true"
|
|
ports:
|
|
- containerPort: 26379
|