diff --git a/apps/woodpecker/datas.tf b/apps/woodpecker/datas.tf index 4be0152..09a43bd 100644 --- a/apps/woodpecker/datas.tf +++ b/apps/woodpecker/datas.tf @@ -128,7 +128,7 @@ data "kustomization_overlay" "data" { envFrom: - secretRef: name: "${var.component}-${var.instance}-gitea" - - configMapKeyRef: + - configMapRef: name: "${var.instance}-${var.component}-server" volumeClaimTemplates: - metadata: diff --git a/apps/woodpecker/index.yaml b/apps/woodpecker/index.yaml index 95a297c..c26bc56 100644 --- a/apps/woodpecker/index.yaml +++ b/apps/woodpecker/index.yaml @@ -6,16 +6,6 @@ metadata: name: woodpecker description: null options: - ingress-class: - default: traefik - examples: - - traefik - type: string - sub-domain: - default: ci - examples: - - ci - type: string images: default: agent: @@ -113,30 +103,6 @@ options: type: string type: object type: object - domain: - default: your-company - examples: - - your-company - type: string - storage-server: - default: - accessMode: ReadWriteOnce - size: 10Gi - examples: - - accessMode: ReadWriteOnce - size: 10Gi - properties: - accessMode: - default: ReadWriteOnce - enum: - - ReadWriteOnce - - ReadOnlyMany - - ReadWriteMany - type: string - size: - default: 10Gi - type: string - type: object issuer: default: letsencrypt-prod examples: @@ -162,6 +128,40 @@ options: default: 'false' type: string type: object + ingress-class: + default: traefik + examples: + - traefik + type: string + domain: + default: your-company + examples: + - your-company + type: string + storage-server: + default: + accessMode: ReadWriteOnce + size: 10Gi + examples: + - accessMode: ReadWriteOnce + size: 10Gi + properties: + accessMode: + default: ReadWriteOnce + enum: + - ReadWriteOnce + - ReadOnlyMany + - ReadWriteMany + type: string + size: + default: 10Gi + type: string + type: object + sub-domain: + default: ci + examples: + - ci + type: string domain-name: default: your_company.com examples: