fix(drone-runner): Fix some mistakes (#3514)

* fix(drone): Fix some mistakes

* bump

* Update questions.yaml

* minor changes

* Update charts/incubator/drone-runner/questions.yaml

Co-authored-by: Stavros Kois <47820033+stavros-k@users.noreply.github.com>
This commit is contained in:
sagit 2022-08-19 15:53:07 +08:00 committed by GitHub
parent 847ef1f3b9
commit af135e1f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 39 deletions

View File

@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/drone-runner
- https://docs.drone.io
type: application
version: 0.0.1
version: 0.0.2
annotations:
truecharts.org/SCALE-support: "true"
truecharts.org/catagories: |

View File

@ -33,13 +33,25 @@ questions:
type: string
default: "http"
required: true
- variable: DRONE_RPC_SECRET
label: " DRONE_RPC_SECRET"
description: " DRONE RPC SECRET"
enum:
- value: "http"
description: "http"
- value: "https"
description: "https"
- variable: secretEnv
group: "Container Configuration"
label: "Image Secrets"
schema:
additional_attrs: true
type: dict
attrs:
- variable: DRONE_RPC_SECRET
label: "DRONE_RPC_SECRET"
description: "DRONE RPC SECRET"
schema:
type: string
default: ""
required: true
default: ""
# Include{containerConfig}
# Include{serviceRoot}
- variable: main
@ -63,34 +75,7 @@ questions:
type: int
default: 3000
required: true
- variable: advanced
label: "Show Advanced settings"
schema:
type: boolean
default: false
show_subquestions_if: true
subquestions:
- variable: protocol
label: "Port Type"
schema:
type: string
default: "HTTP"
enum:
- value: HTTP
description: "HTTP"
- value: "HTTPS"
description: "HTTPS"
- value: TCP
description: "TCP"
- value: "UDP"
description: "UDP"
- variable: nodePort
label: "Node Port (Optional)"
description: "This port gets exposed to the node. Only considered when service type is NodePort, Simple or LoadBalancer"
schema:
type: int
min: 9000
max: 65535
# Include{advancedPortHTTP}
- variable: targetPort
label: "Target Port"
description: "The internal(!) port on the container the Application runs on"
@ -101,10 +86,6 @@ questions:
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{persistenceRoot}
# Include{persistenceBasic}
# Include{persistenceAdvanced}
# Include{persistenceList}
# Include{ingressRoot}
- variable: main

View File

@ -1,11 +1,13 @@
image:
repository: drone/drone-runner-kube
repository: tccr.io/truecharts/drone-runner-kube
pullPolicy: IfNotPresent
tag: latest@sha256:003848908e19a23b8f3eb97c763cc634e48826517c587d526707e0668feb22b7
tag: v1.0.0@sha256:d3e206ce5a124ab363b408d131594e9b5be88ae14a9f3ba8206e26cd7f3b30f2
env:
DRONE_RPC_HOST: ""
DRONE_RPC_PROTO: "http"
secretEnv:
DRONE_RPC_SECRET: ""
service:
@ -13,6 +15,7 @@ service:
ports:
main:
port: 3000
protocol: HTTP
targetPort: 3000
rbac: