refactor(cyberchef): Rename k8s resources
refactor(freshrss): Remove useless deployment label
This commit is contained in:
parent
e724ff94a9
commit
cf804ac260
2 changed files with 42 additions and 46 deletions
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
kubernetes.resources = {
|
kubernetes.resources = {
|
||||||
deployments.cyberchef.spec = {
|
deployments.server.spec = {
|
||||||
replicas = 3;
|
replicas = 3;
|
||||||
selector.matchLabels.app = "cyberchef";
|
selector.matchLabels.app = "cyberchef";
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.cyberchef.spec = {
|
services.server.spec = {
|
||||||
selector.app = "cyberchef";
|
selector.app = "cyberchef";
|
||||||
|
|
||||||
ports.web = {
|
ports.web = {
|
||||||
|
@ -24,11 +24,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
lab.ingresses.cyberchef = {
|
lab.ingresses.server = {
|
||||||
host = "cyberchef.kun.is";
|
host = "cyberchef.kun.is";
|
||||||
|
|
||||||
service = {
|
service = {
|
||||||
name = "cyberchef";
|
name = "server";
|
||||||
portName = "web";
|
portName = "web";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -2,10 +2,7 @@
|
||||||
kubernetes.resources = {
|
kubernetes.resources = {
|
||||||
secrets.server.stringData.adminPassword = "ref+sops://secrets/kubernetes.yaml#/freshrss/password";
|
secrets.server.stringData.adminPassword = "ref+sops://secrets/kubernetes.yaml#/freshrss/password";
|
||||||
|
|
||||||
deployments.server = {
|
deployments.server.spec = {
|
||||||
metadata.labels.app = "freshrss";
|
|
||||||
|
|
||||||
spec = {
|
|
||||||
selector.matchLabels.app = "freshrss";
|
selector.matchLabels.app = "freshrss";
|
||||||
|
|
||||||
strategy = {
|
strategy = {
|
||||||
|
@ -58,9 +55,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
|
||||||
|
|
||||||
services.web.spec = {
|
services.server.spec = {
|
||||||
selector.app = "freshrss";
|
selector.app = "freshrss";
|
||||||
|
|
||||||
ports.web = {
|
ports.web = {
|
||||||
|
|
Loading…
Reference in a new issue