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 = {
|
||||
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";
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue