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:
@@ -21,7 +21,7 @@ sources:
|
|||||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/drone-runner
|
- https://github.com/truecharts/charts/tree/master/charts/incubator/drone-runner
|
||||||
- https://docs.drone.io
|
- https://docs.drone.io
|
||||||
type: application
|
type: application
|
||||||
version: 0.0.1
|
version: 0.0.2
|
||||||
annotations:
|
annotations:
|
||||||
truecharts.org/SCALE-support: "true"
|
truecharts.org/SCALE-support: "true"
|
||||||
truecharts.org/catagories: |
|
truecharts.org/catagories: |
|
||||||
|
|||||||
@@ -33,13 +33,25 @@ questions:
|
|||||||
type: string
|
type: string
|
||||||
default: "http"
|
default: "http"
|
||||||
required: true
|
required: true
|
||||||
|
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
|
- variable: DRONE_RPC_SECRET
|
||||||
label: " DRONE_RPC_SECRET"
|
label: "DRONE_RPC_SECRET"
|
||||||
description: " DRONE RPC SECRET"
|
description: "DRONE RPC SECRET"
|
||||||
schema:
|
schema:
|
||||||
type: string
|
type: string
|
||||||
default: ""
|
|
||||||
required: true
|
required: true
|
||||||
|
default: ""
|
||||||
# Include{containerConfig}
|
# Include{containerConfig}
|
||||||
# Include{serviceRoot}
|
# Include{serviceRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
@@ -63,34 +75,7 @@ questions:
|
|||||||
type: int
|
type: int
|
||||||
default: 3000
|
default: 3000
|
||||||
required: true
|
required: true
|
||||||
- variable: advanced
|
# Include{advancedPortHTTP}
|
||||||
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
|
|
||||||
- variable: targetPort
|
- variable: targetPort
|
||||||
label: "Target Port"
|
label: "Target Port"
|
||||||
description: "The internal(!) port on the container the Application runs on"
|
description: "The internal(!) port on the container the Application runs on"
|
||||||
@@ -101,10 +86,6 @@ questions:
|
|||||||
default: false
|
default: false
|
||||||
# Include{serviceExpert}
|
# Include{serviceExpert}
|
||||||
# Include{serviceList}
|
# Include{serviceList}
|
||||||
# Include{persistenceRoot}
|
|
||||||
|
|
||||||
# Include{persistenceBasic}
|
|
||||||
# Include{persistenceAdvanced}
|
|
||||||
# Include{persistenceList}
|
# Include{persistenceList}
|
||||||
# Include{ingressRoot}
|
# Include{ingressRoot}
|
||||||
- variable: main
|
- variable: main
|
||||||
|
|||||||
@@ -1,11 +1,13 @@
|
|||||||
image:
|
image:
|
||||||
repository: drone/drone-runner-kube
|
repository: tccr.io/truecharts/drone-runner-kube
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
tag: latest@sha256:003848908e19a23b8f3eb97c763cc634e48826517c587d526707e0668feb22b7
|
tag: v1.0.0@sha256:d3e206ce5a124ab363b408d131594e9b5be88ae14a9f3ba8206e26cd7f3b30f2
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DRONE_RPC_HOST: ""
|
DRONE_RPC_HOST: ""
|
||||||
DRONE_RPC_PROTO: "http"
|
DRONE_RPC_PROTO: "http"
|
||||||
|
|
||||||
|
secretEnv:
|
||||||
DRONE_RPC_SECRET: ""
|
DRONE_RPC_SECRET: ""
|
||||||
|
|
||||||
service:
|
service:
|
||||||
@@ -13,6 +15,7 @@ service:
|
|||||||
ports:
|
ports:
|
||||||
main:
|
main:
|
||||||
port: 3000
|
port: 3000
|
||||||
|
protocol: HTTP
|
||||||
targetPort: 3000
|
targetPort: 3000
|
||||||
|
|
||||||
rbac:
|
rbac:
|
||||||
|
|||||||
Reference in New Issue
Block a user