fix
This commit is contained in:
@@ -93,6 +93,22 @@ data "kustomization_overlay" "data" {
|
||||
app.kubernetes.io/component: server
|
||||
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 {
|
||||
target {
|
||||
kind = "StatefulSet"
|
||||
|
||||
@@ -6,6 +6,31 @@ metadata:
|
||||
name: woodpecker
|
||||
description: null
|
||||
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:
|
||||
default:
|
||||
agent:
|
||||
@@ -15,7 +40,7 @@ options:
|
||||
tag: v1.0.0-alpine
|
||||
git:
|
||||
registry: docker.io
|
||||
repository: wowoodpeckerci/plugin-git
|
||||
repository: woodpeckerci/plugin-git
|
||||
tag: 2.1.0
|
||||
server:
|
||||
pullPolicy: IfNotPresent
|
||||
@@ -30,7 +55,7 @@ options:
|
||||
tag: v1.0.0-alpine
|
||||
git:
|
||||
registry: docker.io
|
||||
repository: wowoodpeckerci/plugin-git
|
||||
repository: woodpeckerci/plugin-git
|
||||
tag: 2.1.0
|
||||
server:
|
||||
pullPolicy: IfNotPresent
|
||||
@@ -65,14 +90,14 @@ options:
|
||||
git:
|
||||
default:
|
||||
registry: docker.io
|
||||
repository: wowoodpeckerci/plugin-git
|
||||
repository: woodpeckerci/plugin-git
|
||||
tag: 2.1.0
|
||||
properties:
|
||||
registry:
|
||||
default: docker.io
|
||||
type: string
|
||||
repository:
|
||||
default: wowoodpeckerci/plugin-git
|
||||
default: woodpeckerci/plugin-git
|
||||
type: string
|
||||
tag:
|
||||
default: 2.1.0
|
||||
@@ -103,6 +128,16 @@ options:
|
||||
type: string
|
||||
type: object
|
||||
type: object
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
sub-domain:
|
||||
default: ci
|
||||
examples:
|
||||
- ci
|
||||
type: string
|
||||
domain-name:
|
||||
default: your_company.com
|
||||
examples:
|
||||
@@ -113,36 +148,6 @@ options:
|
||||
examples:
|
||||
- traefik
|
||||
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:
|
||||
default:
|
||||
accessMode: ReadWriteOnce
|
||||
@@ -162,11 +167,6 @@ options:
|
||||
default: 10Gi
|
||||
type: string
|
||||
type: object
|
||||
issuer:
|
||||
default: letsencrypt-prod
|
||||
examples:
|
||||
- letsencrypt-prod
|
||||
type: string
|
||||
dependencies: []
|
||||
providers:
|
||||
kubernetes: true
|
||||
|
||||
Reference in New Issue
Block a user