Skip to content

Commit

Permalink
Make ceph-mounter config optional (#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
George Kraft authored Nov 13, 2020
1 parent 732dcea commit e2d96d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cdk-addons/apply
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ def render_templates():
cephfs_context['default'] = (default_storage == 'cephfs')
cephfs_context['fsname'] = get_snap_config(
"ceph-fsname", required=True)
cephfs_context['mounter'] = get_snap_config("cephfs-mounter") or "default"
cephfs_context['mounter'] = get_snap_config(
"cephfs-mounter", required=False) or "default"
render_template("cephfs/secret.yaml", cephfs_context)
render_template("cephfs/csi-cephfsplugin.yaml", cephfs_context)
render_template("cephfs/csi-cephfsplugin-provisioner.yaml", cephfs_context)
Expand Down

0 comments on commit e2d96d5

Please sign in to comment.