[incubator/drone] Startup & metadata fixes (#3594)

* Fix startup error due to new drone env. var validation

Without this fix drone refuses to start due to this commit: https://github.com/drone/drone/commit/453f415cc493e358c5cf0a7050e271059c51c072

* Update appVersion to be the same as the docker image tag

* Bump chart version

* Require scheme when manually setting server.host

* Fix server.host description

* Update README.md

Remove duplicate line

(cherry picked from commit e58a8001dd)
This commit is contained in:
na--
2018-02-10 05:33:51 -08:00
committed by k8s-ci-robot
parent 6225191638
commit adec3a7336
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: drone
home: https://drone.io/
icon: http://docs.drone.io/logo.svg
version: 0.3.1
version: 0.3.2
appVersion: 0.8.4
description: Drone is a Continuous Delivery system built on container technology
keywords:
+1 -2
View File
@@ -43,14 +43,13 @@ The following tables lists the configurable parameters of the drone charts and t
| `images.dind.tag` | Docker **dind** image tag | `17.12.0-ce-dind` |
| `images.dind.pullPolicy` | Docker **dind** image pull policy | `IfNotPresent` |
| `service.httpPort` | Drone's Web GUI HTTP port | `80` |
| `service.httpPort` | Drone's Web GUI HTTP port | `80` |
| `service.nodePort` | If `service.type` is `NodePort` and this is non-empty, sets the http node port of the service | `32015` |
| `service.type` | Service type (ClusterIP, NodePort or LoadBalancer) | `ClusterIP` |
| `ingress.enabled` | Enables Ingress for Drone | `false` |
| `ingress.annotations` | Ingress annotations | `{}` |
| `ingress.hosts` | Ingress accepted hostnames | `nil` |
| `ingress.tls` | Ingress TLS configuration | `[]` |
| `server.host` | Drone **server** hostname | `(internal hostname)` |
| `server.host` | Drone **server** scheme and hostname | `(internal hostname)` |
| `server.env` | Drone **server** environment variables | `(default values)` |
| `server.resources` | Drone **server** pod resource requests & limits | `{}` |
| `server.afinity` | Drone **server** scheduling preferences | `{}` |
@@ -36,9 +36,9 @@ spec:
key: secret
- name: DRONE_HOST
{{- if hasKey .Values.server "host" }}
value: {{ .Values.server.host }}
value: "{{ .Values.server.host }}"
{{- else }}
value: {{ template "drone.fullname" . }}
value: "http://{{ template "drone.fullname" . }}"
{{- end }}
{{ range $key, $value := .Values.server.env }}
- name: {{ $key }}
+2 -1
View File
@@ -1,4 +1,4 @@
appVersion: "0.8.2"
appVersion: "0.8.4"
images:
## The official drone (server) image, change tag to use a different version.
@@ -63,6 +63,7 @@ ingress:
server:
## If not set, it will be autofilled with the cluster host.
## Host must be in "<scheme>://<hostname>" format.
##
# host: "https://drone.domain.io"