woodpecker: fixup assumptions

This commit is contained in:
2025-04-20 01:23:40 +03:00
parent 7eadbee7a2
commit 4e59984fe4
2 changed files with 10 additions and 17 deletions

View File

@@ -6,13 +6,11 @@ metadata:
namespace: argocd namespace: argocd
spec: spec:
project: k-space.ee project: k-space.ee
sources: source:
- repoURL: git@git.k-space.ee:k-space/kube.git # also depends on git@git.k-space.ee:secretspace/kube.git
targetRevision: HEAD repoURL: git@git.k-space.ee:k-space/kube.git
path: woodpecker targetRevision: HEAD
- repoURL: 'git@git.k-space.ee:secretspace/kube.git' path: woodpecker
targetRevision: HEAD
path: woodpecker
destination: destination:
server: 'https://kubernetes.default.svc' server: 'https://kubernetes.default.svc'
namespace: woodpecker namespace: woodpecker

View File

@@ -21,9 +21,10 @@ helmCharts:
server: server:
ingress: ingress:
enabled: true enabled: true
ingressClassName: treafik # ingressClassName: treafik # too new
annotations: annotations:
external-dns.alpha.kubernetes.io/target: traefik.k-space.ee external-dns.alpha.kubernetes.io/target: traefik.k-space.ee
kubernetes.io/ingress.class: traefik
traefik.ingress.kubernetes.io/router.entrypoints: websecure traefik.ingress.kubernetes.io/router.entrypoints: websecure
hosts: hosts:
- host: woodpecker.k-space.ee - host: woodpecker.k-space.ee
@@ -50,12 +51,6 @@ helmCharts:
# enabled: false # enabled: false
version: 3.0.7 version: 3.0.7
secretGenerator: # secrets (.env): woodpecker-gitea-oauth2, woodpecker-db
- name: woodpecker-gitea-oauth2 resources:
envs: - ssh://git@git.k-space.ee/secretspace/kube/woodpecker
- woodpecker-gitea.env
- name: woodpecker-db
literals:
- WOODPECKER_DATABASE_DRIVER=mysql
envs:
- woodpecker-db.env