From 946b3c52dcc5aa6e97c11c81a696cc4f4322f37d Mon Sep 17 00:00:00 2001 From: Liam Date: Wed, 9 Oct 2024 02:26:24 +0100 Subject: [PATCH] oh it was getting OOM killed --- .gitea/kubernetes/website/deployment.yaml | 8 +------- .gitea/kubernetes/website/sealed-secret.yaml | 16 ---------------- .gitea/workflows/deploy-website.yml | 1 - 3 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 .gitea/kubernetes/website/sealed-secret.yaml diff --git a/.gitea/kubernetes/website/deployment.yaml b/.gitea/kubernetes/website/deployment.yaml index 46f34de..2b7cdcf 100644 --- a/.gitea/kubernetes/website/deployment.yaml +++ b/.gitea/kubernetes/website/deployment.yaml @@ -25,10 +25,4 @@ spec: memory: 128Mi limits: cpu: 1000m # 1 vCPU - memory: 256Mi - env: - - name: NEXT_PUBLIC_SITE_URL - valueFrom: - secretKeyRef: - name: ssr-secret - key: NEXT_PUBLIC_SITE_URL + memory: 1024Mi diff --git a/.gitea/kubernetes/website/sealed-secret.yaml b/.gitea/kubernetes/website/sealed-secret.yaml deleted file mode 100644 index 96b446c..0000000 --- a/.gitea/kubernetes/website/sealed-secret.yaml +++ /dev/null @@ -1,16 +0,0 @@ ---- -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: ssr-secret - namespace: public-services -spec: - encryptedData: - NEXT_PUBLIC_SITE_URL: AgCpMUZ2MFY8mHgQ3fizTzcBImnwFmWzccRCtMAThI0cAIOcDe15Drk2a5a4UjcYgl1F+JrHB3b3IPbflr1E4dNAANKRgiGW+gyI2S7J/oDpb+ANCv/0RJIlfQh9Pcb/E4noKVOoUfe4dg5asq1kQjOob4uOn6MfQXoC5WfgK8u8q0T5tEPcuGxXt2Q1OnyAAWm/0Z7JSLfgQN2sKaAbRbWqKfwfsc4LgjxY98m/+BkXN7x6R7BJmXXMd0cb5ctdgM1ZpU+gYhhwyO0xsxYWURcJb9EsrNZR6OY4DbwXw2tpoagFxA20u5J2ZUhUeVRg2x2R5AdkL7OBIT73Xbh3WxIYVAqGDhs90aRrmlCdr61eBLCLtytC33LJ/6Odq2Pa9DLaKqRlqRX/IWk7+cgHOKfSd8/k5R1roA3A96ShFby9RdXGudGLA2G4dvLtrruLCYVRfxMJB2k3UYtGZB21o+3SAV0jx/83eoYzoBGHM6K8ySCpL1uDCo8ATL2iYJcacgYZGKaGxBumzEjAMBqTLBSUl0Jhx3mr59p6mrYKFtbewa9rJUOkNniYvdCeokLyVntxUMx60Jtrtg05G3vSFaP34Gp6Oq6J0jSzvYi/A3/iSe+cNB1fpNJvJVLRFmJ6f7qyMMoSujIoql5SfIhx/tyUHueiOFQ5KXKTeNhbu6byakY1ZHa2o03+Mooca2ATwUnlNNi73sKluFKhnRysANIiVoRZLDQniLwV - template: - metadata: - creationTimestamp: null - name: ssr-secret - namespace: public-services - type: Opaque diff --git a/.gitea/workflows/deploy-website.yml b/.gitea/workflows/deploy-website.yml index 7b74e30..7b22434 100644 --- a/.gitea/workflows/deploy-website.yml +++ b/.gitea/workflows/deploy-website.yml @@ -56,7 +56,6 @@ jobs: action: deploy namespace: public-services manifests: | - .gitea/kubernetes/website/sealed-secret.yaml .gitea/kubernetes/website/deployment.yaml .gitea/kubernetes/website/service.yaml .gitea/kubernetes/website/ingress.yaml