2024-03-27 19:43:59 +00:00
|
|
|
{
|
|
|
|
kubernetes.resources = {
|
|
|
|
deployments.cyberchef.spec = {
|
|
|
|
replicas = 3;
|
|
|
|
selector.matchLabels.app = "cyberchef";
|
|
|
|
|
|
|
|
template = {
|
|
|
|
metadata.labels.app = "cyberchef";
|
|
|
|
|
2024-04-14 19:43:31 +00:00
|
|
|
spec.containers.cyberchef = {
|
|
|
|
image = "mpepping/cyberchef";
|
|
|
|
ports.web.containerPort = 8000;
|
2024-03-27 19:43:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
services.cyberchef.spec = {
|
|
|
|
selector.app = "cyberchef";
|
|
|
|
|
2024-04-14 19:43:31 +00:00
|
|
|
ports.web = {
|
2024-03-27 19:43:59 +00:00
|
|
|
port = 80;
|
2024-04-14 19:43:31 +00:00
|
|
|
targetPort = "web";
|
|
|
|
};
|
2024-03-27 19:43:59 +00:00
|
|
|
};
|
2024-04-14 21:11:19 +00:00
|
|
|
};
|
2024-03-27 19:43:59 +00:00
|
|
|
|
2024-04-14 21:11:19 +00:00
|
|
|
lab.ingresses.cyberchef = {
|
|
|
|
host = "cyberchef.kun.is";
|
2024-04-07 12:07:05 +00:00
|
|
|
|
2024-04-14 21:11:19 +00:00
|
|
|
service = {
|
|
|
|
name = "cyberchef";
|
|
|
|
portName = "web";
|
2024-03-27 19:43:59 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|