refactor(cyberchef): Rename k8s resources

refactor(freshrss): Remove useless deployment label
This commit is contained in:
Pim Kunis 2024-07-14 12:29:36 +02:00
parent e724ff94a9
commit cf804ac260
2 changed files with 42 additions and 46 deletions

View file

@ -1,6 +1,6 @@
{
kubernetes.resources = {
deployments.cyberchef.spec = {
deployments.server.spec = {
replicas = 3;
selector.matchLabels.app = "cyberchef";
@ -14,7 +14,7 @@
};
};
services.cyberchef.spec = {
services.server.spec = {
selector.app = "cyberchef";
ports.web = {
@ -24,11 +24,11 @@
};
};
lab.ingresses.cyberchef = {
lab.ingresses.server = {
host = "cyberchef.kun.is";
service = {
name = "cyberchef";
name = "server";
portName = "web";
};
};

View file

@ -2,10 +2,7 @@
kubernetes.resources = {
secrets.server.stringData.adminPassword = "ref+sops://secrets/kubernetes.yaml#/freshrss/password";
deployments.server = {
metadata.labels.app = "freshrss";
spec = {
deployments.server.spec = {
selector.matchLabels.app = "freshrss";
strategy = {
@ -58,9 +55,8 @@
};
};
};
};
services.web.spec = {
services.server.spec = {
selector.app = "freshrss";
ports.web = {