fix
This commit is contained in:
@@ -93,6 +93,22 @@ data "kustomization_overlay" "data" {
|
|||||||
app.kubernetes.io/component: server
|
app.kubernetes.io/component: server
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
patches {
|
||||||
|
target {
|
||||||
|
kind = "RoleBinding"
|
||||||
|
name = "woodpecker-agent"
|
||||||
|
}
|
||||||
|
patch = <<-EOF
|
||||||
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
kind: RoleBinding
|
||||||
|
metadata:
|
||||||
|
name: woodpecker-agent
|
||||||
|
subjects:
|
||||||
|
- kind: ServiceAccount
|
||||||
|
name: woodpecker-agent
|
||||||
|
namespace: ${var.namespace}
|
||||||
|
EOF
|
||||||
|
}
|
||||||
patches {
|
patches {
|
||||||
target {
|
target {
|
||||||
kind = "StatefulSet"
|
kind = "StatefulSet"
|
||||||
|
|||||||
@@ -6,6 +6,31 @@ metadata:
|
|||||||
name: woodpecker
|
name: woodpecker
|
||||||
description: null
|
description: null
|
||||||
options:
|
options:
|
||||||
|
storage-agent:
|
||||||
|
default:
|
||||||
|
size: 10Gi
|
||||||
|
storageClass: ''
|
||||||
|
writeMany: 'false'
|
||||||
|
examples:
|
||||||
|
- size: 10Gi
|
||||||
|
storageClass: ''
|
||||||
|
writeMany: 'false'
|
||||||
|
properties:
|
||||||
|
size:
|
||||||
|
default: 10Gi
|
||||||
|
type: string
|
||||||
|
storageClass:
|
||||||
|
default: ''
|
||||||
|
type: string
|
||||||
|
writeMany:
|
||||||
|
default: 'false'
|
||||||
|
type: string
|
||||||
|
type: object
|
||||||
|
domain:
|
||||||
|
default: your-company
|
||||||
|
examples:
|
||||||
|
- your-company
|
||||||
|
type: string
|
||||||
images:
|
images:
|
||||||
default:
|
default:
|
||||||
agent:
|
agent:
|
||||||
@@ -15,7 +40,7 @@ options:
|
|||||||
tag: v1.0.0-alpine
|
tag: v1.0.0-alpine
|
||||||
git:
|
git:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: wowoodpeckerci/plugin-git
|
repository: woodpeckerci/plugin-git
|
||||||
tag: 2.1.0
|
tag: 2.1.0
|
||||||
server:
|
server:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -30,7 +55,7 @@ options:
|
|||||||
tag: v1.0.0-alpine
|
tag: v1.0.0-alpine
|
||||||
git:
|
git:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: wowoodpeckerci/plugin-git
|
repository: woodpeckerci/plugin-git
|
||||||
tag: 2.1.0
|
tag: 2.1.0
|
||||||
server:
|
server:
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
@@ -65,14 +90,14 @@ options:
|
|||||||
git:
|
git:
|
||||||
default:
|
default:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: wowoodpeckerci/plugin-git
|
repository: woodpeckerci/plugin-git
|
||||||
tag: 2.1.0
|
tag: 2.1.0
|
||||||
properties:
|
properties:
|
||||||
registry:
|
registry:
|
||||||
default: docker.io
|
default: docker.io
|
||||||
type: string
|
type: string
|
||||||
repository:
|
repository:
|
||||||
default: wowoodpeckerci/plugin-git
|
default: woodpeckerci/plugin-git
|
||||||
type: string
|
type: string
|
||||||
tag:
|
tag:
|
||||||
default: 2.1.0
|
default: 2.1.0
|
||||||
@@ -103,6 +128,16 @@ options:
|
|||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
type: object
|
type: object
|
||||||
|
issuer:
|
||||||
|
default: letsencrypt-prod
|
||||||
|
examples:
|
||||||
|
- letsencrypt-prod
|
||||||
|
type: string
|
||||||
|
sub-domain:
|
||||||
|
default: ci
|
||||||
|
examples:
|
||||||
|
- ci
|
||||||
|
type: string
|
||||||
domain-name:
|
domain-name:
|
||||||
default: your_company.com
|
default: your_company.com
|
||||||
examples:
|
examples:
|
||||||
@@ -113,36 +148,6 @@ options:
|
|||||||
examples:
|
examples:
|
||||||
- traefik
|
- traefik
|
||||||
type: string
|
type: string
|
||||||
sub-domain:
|
|
||||||
default: ci
|
|
||||||
examples:
|
|
||||||
- ci
|
|
||||||
type: string
|
|
||||||
storage-agent:
|
|
||||||
default:
|
|
||||||
size: 10Gi
|
|
||||||
storageClass: ''
|
|
||||||
writeMany: 'false'
|
|
||||||
examples:
|
|
||||||
- size: 10Gi
|
|
||||||
storageClass: ''
|
|
||||||
writeMany: 'false'
|
|
||||||
properties:
|
|
||||||
size:
|
|
||||||
default: 10Gi
|
|
||||||
type: string
|
|
||||||
storageClass:
|
|
||||||
default: ''
|
|
||||||
type: string
|
|
||||||
writeMany:
|
|
||||||
default: 'false'
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
domain:
|
|
||||||
default: your-company
|
|
||||||
examples:
|
|
||||||
- your-company
|
|
||||||
type: string
|
|
||||||
storage-server:
|
storage-server:
|
||||||
default:
|
default:
|
||||||
accessMode: ReadWriteOnce
|
accessMode: ReadWriteOnce
|
||||||
@@ -162,11 +167,6 @@ options:
|
|||||||
default: 10Gi
|
default: 10Gi
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
issuer:
|
|
||||||
default: letsencrypt-prod
|
|
||||||
examples:
|
|
||||||
- letsencrypt-prod
|
|
||||||
type: string
|
|
||||||
dependencies: []
|
dependencies: []
|
||||||
providers:
|
providers:
|
||||||
kubernetes: true
|
kubernetes: true
|
||||||
|
|||||||
Reference in New Issue
Block a user