Enable limits and store minecraft logs

This commit is contained in:
Nikolai Rodionov 2024-02-11 08:39:37 +01:00
parent fb6a016b66
commit f4c9224ae6
Signed by: allanger
GPG Key ID: 0AA46A90E25592AD
2 changed files with 16 additions and 1 deletions

View File

@ -1,11 +1,25 @@
when:
event: push
.k8s-limits: &k8s-limits
backend_options:
kubernetes:
resources:
requests:
memory: 200Mi
cpu: 100m
limits:
memory: 400Mi
cpu: 200m
matrix:
ENVIRONMENT:
- badhouseplants
- etersoft
steps:
diff:
<<: *k8s-limits
image: ghcr.io/helmfile/helmfile:canary
secrets: [sops_age_key, kubeconfig_content]
when:
@ -17,6 +31,7 @@ steps:
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
- helmfile -e $ENVIRONMENT diff --suppress-secrets
apply:
<<: *k8s-limits
image: ghcr.io/helmfile/helmfile:canary
secrets: [sops_age_key, kubeconfig_content]
when:

View File

@ -7,5 +7,5 @@ config:
pipelineStages:
- match:
pipeline_name: "drop-all"
selector: '{namespace!~"mail-service|woodpecker"}'
selector: '{namespace!~"mail-service|woodpecker|minecraft-application"}'
action: drop