Merge "Ceph: Update charts to use endpoints section for all port lookups"

This commit is contained in:
Zuul 2018-07-10 13:27:36 +00:00 committed by Gerrit Code Review
commit 7c0ddc1e40
4 changed files with 4 additions and 9 deletions

View File

@ -166,9 +166,6 @@ network:
port: 30004
public: 192.168.0.0/16
cluster: 192.168.0.0/16
port:
mon: 6789
mgr: 7000
conf:
features:

View File

@ -31,9 +31,9 @@ metadata:
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
spec:
ports:
- port: {{ .Values.network.port.mon }}
- port: {{ tuple "ceph_mon" "discovery" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
protocol: TCP
targetPort: {{ .Values.network.port.mon }}
targetPort: {{ tuple "ceph_mon" "discovery" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
selector:
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
clusterIP: None

View File

@ -23,9 +23,9 @@ metadata:
name: {{ tuple "ceph_mon" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
spec:
ports:
- port: {{ .Values.network.port.mon }}
- port: {{ tuple "ceph_mon" "internal" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
protocol: TCP
targetPort: {{ .Values.network.port.mon }}
targetPort: {{ tuple "ceph_mon" "internal" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
selector:
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
clusterIP: None

View File

@ -113,8 +113,6 @@ secrets:
network:
public: 192.168.0.0/16
cluster: 192.168.0.0/16
port:
mon: 6789
conf:
templates: