diff --git a/charts/incubator/drone-runner/Chart.yaml b/charts/incubator/drone-runner/Chart.yaml index f1d37a720ea..9b04f6bc045 100644 --- a/charts/incubator/drone-runner/Chart.yaml +++ b/charts/incubator/drone-runner/Chart.yaml @@ -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: | diff --git a/charts/incubator/drone-runner/questions.yaml b/charts/incubator/drone-runner/questions.yaml index 24cc68476a8..c9758b8e869 100644 --- a/charts/incubator/drone-runner/questions.yaml +++ b/charts/incubator/drone-runner/questions.yaml @@ -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 diff --git a/charts/incubator/drone-runner/values.yaml b/charts/incubator/drone-runner/values.yaml index 472a0c3a333..69e41aac020 100644 --- a/charts/incubator/drone-runner/values.yaml +++ b/charts/incubator/drone-runner/values.yaml @@ -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: