57 lines
1.8 KiB
YAML
57 lines
1.8 KiB
YAML
# ------------------------------------------
|
|
# -- 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:
|
|
persistentVolume:
|
|
enabled: true
|
|
size: 1Gi
|
|
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
|
|
WOODPECKER_GITEA_URL: https://gitea.badhouseplants.net
|
|
WOODPECKER_DATABASE_DRIVER: postgres
|
|
WOODPECKER_GITEA_CLIENT: 4ea3d706-691e-4cec-a748-5108715cf72d
|
|
WOODPECKER_OPEN: true
|
|
WOODPECKER_ADMIN: "woodpecker,allanger"
|
|
WOODPECKER_HOST: "https://ci.badhouseplants.net"
|
|
WOODPECKER_ESCALATE: true
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: pipelines
|
|
extraSecretNamesForEnvFrom:
|
|
- woodpecker-postgres16-creds
|
|
agent:
|
|
enabled: true
|
|
extraSecretNamesForEnvFrom: []
|
|
env:
|
|
WOODPECKER_SERVER: woodpecker-ci-server:9000
|
|
WOODPECKER_BACKEND_K8S_VOLUME_SIZE: 2Gi
|
|
WOODPECKER_BACKEND_K8S_NAMESPACE: pipelines
|
|
WOODPECKER_BACKEND_K8S_STORAGE_CLASS: ceph-filesystem
|
|
serviceAccount:
|
|
create: true
|
|
rbac:
|
|
create: true
|