initial commit
This commit is contained in:
commit
d619deb55d
4 changed files with 51 additions and 0 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
**/secrets.yaml
|
0
README.md
Normal file
0
README.md
Normal file
27
app.yaml
Normal file
27
app.yaml
Normal 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
23
woodpecker/values.yaml
Normal 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
|
Reference in a new issue