Skip to content

Commit

Permalink
ceph: helm: fix operator chart rbdGrpcMetricsPort
Browse files Browse the repository at this point in the history
This fixes the conditional for the `rbdGrpcMetricsPort` option.
Previously the `rbdGrpcMetricsPort` was useless as it was not used,
instead the Helm chart looked for `cephfsrbdGrpcMetricsPort` option.

Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Nov 3, 2019
1 parent 77a583d commit 9fe5e2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster/charts/rook-ceph/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ spec:
- name: CSI_CEPHFS_LIVENESS_METRICS_PORT
value: {{ .Values.csi.cephfsLivenessMetricsPort | quote }}
{{- end }}
{{- if .Values.csi.cephfsrbdGrpcMetricsPort }}
{{- if .Values.csi.rbdGrpcMetricsPort }}
- name: CSI_RBD_GRPC_METRICS_PORT
value: {{ .Values.csi.rbdGrpcMetricsPort | quote }}
{{- end }}
Expand Down

0 comments on commit 9fe5e2a

Please sign in to comment.