initial commit

This commit is contained in:
Aaron Riedel 2024-07-25 13:04:25 +02:00
commit d619deb55d
Signed by: aaron
GPG key ID: 643004654D40D577
4 changed files with 51 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
**/secrets.yaml

0
README.md Normal file
View file

27
app.yaml Normal file
View file

@ -0,0 +1,27 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: woodpecker
namespace: argocd
spec:
project: default
sources:
- chart: woodpecker
repoURL: https://woodpecker-ci.org/
targetRevision: 1.5.1
helm:
releaseName: woodpecker
valueFiles:
- $values/woodpecker/values.yaml
- repoURL: https://git.ar21.de/aaron/woodpecker-deployment.git
targetRevision: HEAD
ref: values
destination:
server: https://kubernetes.default.svc
namespace: woodpecker
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true

23
woodpecker/values.yaml Normal file
View file

@ -0,0 +1,23 @@
server:
ingress:
# -- Enable the ingress for the server component
enabled: true
# -- Add annotations to the ingress
annotations:
# kubernetes.io/ingress.class: nginx
kubernetes.io/tls-acme: "true"
hosts:
- host: woodpecker.ar21.de
paths:
- path: /
backend:
serviceName: woodpecker-svc
servicePort: *servicePort
statefulSet:
replicaCount: 2
env:
WOODPECKER_ADMIN: 'aaron'
WOODPECKER_HOST: 'https://woodpecker.ar21.de'
WOODPECKER_OPEN: true
WOODPECKER_FORGEJO: true
WOODPECKER_FORGEJO_URL: https://git.ar21.de