File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 2222class Nvmeof (Task ):
2323 """
2424 Setup nvmeof gateway on client and then share gateway config to target host.
25-
25+ tasks:
2626 - nvmeof:
2727 installer: host.a // or 'nvmeof.nvmeof.a'
2828 version: default
@@ -33,6 +33,16 @@ class Nvmeof(Task):
3333 namespaces_count: 10
3434 cli_version: latest
3535 create_mtls_secrets: False
36+
37+ You can pass extra conf file to override above setup values:
38+
39+ overrides:
40+ nvmeof:
41+ gw_image: quay.io/ceph/nvmeof:devel
42+ gateway_config:
43+ subsystems_count: 3
44+ namespaces_count: 20
45+ cli_image: quay.io/ceph/nvmeof-cli:devel
3646
3747 """
3848
@@ -44,6 +54,8 @@ def setup(self):
4454 raise ConfigError ('nvmeof requires a installer host to deploy service' )
4555 self .cluster_name , _ , _ = misc .split_role (host )
4656 self .remote = get_remote_for_role (self .ctx , host )
57+ overrides = self .ctx .config .get ('overrides' , {})
58+ misc .deep_merge (self .config , overrides .get ('nvmeof' , {}))
4759
4860 def begin (self ):
4961 super (Nvmeof , self ).begin ()
You can’t perform that action at this time.
0 commit comments