Ceph: Update charts to use endpoints section for all port lookups
This PS updates the ceph charts to use endpoints for all port lookups, and also prunes some unused defaults. Change-Id: I14c8eff3d4d6290dd98e90029abc21a55713d4e5 Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
parent
b4abb63298
commit
1908352847
@ -166,9 +166,6 @@ network:
|
|||||||
port: 30004
|
port: 30004
|
||||||
public: 192.168.0.0/16
|
public: 192.168.0.0/16
|
||||||
cluster: 192.168.0.0/16
|
cluster: 192.168.0.0/16
|
||||||
port:
|
|
||||||
mon: 6789
|
|
||||||
mgr: 7000
|
|
||||||
|
|
||||||
conf:
|
conf:
|
||||||
features:
|
features:
|
||||||
|
@ -31,9 +31,9 @@ metadata:
|
|||||||
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
service.alpha.kubernetes.io/tolerate-unready-endpoints: "true"
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.network.port.mon }}
|
- port: {{ tuple "ceph_mon" "discovery" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: {{ .Values.network.port.mon }}
|
targetPort: {{ tuple "ceph_mon" "discovery" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
selector:
|
selector:
|
||||||
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
|
@ -23,9 +23,9 @@ metadata:
|
|||||||
name: {{ tuple "ceph_mon" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
name: {{ tuple "ceph_mon" "internal" . | include "helm-toolkit.endpoints.hostname_short_endpoint_lookup" }}
|
||||||
spec:
|
spec:
|
||||||
ports:
|
ports:
|
||||||
- port: {{ .Values.network.port.mon }}
|
- port: {{ tuple "ceph_mon" "internal" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
targetPort: {{ .Values.network.port.mon }}
|
targetPort: {{ tuple "ceph_mon" "internal" "mon" $envAll | include "helm-toolkit.endpoints.endpoint_port_lookup" }}
|
||||||
selector:
|
selector:
|
||||||
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
{{ tuple $envAll "ceph" "mon" | include "helm-toolkit.snippets.kubernetes_metadata_labels" | indent 4 }}
|
||||||
clusterIP: None
|
clusterIP: None
|
||||||
|
@ -113,8 +113,6 @@ secrets:
|
|||||||
network:
|
network:
|
||||||
public: 192.168.0.0/16
|
public: 192.168.0.0/16
|
||||||
cluster: 192.168.0.0/16
|
cluster: 192.168.0.0/16
|
||||||
port:
|
|
||||||
mon: 6789
|
|
||||||
|
|
||||||
conf:
|
conf:
|
||||||
templates:
|
templates:
|
||||||
|
Loading…
Reference in New Issue
Block a user