Skip to content

Commit

Permalink
Merge pull request #8254 from henryzhangsta/helm-network-optional
Browse files Browse the repository at this point in the history
ceph: network configuration should be optional in Helm chart
  • Loading branch information
leseb committed Jul 5, 2021
2 parents 97f1cc3 + a5227bf commit c4d15f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cluster/charts/rook-ceph-cluster/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ spec:
app: rook-ceph-tools
spec:
dnsPolicy: ClusterFirstWithHostNet
{{- if default "" .Values.cephClusterSpec.network.provider | eq "host" }}
{{- $network := .Values.cephClusterSpec.network | default dict -}}
{{- if ($network.provider | default "") | eq "host" }}
hostNetwork: true
{{- end }}
containers:
Expand Down

0 comments on commit c4d15f4

Please sign in to comment.