openstack-helm/ceph/templates/service.yaml
Alan Meadows f9cb3fc846 Bugfix a few typos from last three PRs
This resolves a few issues that crept in with the last
three pull requests.
2017-01-03 15:53:06 -08:00

37 lines
601 B
YAML

---
kind: Service
apiVersion: v1
metadata:
name: ceph-mon
labels:
app: ceph
daemon: mon
spec:
ports:
- port: {{ .Values.network.port.mon }}
protocol: TCP
targetPort: {{ .Values.network.port.mon }}
selector:
app: ceph
daemon: mon
clusterIP: None
{{- if .Values.rgw.enabled }}
---
apiVersion: v1
kind: Service
metadata:
name: ceph-rgw
labels:
app: ceph
daemon: rgw
spec:
ports:
- port: {{ .Values.network.port.rgw_ingress }}
protocol: TCP
targetPort: {{ .Values.network.port.rgw_target }}
selector:
app: ceph
daemon: rgw
{{- end }}