62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
kind: HelmRelease
|
|
metadata:
|
|
name: woodpecker
|
|
namespace: dev
|
|
spec:
|
|
interval: 5m
|
|
chart:
|
|
spec:
|
|
chart: woodpecker
|
|
version: "0.3.2"
|
|
sourceRef:
|
|
kind: HelmRepository
|
|
name: woodpecker-charts
|
|
namespace: flux-system
|
|
|
|
values:
|
|
agent:
|
|
enabled: true
|
|
replicaCount: 4
|
|
|
|
extraSecretNamesForEnvFrom:
|
|
- woodpecker-secret
|
|
|
|
env:
|
|
WOODPECKER_BACKEND: kubernetes
|
|
WOODPECKER_SERVER: woodpecker-server.dev.svc.cluster.local:9000
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
|
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: longhorn
|
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 5G
|
|
WOODPECKER_BACKEND_K8S_STORAGE_RWX: true
|
|
WOODPECKER_BACKEND_K8S_POD_LABELS: ""
|
|
WOODPECKER_BACKEND_K8S_POD_ANNOTATIONS: ""
|
|
WOODPECKER_CONNECT_RETRY_COUNT: "1"
|
|
|
|
server:
|
|
enabled: true
|
|
|
|
env:
|
|
WOODPECKER_HOST: https://ci.${SECRET_NEW_DOMAIN}
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
|
|
|
extraSecretNamesForEnvFrom:
|
|
- woodpecker-secret
|
|
|
|
ingress:
|
|
enabled: true
|
|
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
hosts:
|
|
- host: &host ci.${SECRET_NEW_DOMAIN}
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
|
|
tls:
|
|
- hosts:
|
|
- *host
|
|
secretName: wildcard-main-tls |