2022-11-22 21:04:11 +00:00
|
|
|
replicaCount: 1
|
2022-11-21 19:05:03 +00:00
|
|
|
|
|
|
|
image:
|
|
|
|
registry: docker.io
|
|
|
|
repository: woodpeckerci/woodpecker-agent
|
|
|
|
pullPolicy: Always
|
|
|
|
# Overrides the image tag whose default is the chart appVersion.
|
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"
|
|
|
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 10G
|
|
|
|
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:
|
2022-11-24 15:19:11 +00:00
|
|
|
cpu: 2000m
|
|
|
|
memory: 1024Mi
|
2022-11-21 19:05:03 +00:00
|
|
|
requests:
|
|
|
|
cpu: 100m
|
|
|
|
memory: 128Mi
|