Enable limits and store minecraft logs
This commit is contained in:
parent
fb6a016b66
commit
f4c9224ae6
@ -1,11 +1,25 @@
|
|||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
|
|
||||||
|
|
||||||
|
.k8s-limits: &k8s-limits
|
||||||
|
backend_options:
|
||||||
|
kubernetes:
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: 200Mi
|
||||||
|
cpu: 100m
|
||||||
|
limits:
|
||||||
|
memory: 400Mi
|
||||||
|
cpu: 200m
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
ENVIRONMENT:
|
ENVIRONMENT:
|
||||||
- badhouseplants
|
- badhouseplants
|
||||||
- etersoft
|
- etersoft
|
||||||
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:
|
||||||
@ -17,6 +31,7 @@ steps:
|
|||||||
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
- echo "$KUBECONFIG_CONTENT" > $HOME/.kube/config && chmod 0600 $HOME/.kube/config
|
||||||
- helmfile -e $ENVIRONMENT diff --suppress-secrets
|
- helmfile -e $ENVIRONMENT 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:
|
||||||
|
@ -7,5 +7,5 @@ config:
|
|||||||
pipelineStages:
|
pipelineStages:
|
||||||
- match:
|
- match:
|
||||||
pipeline_name: "drop-all"
|
pipeline_name: "drop-all"
|
||||||
selector: '{namespace!~"mail-service|woodpecker"}'
|
selector: '{namespace!~"mail-service|woodpecker|minecraft-application"}'
|
||||||
action: drop
|
action: drop
|
||||||
|
Reference in New Issue
Block a user