Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
charts
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
charts
Commits
0c12f18c
Unverified
Commit
0c12f18c
authored
Dec 14, 2018
by
Guangbo
Committed by
GitHub
Dec 14, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bump drone chart version and fixed yaml format issue (#88)
1. bump drone chart to version 1.7.4 2. added existing PVC claim option and fixed env yaml format issue
parent
b9564aa7
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
37 additions
and
22 deletions
+37
-22
Chart.yaml
charts/drone/latest/Chart.yaml
+1
-1
README.md
charts/drone/latest/README.md
+1
-0
questions.yml
charts/drone/latest/questions.yml
+5
-0
NOTES.txt
charts/drone/latest/templates/NOTES.txt
+6
-6
_helpers.tpl
charts/drone/latest/templates/_helpers.tpl
+11
-13
ingress.yaml
charts/drone/latest/templates/ingress.yaml
+2
-2
service.yaml
charts/drone/latest/templates/service.yaml
+4
-0
values.yaml
charts/drone/latest/values.yaml
+7
-0
No files found.
charts/drone/latest/Chart.yaml
View file @
0c12f18c
name
:
drone
name
:
drone
home
:
https://drone.io/
home
:
https://drone.io/
icon
:
https://drone.io/apple-touch-icon.png
icon
:
https://drone.io/apple-touch-icon.png
version
:
1.7.
0
version
:
1.7.
4
appVersion
:
0.8.6
appVersion
:
0.8.6
description
:
Drone is a Continuous Delivery system built on container technology
description
:
Drone is a Continuous Delivery system built on container technology
keywords
:
keywords
:
...
...
charts/drone/latest/README.md
View file @
0c12f18c
...
@@ -13,6 +13,7 @@ The following table lists the configurable parameters of the drone charts and th
...
@@ -13,6 +13,7 @@ The following table lists the configurable parameters of the drone charts and th
|
`images.dind.repository`
| Docker
**dind**
image |
`docker.io/library/docker`
|
|
`images.dind.repository`
| Docker
**dind**
image |
`docker.io/library/docker`
|
|
`images.dind.tag`
| Docker
**dind**
image tag |
`18.06.1-ce-dind`
|
|
`images.dind.tag`
| Docker
**dind**
image tag |
`18.06.1-ce-dind`
|
|
`images.dind.pullPolicy`
| Docker
**dind**
image pull policy |
`IfNotPresent`
|
|
`images.dind.pullPolicy`
| Docker
**dind**
image pull policy |
`IfNotPresent`
|
|
`service.annotations`
| Service annotations |
`{}`
|
|
`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.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`
|
|
`service.type`
| Service type (ClusterIP, NodePort or LoadBalancer) |
`ClusterIP`
|
...
...
charts/drone/latest/questions.yml
View file @
0c12f18c
...
@@ -161,6 +161,11 @@ questions:
...
@@ -161,6 +161,11 @@ questions:
description
:
"
If
undefined
or
null,
uses
the
default
StorageClass.
Default
to
null"
description
:
"
If
undefined
or
null,
uses
the
default
StorageClass.
Default
to
null"
type
:
storageclass
type
:
storageclass
label
:
Default StorageClass for Drone
label
:
Default StorageClass for Drone
-
variable
:
persistence.existingClaim
default
:
"
"
description
:
"
If
not
empty,
uses
the
specified
existing
PVC
instead
of
creating
new
one"
type
:
pvc
label
:
Uses Existing Persistent Volume Cliam
-
variable
:
ingress.enabled
-
variable
:
ingress.enabled
default
:
false
default
:
false
description
:
"
Expose
app
using
Layer
7
Load
Balancer
-
ingress"
description
:
"
Expose
app
using
Layer
7
Load
Balancer
-
ingress"
...
...
charts/drone/latest/templates/NOTES.txt
View file @
0c12f18c
...
@@ -45,12 +45,12 @@ control provider:
...
@@ -45,12 +45,12 @@ control provider:
helm upgrade {{ .Release.Name }} \
helm upgrade {{ .Release.Name }} \
--reuse-values \
--reuse-values \
--set
server.env.DRONE_PROVIDER="github"
\
--set
'server.env.DRONE_PROVIDER="github"'
\
--set
server.env.DRONE_GITHUB="true"
\
--set
'server.env.DRONE_GITHUB="true"'
\
--set
server.env.DRONE_ORGS="my-github-org"
\
--set
'server.env.DRONE_ORGS="my-github-org"'
\
--set
server.env.DRONE_GITHUB_CLIENT="github-oauth2-client-id"
\
--set
'server.env.DRONE_GITHUB_CLIENT="github-oauth2-client-id"'
\
--set
server.envSecrets.drone-server-secrets[0]=DRONE_GITHUB_SECRET
\
--set
'server.envSecrets.drone-server-secrets[0]=DRONE_GITHUB_SECRET'
\
incubator
/drone
stable
/drone
Currently supported providers:
Currently supported providers:
...
...
charts/drone/latest/templates/_helpers.tpl
View file @
0c12f18c
...
@@ -26,19 +26,17 @@ Create the name of the service account to use
...
@@ -26,19 +26,17 @@ Create the name of the service account to use
{{- end -}}
{{- end -}}
{{- define "drone.server.provider" -}}
{{- define "drone.server.provider" -}}
{{- if hasKey .Values.server.env "DRONE_PROVIDER" }}
{{- if eq .Values.server.env.DRONE_PROVIDER "github" -}}
{{- if eq .Values.server.env.DRONE_PROVIDER "github" -}}
{{ printf "DRONE_GITHUB" -}}
{{- print "%s" "DRONE_GITHUB" -}}
{{- else if eq .Values.server.env.DRONE_PROVIDER "gitlab" }}
{{- else if eq .Values.server.env.DRONE_PROVIDER "gitlab" -}}
{{ printf "DRONE_GITLAB" -}}
{{- print "DRONE_GITLAB" -}}
{{- else if eq .Values.server.env.DRONE_PROVIDER "gitea" }}
{{- else if eq .Values.server.env.DRONE_PROVIDER "gitea" -}}
{{ printf "DRONE_GITEA" -}}
{{- print "DRONE_GITEA" -}}
{{- else if eq .Values.server.env.DRONE_PROVIDER "gogs" }}
{{- else if eq .Values.server.env.DRONE_PROVIDER "gogs" -}}
{{ printf "DRONE_GOGS" -}}
{{- print "DRONE_GOGS" -}}
{{- else if eq .Values.server.env.DRONE_PROVIDER "bitbucket" }}
{{- else if eq .Values.server.env.DRONE_PROVIDER "bitbucket" -}}
{{ printf "DRONE_BITBUCKET" -}}
{{- print "DRONE_BITBUCKET" -}}
{{- else if eq .Values.server.env.DRONE_PROVIDER "coding" }}
{{- else if eq .Values.server.env.DRONE_PROVIDER "coding" -}}
{{ printf "DRONE_CODING" -}}
{{- print "DRONE_CODING" -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- end -}}
charts/drone/latest/templates/ingress.yaml
View file @
0c12f18c
...
@@ -21,9 +21,9 @@ spec:
...
@@ -21,9 +21,9 @@ spec:
http
:
http
:
paths
:
paths
:
{{
- if index $.Values.ingress "annotations"
}}
{{
- if index $.Values.ingress "annotations"
}}
{{
- if eq (index $.Values.ingress.annotations "kubernetes.io/ingress.class" | default "") "gce"
}}
{{
- if eq (index $.Values.ingress.annotations "kubernetes.io/ingress.class" | default "") "gce"
"alb"
}}
-
path
:
/*
-
path
:
/*
{{
- else
}}{{
/* Has annotations but ingress class is not "gce" */
}}
{{
- else
}}{{
/* Has annotations but ingress class is not "gce"
nor "alb"
*/
}}
-
path
:
/
-
path
:
/
{{
- end
}}
{{
- end
}}
{{
- else
}}{{
/* Has no annotations */
}}
{{
- else
}}{{
/* Has no annotations */
}}
...
...
charts/drone/latest/templates/service.yaml
View file @
0c12f18c
...
@@ -2,6 +2,10 @@ apiVersion: v1
...
@@ -2,6 +2,10 @@ apiVersion: v1
kind
:
Service
kind
:
Service
metadata
:
metadata
:
name
:
{{
template "drone.fullname" .
}}
name
:
{{
template "drone.fullname" .
}}
annotations
:
{{
- range $key
,
$value
:
= .Values.service.annotations
}}
{{
$key
}}:
{{
$value | quote
}}
{{
- end
}}
labels
:
labels
:
app
:
{{
template "drone.name" .
}}
app
:
{{
template "drone.name" .
}}
chart
:
"
{{
.Chart.Name
}}-{{
.Chart.Version
}}"
chart
:
"
{{
.Chart.Name
}}-{{
.Chart.Version
}}"
...
...
charts/drone/latest/values.yaml
View file @
0c12f18c
...
@@ -37,6 +37,13 @@ service:
...
@@ -37,6 +37,13 @@ service:
##
##
type
:
NodePort
type
:
NodePort
## Drone Service annotations
##
# annotations:
# service.beta.kubernetes.io/aws-load-balancer-backend-protocol: http
# service.beta.kubernetes.io/aws-load-balancer-ssl-cert: arn:aws:acm:xx-xxxx-x:xxxxxxxxxxx:certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx
# external-dns.alpha.kubernetes.io/hostname: drone.domain.tld.
ingress
:
ingress
:
## If true, Drone Ingress will be created.
## If true, Drone Ingress will be created.
##
##
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment