f9cb3fc846
This resolves a few issues that crept in with the last three pull requests.
37 lines
601 B
YAML
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 }}
|