diff --git a/packages/kontinuous/tests/__snapshots__/app-sidecar.dev.yaml b/packages/kontinuous/tests/__snapshots__/app-sidecar.dev.yaml index aad4b94b9..6d8b6084f 100644 --- a/packages/kontinuous/tests/__snapshots__/app-sidecar.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/app-sidecar.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 41m - memory: 131Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -208,10 +204,6 @@ spec: run-background-cronjob securityContext: runAsUser: 1000 - resources: - requests: - cpu: 41m - memory: 131Mi lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/app-simple-options.dev.yaml b/packages/kontinuous/tests/__snapshots__/app-simple-options.dev.yaml index 874660245..360884cbf 100644 --- a/packages/kontinuous/tests/__snapshots__/app-simple-options.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/app-simple-options.dev.yaml @@ -147,12 +147,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -201,12 +197,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -310,12 +302,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -351,12 +339,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -473,12 +457,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: harbor.fabrique.social.gouv.fr/test-app-simple-options/app:sha-ffac537e6cbbf934b08745a378932722df287a53 @@ -498,12 +478,8 @@ spec: set -e yarn seed resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -611,12 +587,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} - name: degit-action image: ghcr.io/socialgouv/kontinuous/degit:v1.176.5 command: @@ -631,12 +603,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:7.0.0 @@ -658,12 +626,8 @@ spec: set -e /action/seed-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 diff --git a/packages/kontinuous/tests/__snapshots__/app-simple.dev.yaml b/packages/kontinuous/tests/__snapshots__/app-simple.dev.yaml index 2e0e002f4..62dbe4a39 100644 --- a/packages/kontinuous/tests/__snapshots__/app-simple.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/app-simple.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/app-simple.prod.yaml b/packages/kontinuous/tests/__snapshots__/app-simple.prod.yaml index 0da8c2d57..079ccf71c 100644 --- a/packages/kontinuous/tests/__snapshots__/app-simple.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/app-simple.prod.yaml @@ -176,12 +176,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/chart-group.dev.yaml b/packages/kontinuous/tests/__snapshots__/chart-group.dev.yaml index d305d4288..f8343eaa0 100644 --- a/packages/kontinuous/tests/__snapshots__/chart-group.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/chart-group.dev.yaml @@ -100,12 +100,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -225,12 +221,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/chart-groups.dev.yaml b/packages/kontinuous/tests/__snapshots__/chart-groups.dev.yaml index 56f8478ca..2d1416102 100644 --- a/packages/kontinuous/tests/__snapshots__/chart-groups.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/chart-groups.dev.yaml @@ -100,12 +100,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -225,12 +221,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/chart-not-in-values.dev.yaml b/packages/kontinuous/tests/__snapshots__/chart-not-in-values.dev.yaml index ed3721c60..28153fe63 100644 --- a/packages/kontinuous/tests/__snapshots__/chart-not-in-values.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/chart-not-in-values.dev.yaml @@ -99,12 +99,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/charts.dev.yaml b/packages/kontinuous/tests/__snapshots__/charts.dev.yaml index 03962dce6..b7790c404 100644 --- a/packages/kontinuous/tests/__snapshots__/charts.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/charts.dev.yaml @@ -157,10 +157,6 @@ spec: set -e echo Hello World FOO=\\"barjo\\"\\" - resources: - requests: - cpu: 81m - memory: 262Mi affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: diff --git a/packages/kontinuous/tests/__snapshots__/daemon.dev.yaml b/packages/kontinuous/tests/__snapshots__/daemon.dev.yaml index b125ba031..44031176b 100644 --- a/packages/kontinuous/tests/__snapshots__/daemon.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/daemon.dev.yaml @@ -152,12 +152,8 @@ spec: - image: harbor.fabrique.social.gouv.fr/test-daemon/daemon:sha-ffac537e6cbbf934b08745a378932722df287a53 name: app resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml b/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml index ace8f4fb3..4c5c30e16 100644 --- a/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/deactivate.dev.yaml @@ -68,12 +68,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -96,12 +92,8 @@ spec: kubectl delete namespace \\"$NAMESPACE\\" --now=true --wait=false fi resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 diff --git a/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml b/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml index c9d97ffcb..583836cae 100644 --- a/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/extends-ovh.dev.yaml @@ -147,12 +147,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -191,12 +187,8 @@ spec: set -e /action/create-secrets.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -310,12 +302,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -354,12 +342,8 @@ spec: set -e /action/create-secrets.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -503,12 +487,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml b/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml index 16da9eb0b..8b52e9a2e 100644 --- a/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/extends-ovh.prod.yaml @@ -308,12 +308,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -352,12 +348,8 @@ spec: set -e /action/create-secrets.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -471,12 +463,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -515,12 +503,8 @@ spec: set -e /action/create-secrets.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -664,12 +648,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/hasura-no-ing.prod.yaml b/packages/kontinuous/tests/__snapshots__/hasura-no-ing.prod.yaml index 5e497e140..b808074a0 100644 --- a/packages/kontinuous/tests/__snapshots__/hasura-no-ing.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/hasura-no-ing.prod.yaml @@ -151,12 +151,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: diff --git a/packages/kontinuous/tests/__snapshots__/if-env.dev.yaml b/packages/kontinuous/tests/__snapshots__/if-env.dev.yaml index 6bc8d3eb4..e3debe2c0 100644 --- a/packages/kontinuous/tests/__snapshots__/if-env.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/if-env.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/if-env.local.yaml b/packages/kontinuous/tests/__snapshots__/if-env.local.yaml index ab7ea854b..5319c4c8e 100644 --- a/packages/kontinuous/tests/__snapshots__/if-env.local.yaml +++ b/packages/kontinuous/tests/__snapshots__/if-env.local.yaml @@ -174,12 +174,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml b/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml index 2b8464729..d9b71b45c 100644 --- a/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/include-file.dev.yaml @@ -148,12 +148,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: debian:stable @@ -171,12 +167,8 @@ spec: set -e Hello World ! resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 diff --git a/packages/kontinuous/tests/__snapshots__/inline-values.dev.yaml b/packages/kontinuous/tests/__snapshots__/inline-values.dev.yaml index 4be2c805d..d7b91911e 100644 --- a/packages/kontinuous/tests/__snapshots__/inline-values.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/inline-values.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml b/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml index 9ae5f9d0e..3b2d74f93 100644 --- a/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/job-builds.dev.yaml @@ -149,12 +149,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 8192Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -432,12 +428,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless diff --git a/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml b/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml index e18a6ba3c..5d8a4807e 100644 --- a/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/job-no-affinity.dev.yaml @@ -149,12 +149,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless diff --git a/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml index 6955f1cb4..bbf12f3be 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-build-options.dev.yaml @@ -150,12 +150,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -462,12 +458,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user diff --git a/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml index 88e6526d7..83891f980 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-build-stage.dev.yaml @@ -147,12 +147,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -201,12 +197,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -310,12 +302,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -351,12 +339,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -474,12 +458,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -757,12 +737,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1067,12 +1043,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -1174,12 +1146,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: diff --git a/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml index 6b7c5698c..10c4b640a 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-build.dev.yaml @@ -147,12 +147,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -201,12 +197,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -310,12 +302,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -351,12 +339,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -473,12 +457,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -755,12 +735,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1065,12 +1041,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -1172,12 +1144,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: diff --git a/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml index ead98a8e5..b92a72ccd 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-runs-map.dev.yaml @@ -146,12 +146,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -200,12 +196,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -309,12 +301,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -350,12 +338,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 diff --git a/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml index b809a189a..893b84c58 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-uses-relative.dev.yaml @@ -146,12 +146,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -200,12 +196,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -309,12 +301,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -350,12 +338,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 diff --git a/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml b/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml index 2770790fb..012e519b0 100644 --- a/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/jobs-uses-self-ref.dev.yaml @@ -146,12 +146,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -200,12 +196,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -309,12 +301,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -350,12 +338,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 diff --git a/packages/kontinuous/tests/__snapshots__/long-branch-host-patch.dev.yaml b/packages/kontinuous/tests/__snapshots__/long-branch-host-patch.dev.yaml index 1891fbc9c..e93f09afb 100644 --- a/packages/kontinuous/tests/__snapshots__/long-branch-host-patch.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/long-branch-host-patch.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/long-branch-host.dev.yaml b/packages/kontinuous/tests/__snapshots__/long-branch-host.dev.yaml index f5a36b679..75878b3d8 100644 --- a/packages/kontinuous/tests/__snapshots__/long-branch-host.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/long-branch-host.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/maildev.dev.yaml b/packages/kontinuous/tests/__snapshots__/maildev.dev.yaml index 8e08e71f1..236c8b1ce 100644 --- a/packages/kontinuous/tests/__snapshots__/maildev.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/maildev.dev.yaml @@ -162,10 +162,7 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 1000 - resources: - requests: - cpu: 81m - memory: 262Mi + resources: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/maildev.prod.yaml b/packages/kontinuous/tests/__snapshots__/maildev.prod.yaml index 5416cde63..a77bf1aa4 100644 --- a/packages/kontinuous/tests/__snapshots__/maildev.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/maildev.prod.yaml @@ -161,10 +161,7 @@ spec: securityContext: runAsUser: 1000 runAsGroup: 1000 - resources: - requests: - cpu: 81m - memory: 262Mi + resources: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/meta-log.dev.yaml b/packages/kontinuous/tests/__snapshots__/meta-log.dev.yaml index b2fbb8eeb..66a896e83 100644 --- a/packages/kontinuous/tests/__snapshots__/meta-log.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/meta-log.dev.yaml @@ -149,12 +149,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: debian:stable @@ -166,12 +162,8 @@ spec: - name: KONTINUOUS_INPUT value: /kontinuous-input resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -278,12 +270,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: debian:stable @@ -295,12 +283,8 @@ spec: - name: KONTINUOUS_INPUT value: /kontinuous-input resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -435,12 +419,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/needs-using-argocd-sync-waves.dev.yaml b/packages/kontinuous/tests/__snapshots__/needs-using-argocd-sync-waves.dev.yaml index c318595d1..b7f55d1cb 100644 --- a/packages/kontinuous/tests/__snapshots__/needs-using-argocd-sync-waves.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/needs-using-argocd-sync-waves.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -303,12 +299,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -429,12 +421,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -555,12 +543,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -681,12 +665,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -807,12 +787,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/output.dev.yaml b/packages/kontinuous/tests/__snapshots__/output.dev.yaml index 53249a8bd..cf0ac2354 100644 --- a/packages/kontinuous/tests/__snapshots__/output.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/output.dev.yaml @@ -173,12 +173,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: debian:stable @@ -196,12 +192,8 @@ spec: set -e echo earth>$KONTINUOUS_OUTPUT/WORLD resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -310,12 +302,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: debian:stable @@ -335,12 +323,8 @@ spec: echo \\"Hello $PLANET !\\" sleep 10 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 diff --git a/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml b/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml index a935e88fc..f0c114db0 100644 --- a/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/override-env-default.dev.yaml @@ -227,12 +227,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -271,12 +267,8 @@ spec: set -e /action/create-secrets.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 diff --git a/packages/kontinuous/tests/__snapshots__/persist.dev.yaml b/packages/kontinuous/tests/__snapshots__/persist.dev.yaml index af023b5be..6daa88daf 100644 --- a/packages/kontinuous/tests/__snapshots__/persist.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/persist.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/pg.prod.yaml b/packages/kontinuous/tests/__snapshots__/pg.prod.yaml index 76e2faaae..c3db237ff 100644 --- a/packages/kontinuous/tests/__snapshots__/pg.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/pg.prod.yaml @@ -227,12 +227,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -271,12 +267,8 @@ spec: set -e /action/create-secrets.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -396,12 +388,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: diff --git a/packages/kontinuous/tests/__snapshots__/pgweb.dev.yaml b/packages/kontinuous/tests/__snapshots__/pgweb.dev.yaml index 893f17426..b2adb9138 100644 --- a/packages/kontinuous/tests/__snapshots__/pgweb.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/pgweb.dev.yaml @@ -182,10 +182,7 @@ spec: - /var/run/readiness-check/readiness-file initialDelaySeconds: 5 periodSeconds: 5 - resources: - requests: - cpu: 81m - memory: 262Mi + resources: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/post-renderer.dev.yaml b/packages/kontinuous/tests/__snapshots__/post-renderer.dev.yaml index 7ec19d521..1a3155988 100644 --- a/packages/kontinuous/tests/__snapshots__/post-renderer.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/post-renderer.dev.yaml @@ -178,12 +178,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/private-mode.dev.yaml b/packages/kontinuous/tests/__snapshots__/private-mode.dev.yaml index e5a0a39a7..d575b9fc3 100644 --- a/packages/kontinuous/tests/__snapshots__/private-mode.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/private-mode.dev.yaml @@ -177,12 +177,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/project-chart-implicit-enabled.dev.yaml b/packages/kontinuous/tests/__snapshots__/project-chart-implicit-enabled.dev.yaml index 2ae30696c..d3ce45dbc 100644 --- a/packages/kontinuous/tests/__snapshots__/project-chart-implicit-enabled.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/project-chart-implicit-enabled.dev.yaml @@ -132,10 +132,6 @@ spec: image: nginx:1.14.2 ports: - containerPort: 80 - resources: - requests: - cpu: 81m - memory: 262Mi lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/repo.domifa.dev.yaml b/packages/kontinuous/tests/__snapshots__/repo.domifa.dev.yaml index 2bd417d16..8034791ca 100644 --- a/packages/kontinuous/tests/__snapshots__/repo.domifa.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/repo.domifa.dev.yaml @@ -186,12 +186,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -473,12 +469,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -761,12 +753,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1045,12 +1033,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1327,12 +1311,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:6.70.0 @@ -1381,12 +1361,8 @@ spec: set -e /action/ensure-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -1491,12 +1467,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: bitnami/kubectl:latest @@ -1532,12 +1504,8 @@ spec: set -e /action/create-secret.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1001 runAsGroup: 1001 @@ -1650,12 +1618,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:7.0.0 @@ -1679,12 +1643,8 @@ spec: set -e /action/drop-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -1792,12 +1752,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} - name: degit-action image: ghcr.io/socialgouv/kontinuous/degit:v1.176.5 command: @@ -1812,12 +1768,8 @@ spec: - name: action mountPath: /action resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: ghcr.io/socialgouv/docker/psql:7.0.0 @@ -1839,12 +1791,8 @@ spec: set -e /action/seed-db.sh resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -2417,12 +2365,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -2542,12 +2486,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/repo.domifa.preprod.yaml b/packages/kontinuous/tests/__snapshots__/repo.domifa.preprod.yaml index 2cd06ba77..5b5213bdb 100644 --- a/packages/kontinuous/tests/__snapshots__/repo.domifa.preprod.yaml +++ b/packages/kontinuous/tests/__snapshots__/repo.domifa.preprod.yaml @@ -185,12 +185,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -468,12 +464,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -756,12 +748,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1040,12 +1028,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1793,12 +1777,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -1918,12 +1898,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/repo.domifa.prod.yaml b/packages/kontinuous/tests/__snapshots__/repo.domifa.prod.yaml index 707f839cd..97e8f2776 100644 --- a/packages/kontinuous/tests/__snapshots__/repo.domifa.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/repo.domifa.prod.yaml @@ -240,12 +240,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -526,12 +522,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -814,12 +806,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1099,12 +1087,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -1862,12 +1846,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: @@ -1987,12 +1967,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/sample-1.dev.yaml b/packages/kontinuous/tests/__snapshots__/sample-1.dev.yaml index 0a590e4c5..9da8dc2d2 100644 --- a/packages/kontinuous/tests/__snapshots__/sample-1.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/sample-1.dev.yaml @@ -256,12 +256,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -396,12 +392,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -504,12 +496,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: @@ -625,10 +613,7 @@ spec: - /var/run/readiness-check/readiness-file initialDelaySeconds: 5 periodSeconds: 5 - resources: - requests: - cpu: 81m - memory: 262Mi + resources: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/sample-1.preprod.yaml b/packages/kontinuous/tests/__snapshots__/sample-1.preprod.yaml index 57e50309d..ea5881e0c 100644 --- a/packages/kontinuous/tests/__snapshots__/sample-1.preprod.yaml +++ b/packages/kontinuous/tests/__snapshots__/sample-1.preprod.yaml @@ -255,12 +255,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -386,12 +382,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -492,12 +484,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: @@ -612,10 +600,7 @@ spec: - /var/run/readiness-check/readiness-file initialDelaySeconds: 5 periodSeconds: 5 - resources: - requests: - cpu: 81m - memory: 262Mi + resources: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/sample-1.prod.yaml b/packages/kontinuous/tests/__snapshots__/sample-1.prod.yaml index 5a9eadf79..a54c18cd0 100644 --- a/packages/kontinuous/tests/__snapshots__/sample-1.prod.yaml +++ b/packages/kontinuous/tests/__snapshots__/sample-1.prod.yaml @@ -251,12 +251,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -382,12 +378,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} envFrom: - secretRef: name: pg-user @@ -488,12 +480,8 @@ spec: initialDelaySeconds: 5 periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} startupProbe: failureThreshold: 30 httpGet: @@ -608,10 +596,7 @@ spec: - /var/run/readiness-check/readiness-file initialDelaySeconds: 5 periodSeconds: 5 - resources: - requests: - cpu: 81m - memory: 262Mi + resources: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops-override.dev.yaml b/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops-override.dev.yaml index 793479628..c372bab1b 100644 --- a/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops-override.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops-override.dev.yaml @@ -150,12 +150,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -461,12 +457,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops.dev.yaml b/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops.dev.yaml index bc2988b68..89af04cf5 100644 --- a/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/socialgouv-autodevops.dev.yaml @@ -150,12 +150,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 2000m - memory: 4096Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: moby/buildkit:v0.13.0-rootless @@ -460,12 +456,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/standalone-charts.dev.yaml b/packages/kontinuous/tests/__snapshots__/standalone-charts.dev.yaml index add18df18..a89c4e4ea 100644 --- a/packages/kontinuous/tests/__snapshots__/standalone-charts.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/standalone-charts.dev.yaml @@ -59,10 +59,6 @@ spec: - | set -e echo Hello World - resources: - requests: - cpu: 81m - memory: 262Mi affinity: nodeAffinity: preferredDuringSchedulingIgnoredDuringExecution: diff --git a/packages/kontinuous/tests/__snapshots__/values-extends.dev.yaml b/packages/kontinuous/tests/__snapshots__/values-extends.dev.yaml index ae6e872be..c5ed9a05f 100644 --- a/packages/kontinuous/tests/__snapshots__/values-extends.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/values-extends.dev.yaml @@ -149,12 +149,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: harbor.fabrique.social.gouv.fr/test-values-extends/app:sha-ffac537e6cbbf934b08745a378932722df287a53 @@ -171,12 +167,8 @@ spec: set -e yarn seed resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -312,12 +304,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/values-extends.preprod.yaml b/packages/kontinuous/tests/__snapshots__/values-extends.preprod.yaml index 305d866be..a5f84ef87 100644 --- a/packages/kontinuous/tests/__snapshots__/values-extends.preprod.yaml +++ b/packages/kontinuous/tests/__snapshots__/values-extends.preprod.yaml @@ -149,12 +149,8 @@ spec: - name: workspace mountPath: /workspace resources: - limits: - cpu: 1000m - memory: 1024Mi - requests: - cpu: \\"0\\" - memory: \\"0\\" + limits: {} + requests: {} containers: - name: job image: harbor.fabrique.social.gouv.fr/test-values-extends/app:preprod-ffac537e6cbbf934b08745a378932722df287a53 @@ -171,12 +167,8 @@ spec: set -e yarn seed resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} securityContext: runAsUser: 1000 runAsGroup: 1000 @@ -312,12 +304,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: diff --git a/packages/kontinuous/tests/__snapshots__/values-js.dev.yaml b/packages/kontinuous/tests/__snapshots__/values-js.dev.yaml index d7ae739ec..fef88bfdd 100644 --- a/packages/kontinuous/tests/__snapshots__/values-js.dev.yaml +++ b/packages/kontinuous/tests/__snapshots__/values-js.dev.yaml @@ -176,12 +176,8 @@ spec: port: http periodSeconds: 5 resources: - limits: - cpu: 1 - memory: 1Gi - requests: - cpu: 81m - memory: 262Mi + limits: {} + requests: {} lifecycle: postStart: exec: