-
Notifications
You must be signed in to change notification settings - Fork 64
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature request description
It would be nice to be able to disable traefik and local-storage out of the box, so people could replace 'em with other gateway or CSI according to their needs.
Similarly how it's done in java modules.
addExposedPorts(KUBE_SECURE_PORT, RANCHER_WEBHOOK_PORT);
setPrivilegedMode(true);
withCreateContainerCmdModifier(it -> {
it.getHostConfig().withCgroupnsMode("host");
});
addFileSystemBind("/sys/fs/cgroup", "/sys/fs/cgroup", BindMode.READ_WRITE);
Map<String, String> tmpFsMapping = new HashMap<>();
tmpFsMapping.put("/run", "");
tmpFsMapping.put("/var/run", "");
setTmpFsMapping(tmpFsMapping);
setCommand("server", "--disable=traefik", "--tls-san=" + this.getHost());
setWaitStrategy(Wait.forLogMessage(".*Node controller sync successful.*", 1));
I don't really get the point of that --tls-san
and why they're do fs mapping, and binding cgroups.
Maybe it's something worth replicating for rust modules, as well.
Image reference
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request