Add code needed to add extra custom configuration files to sidecar
containers.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
self.identity, smb_ctr.name()
)
img = smb_ctr.container_image() or ctx.image or self.default_image
- return SidecarContainer(
+ sc = SidecarContainer(
ctx,
entrypoint='',
image=img,
init=False,
remove=True,
)
+ deployment_utils.enhance_container(ctx, sc)
+ return sc
def container(self, ctx: CephadmContext) -> CephContainer:
ctr = daemon_to_container(ctx, self, host_network=self._cfg.clustered)