Remove limits from the pipeline

This commit is contained in:
Nikolai Rodionov 2024-02-21 00:47:06 +01:00
parent 554e109f8d
commit afdab9ebb6
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD

View File

@ -1,20 +1,8 @@
when: when:
event: push event: push
.k8s-limits: &k8s-limits
backend_options:
kubernetes:
resources:
requests:
memory: 1024Mi
cpu: 1000m
limits:
memory: 1512Mi
cpu: 1500m
steps: steps:
diff: diff:
<<: *k8s-limits
image: ghcr.io/helmfile/helmfile:canary image: ghcr.io/helmfile/helmfile:canary
secrets: [sops_age_key, kubeconfig_content] secrets: [sops_age_key, kubeconfig_content]
when: when:
@ -27,7 +15,6 @@ steps:
- helmfile diff --suppress-secrets - helmfile diff --suppress-secrets
apply: apply:
<<: *k8s-limits
image: ghcr.io/helmfile/helmfile:canary image: ghcr.io/helmfile/helmfile:canary
secrets: [sops_age_key, kubeconfig_content] secrets: [sops_age_key, kubeconfig_content]
when: when: