2023-09-07 15:57:40 +00:00
|
|
|
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
|
|
|
|
|
2023-09-07 16:20:07 +00:00
|
|
|
env:
|
|
|
|
WOODPECKER_SERVER: "woodpecker-server.dev.svc.cluster.local:9000"
|
|
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: dev
|
|
|
|
|
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:
|
|
|
|
- woodpecker-secret
|
|
|
|
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
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:
|
|
|
|
- *host
|
|
|
|
secretName: wildcard-main-tls
|