2024-01-23 01:17:39 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
2023-09-07 15:57:40 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: woodpecker
|
|
|
|
namespace: dev
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: woodpecker
|
2024-06-16 10:07:04 +00:00
|
|
|
version: "1.5.0"
|
2023-09-07 15:57:40 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: woodpecker-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
agent:
|
|
|
|
enabled: true
|
|
|
|
replicaCount: 4
|
|
|
|
|
|
|
|
extraSecretNamesForEnvFrom:
|
2024-05-23 00:59:38 +00:00
|
|
|
- woodpecker
|
|
|
|
|
|
|
|
# https://github.com/woodpecker-ci/helm/issues/154
|
|
|
|
secrets: {}
|
2023-09-07 15:57:40 +00:00
|
|
|
|
2023-09-07 16:20:07 +00:00
|
|
|
env:
|
2023-10-06 16:45:37 +00:00
|
|
|
WOODPECKER_BACKEND: kubernetes
|
|
|
|
WOODPECKER_SERVER: woodpecker-server.dev.svc.cluster.local:9000
|
2023-09-07 16:20:07 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
2024-02-10 17:35:15 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: openebs-hostpath
|
2023-10-06 16:45:37 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 5G
|
2024-02-10 17:35:15 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_STORAGE_RWX: false
|
2023-10-06 16:45:37 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_POD_LABELS: ""
|
|
|
|
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ""
|
|
|
|
WOODPECKER_CONNECT_RETRY_COUNT: "1"
|
2023-09-07 16:20:07 +00:00
|
|
|
|
2023-09-07 15:57:40 +00:00
|
|
|
server:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
env:
|
2023-09-07 16:14:43 +00:00
|
|
|
WOODPECKER_HOST: https://ci.${SECRET_NEW_DOMAIN}
|
2023-09-07 16:20:07 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
2023-09-07 15:57:40 +00:00
|
|
|
|
|
|
|
extraSecretNamesForEnvFrom:
|
2024-05-23 00:59:38 +00:00
|
|
|
- woodpecker
|
|
|
|
|
|
|
|
# https://github.com/woodpecker-ci/helm/issues/154
|
|
|
|
secrets: {}
|
2023-09-07 15:57:40 +00:00
|
|
|
|
2024-01-22 21:53:03 +00:00
|
|
|
persistentVolume:
|
|
|
|
enabled: true
|
|
|
|
size: 10Gi
|
|
|
|
mountPath: '/var/lib/woodpecker'
|
2024-05-23 01:37:32 +00:00
|
|
|
storageClass: openebs-hostpath
|
2024-01-22 21:53:03 +00:00
|
|
|
|
2024-01-22 21:59:46 +00:00
|
|
|
prometheus:
|
|
|
|
podmonitor:
|
|
|
|
enabled: true
|
|
|
|
interval: 15s
|
|
|
|
labels:
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
rules:
|
|
|
|
enabled: true
|
|
|
|
labels:
|
|
|
|
release: kube-prometheus-stack
|
|
|
|
|
2023-09-07 15:57:40 +00:00
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
|
|
|
|
hosts:
|
2023-09-07 16:11:42 +00:00
|
|
|
- host: &host ci.${SECRET_NEW_DOMAIN}
|
2023-09-07 15:57:40 +00:00
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
pathType: Prefix
|
|
|
|
|
|
|
|
tls:
|
|
|
|
- hosts:
|
2024-02-04 04:16:50 +00:00
|
|
|
- *host
|