mirror of
https://github.com/nold360/hive-apps
synced 2024-11-16 02:29:34 +00:00
45 lines
814 B
YAML
45 lines
814 B
YAML
replicaCount: 2
|
|
|
|
image:
|
|
registry: docker.io
|
|
repository: woodpeckerci/woodpecker-agent
|
|
pullPolicy: Always
|
|
tag: "next"
|
|
|
|
env:
|
|
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: 1G
|
|
WOODPECKER_BACKEND_K8S_STORAGE_RWX: false
|
|
|
|
dind:
|
|
enabled: false
|
|
|
|
extraSecretNamesForEnvFrom:
|
|
- woodpecker-secret
|
|
|
|
serviceAccount:
|
|
create: true
|
|
rbac:
|
|
create: true
|
|
|
|
podSecurityContext:
|
|
fsGroup: 2000
|
|
|
|
securityContext:
|
|
capabilities:
|
|
drop:
|
|
- ALL
|
|
readOnlyRootFilesystem: true
|
|
runAsNonRoot: true
|
|
runAsUser: 1000
|
|
|
|
resources:
|
|
limits:
|
|
cpu: 4000m
|
|
memory: 1024Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|