2024-07-13 20:21:59 +00:00
|
|
|
# ------------------------------------------
|
|
|
|
# -- Istio extenstion. Just because I'm
|
|
|
|
# -- not using ingress nginx
|
|
|
|
# ------------------------------------------
|
|
|
|
ext-database:
|
|
|
|
enabled: true
|
|
|
|
name: woodpecker-postgres16
|
|
|
|
instance: postgres16
|
|
|
|
credentials:
|
|
|
|
WOODPECKER_DATABASE_DATASOURCE: "postgres://{{ .Username }}:{{ .Password }}@{{ .Hostname }}:{{ .Port }}/{{ .Database }}?sslmode=disable"
|
|
|
|
server:
|
2024-07-24 07:29:44 +00:00
|
|
|
persistentVolume:
|
|
|
|
enabled: true
|
|
|
|
size: 1Gi
|
2024-07-13 20:21:59 +00:00
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
kubernetes.io/ingress.class: traefik
|
|
|
|
kubernetes.io/tls-acme: "true"
|
|
|
|
kubernetes.io/ingress.allow-http: "false"
|
|
|
|
kubernetes.io/ingress.global-static-ip-name: ""
|
|
|
|
cert-manager.io/cluster-issuer: badhouseplants-issuer-http01
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: web,websecure
|
|
|
|
hosts:
|
|
|
|
- host: ci.badhouseplants.net
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
tls:
|
|
|
|
- secretName: woodpecker-tls-secret
|
|
|
|
hosts:
|
|
|
|
- ci.badhouseplants.net
|
|
|
|
enabled: true
|
|
|
|
env:
|
|
|
|
WOODPECKER_GITEA: true
|
2024-08-03 19:17:21 +00:00
|
|
|
WOODPECKER_GITEA_URL: https://gitea.badhouseplants.net
|
2024-07-13 20:21:59 +00:00
|
|
|
WOODPECKER_DATABASE_DRIVER: postgres
|
|
|
|
WOODPECKER_GITEA_CLIENT: ab5e4687-a476-4668-9fbc-288d54095634
|
|
|
|
WOODPECKER_OPEN: true
|
|
|
|
WOODPECKER_ADMIN: "woodpecker,allanger"
|
|
|
|
WOODPECKER_HOST: "https://ci.badhouseplants.net"
|
|
|
|
WOODPECKER_ESCALATE: true
|
2024-07-13 21:42:53 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: pipelines
|
2024-07-13 20:21:59 +00:00
|
|
|
extraSecretNamesForEnvFrom:
|
|
|
|
- woodpecker-postgres16-creds
|
|
|
|
agent:
|
|
|
|
enabled: true
|
|
|
|
extraSecretNamesForEnvFrom: []
|
|
|
|
env:
|
|
|
|
WOODPECKER_SERVER: woodpecker-ci-server:9000
|
2024-07-24 07:29:44 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 2Gi
|
2024-07-13 21:42:53 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: pipelines
|
2024-07-24 07:29:44 +00:00
|
|
|
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: ceph-filesystem
|
2024-07-13 20:21:59 +00:00
|
|
|
serviceAccount:
|
|
|
|
create: true
|
|
|
|
rbac:
|
|
|
|
create: true
|