Pim Kunis
07bd2e1e01
feat(longhorn): Add ability to specify PVC namespace refactor(freshrss): Simplify env variable declaration
35 lines
640 B
Nix
35 lines
640 B
Nix
{
|
|
kubernetes.resources = {
|
|
deployments.cyberchef.spec = {
|
|
replicas = 3;
|
|
selector.matchLabels.app = "cyberchef";
|
|
|
|
template = {
|
|
metadata.labels.app = "cyberchef";
|
|
|
|
spec.containers.cyberchef = {
|
|
image = "mpepping/cyberchef";
|
|
ports.web.containerPort = 8000;
|
|
};
|
|
};
|
|
};
|
|
|
|
services.cyberchef.spec = {
|
|
selector.app = "cyberchef";
|
|
|
|
ports.web = {
|
|
port = 80;
|
|
targetPort = "web";
|
|
};
|
|
};
|
|
};
|
|
|
|
lab.ingresses.cyberchef = {
|
|
host = "cyberchef.kun.is";
|
|
|
|
service = {
|
|
name = "cyberchef";
|
|
portName = "web";
|
|
};
|
|
};
|
|
}
|