2023-07-31 08:58:20 +00:00
|
|
|
replicaCount: 2
|
2022-11-21 19:05:03 +00:00
|
|
|
|
|
|
|
image:
|
|
|
|
registry: docker.io
|
|
|
|
repository: woodpeckerci/woodpecker-agent
|
|
|
|
pullPolicy: Always
|
2022-11-22 21:04:11 +00:00
|
|
|
tag: "next"
|
2022-11-21 19:05:03 +00:00
|
|
|
|
|
|
|
env:
|
2022-11-22 21:04:11 +00:00
|
|
|
WOODPECKER_SERVER: "woodpecker-server.woodpecker.svc.cluster.local:9000"
|
|
|
|
WOODPECKER_BACKEND: kubernetes
|
|
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: woodpecker-agent
|
|
|
|
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: "ssd"
|
2023-03-02 18:50:17 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 1G
|
2022-11-22 21:04:11 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_STORAGE_RWX: false
|
|
|
|
|
|
|
|
dind:
|
|
|
|
enabled: false
|
2022-11-21 19:05:03 +00:00
|
|
|
|
|
|
|
extraSecretNamesForEnvFrom:
|
|
|
|
- woodpecker-secret
|
|
|
|
|
2022-11-22 21:04:11 +00:00
|
|
|
serviceAccount:
|
|
|
|
create: true
|
|
|
|
rbac:
|
|
|
|
create: true
|
2022-11-21 19:05:03 +00:00
|
|
|
|
|
|
|
podSecurityContext:
|
|
|
|
fsGroup: 2000
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
capabilities:
|
|
|
|
drop:
|
|
|
|
- ALL
|
|
|
|
readOnlyRootFilesystem: true
|
|
|
|
runAsNonRoot: true
|
|
|
|
runAsUser: 1000
|
|
|
|
|
|
|
|
resources:
|
|
|
|
limits:
|
2023-03-02 18:50:17 +00:00
|
|
|
cpu: 4000m
|
2022-11-24 15:19:11 +00:00
|
|
|
memory: 1024Mi
|
2022-11-21 19:05:03 +00:00
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 128Mi
|