Skip to content

Commit eaa935c

Browse files
committed
mgr/cephadm: add kmip fields to nfs daemon config
so they will be passed to the cephadm binary during deployment Signed-off-by: Adam King <[email protected]> (cherry picked from commit c4f8466) Resolves: rhbz#2373703
1 parent e853809 commit eaa935c

File tree

1 file changed

+7
-0
lines changed
  • src/pybind/mgr/cephadm/services

1 file changed

+7
-0
lines changed

src/pybind/mgr/cephadm/services/nfs.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,13 @@ def get_cephadm_config() -> Dict[str, Any]:
177177
'ganesha.conf': get_ganesha_conf(),
178178
'idmap.conf': get_idmap_conf()
179179
}
180+
if add_kmip_block:
181+
for kmip_cert_key_field in [
182+
'kmip_cert',
183+
'kmip_key',
184+
'kmip_ca_cert',
185+
]:
186+
config['files'][kmip_cert_key_field] = getattr(spec, kmip_cert_key_field)
180187
config.update(
181188
self.get_config_and_keyring(
182189
daemon_type, daemon_id,

0 commit comments

Comments
 (0)