Skip to content

Commit 5f492a6

Browse files
committed
Merge remote-tracking branch 'upstream/master'
* upstream/master: (35 commits) Add NetworkPolicy to Jenkins (helm#1228) Support setting up redis without password (helm#1061) [stable/rabbitmq] Release 0.5.3 (helm#1174) [stable/wordpress] Release 0.6.3 (helm#1187) Rename MARIADB_PORT env var to MARIADB_PORT_NUMBER (helm#1211) Rename MARIADB_PORT env var to MARIADB_PORT_NUMBER (helm#1207) dokuwiki: fix probes to properly query pod health (helm#1152) Rename MARIADB_PORT env var to MARIADB_PORT_NUMBER (helm#1209) joomla: fix probes to properly query pod health (helm#1161) jasperreports: fix probes to properly query pod health (helm#1160) [stable/moodle] Release 0.1.8 (helm#1188) [stable/owncloud] Release 0.4.10 (helm#1175) prestashop: fix probes to properly query pod health (helm#1149) update incubator repo to stable repo (helm#1162) Prepending the commands with '$' (helm#1145) [stable/fluent-bit] Update README for Minikube use case (helm#1253) Update the char limit of fullname to 63 for memcached chart (helm#1185) opencart: fix probes to properly query pod health (helm#1166) [stable/joomla] Release 0.4.9 (helm#1204) [stable/phabricator] Release 0.4.8 (helm#1205) ...
2 parents bbdfb4d + 572b36c commit 5f492a6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+263
-144
lines changed

incubator/istio/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
apiVersion: v1
22
description: Istio Helm chart for Kubernetes
33
name: istio
4-
version: 0.1.4
4+
version: 0.1.6
55
appVersion: 0.1.5
66
home: https://istio.io/
7-
icon: https://github.com/istio/istio.github.io/blob/master/favicons/android-chrome-96x96.png
7+
icon: https://raw.githubusercontent.com/istio/istio.github.io/master/favicons/mstile-150x150.png
88
sources:
99
- https://github.com/istio/istio
1010
maintainers:

incubator/istio/templates/NOTES.txt

+4
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,7 @@ Deploy your App!
4444
Or deploy the BookInfo App!
4545

4646
https://istio.io/docs/samples/bookinfo.html
47+
48+
Using Istioctl
49+
50+
istioctl --managerAPIService {{ $serviceName }}-{{ .Values.manager.name }}:{{ .Values.manager.service.externalHttpApiServer }} [command]

incubator/kafka/README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,16 @@ To install the chart with the release name `my-release` in the default
3535
namespace:
3636

3737
```
38-
helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
39-
helm install --name my-kafka incubator/kafka
38+
$ helm repo add incubator http://storage.googleapis.com/kubernetes-charts-incubator
39+
$ helm install --name my-kafka incubator/kafka
4040
```
4141

4242
If using a dedicated namespace(recommended) then make sure the namespace
4343
exists with:
4444

4545
```
46-
kubectl create ns kafka
47-
helm install --name my-kafka --set global.namespace=kafka incubator/kafka
46+
$ kubectl create ns kafka
47+
$ helm install --name my-kafka --set global.namespace=kafka incubator/kafka
4848
```
4949

5050
This chart includes a ZooKeeper chart as a dependency to the Kafka

stable/consul/Chart.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: consul
22
home: https://github.com/hashicorp/consul
3-
version: 0.2.3
3+
version: 0.2.5
4+
appVersion: 0.7.5
45
description: Highly available and distributed service discovery and key-value store designed with support for the modern data center to make distributed systems and configuration easy.
5-
icon: https://www.consul.io/assets/images/logo_large-475cebb0.png
6+
icon: https://raw.githubusercontent.com/hashicorp/consul/bce3809dfca37b883828c3715b84143dd71c0f85/website/source/assets/images/favicons/android-chrome-512x512.png
67
sources:
78
- https://github.com/kelseyhightower/consul-on-kubernetes
89
maintainers:
9-
- name: Lachlan Evenson
10-
email: lachlan@deis.com
10+
- name: lachie83
11+
email: lachlan.evenson@microsoft.com

stable/consul/README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,11 @@ The following tables lists the configurable parameters of the consul chart and t
3333
| `Replicas` | k8s statefulset replicas | `3` |
3434
| `Component` | k8s selector key | `consul` |
3535
| `Cpu` | container requested cpu | `100m` |
36-
| `DisableHostNodeId` | Disable Node Id creation (uses random)| `false` |
36+
| `DatacenterName` | Consul Datacenter Name | `dc1` (The consul default) |
37+
| `DisableHostNodeId` | Disable Node Id creation (uses random)| `false` |
3738
| `Memory` | container requested memory | `512Mi` |
3839
| `Storage` | Persistent volume size | `1Gi` |
39-
| `StorageClass` | Persistent volume storage class | `nil` |
40+
| `StorageClass` | Persistent volume storage class | `nil` |
4041
| `HttpPort` | Consul http listening port | `8500` |
4142
| `RpcPort` | Consul rpc listening port | `8400` |
4243
| `SerflanPort` | Container serf lan listening port | `8301` |
@@ -46,7 +47,7 @@ The following tables lists the configurable parameters of the consul chart and t
4647
| `ServerPort` | Container server listening port | `8300` |
4748
| `ConsulDnsPort` | Container dns listening port | `8600` |
4849
| `ui.enabled` | Enable Consul Web UI | `false` |
49-
| `uiService.enabled` | Create dedicated Consul Web UI svc | `false` |
50+
| `uiService.enabled` | Create dedicated Consul Web UI svc | `false` |
5051
| `uiService.type` | Dedicate Consul Web UI svc type | `NodePort` |
5152

5253
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

stable/consul/templates/consul.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ spec:
172172
{{- end }}
173173
{{- if .Values.DisableHostNodeId }}
174174
-disable-host-node-id \
175+
{{- end }}
176+
{{- if .Values.DatacenterName }}
177+
-datacenter {{ .Values.DatacenterName }} \
175178
{{- end }}
176179
-data-dir=/var/lib/consul \
177180
-server \

stable/consul/values.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ Storage: "1Gi"
2828
## host id.
2929
DisableHostNodeId: false
3030

31+
## Datacenter name for consul. If not supplied, will use the consul
32+
## default 'dc1'
33+
# DatacenterName: dc1
34+
3135
## StorageClass name for use with Persistent Volume Claim (PVC) using beta notations
3236
# StorageClass:
3337

stable/dokuwiki/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dokuwiki
2-
version: 0.1.4
2+
version: 0.1.5
33
description: DokuWiki is a standards-compliant, simple to use wiki optimized for creating documentation. It is targeted at developer teams, workgroups, and small companies. All data is stored in plain text files, so no database is required.
44
keywords:
55
- dokuwiki

stable/dokuwiki/templates/deployment.yaml

+6-4
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,18 @@ spec:
3838
containerPort: 443
3939
livenessProbe:
4040
httpGet:
41-
path: /
41+
path: /doku.php
4242
port: http
4343
initialDelaySeconds: 120
4444
timeoutSeconds: 5
45+
failureThreshold: 6
4546
readinessProbe:
4647
httpGet:
47-
path: /
48+
path: /doku.php
4849
port: http
49-
initialDelaySeconds: 5
50-
timeoutSeconds: 1
50+
initialDelaySeconds: 30
51+
timeoutSeconds: 3
52+
periodSeconds: 5
5153
resources:
5254
{{ toYaml .Values.resources | indent 10 }}
5355
volumeMounts:

stable/fluent-bit/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: fluent-bit
22
version: 0.1.0
3-
appVersion: 0.11.7
3+
appVersion: 0.11.8
44
description: Fast and Lightweight Log/Data Forwarder for Linux, BSD and OSX
55
keywords:
66
- fluent

stable/fluent-bit/README.md

+10-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
# fluent-bit Chart
1+
# Fluent-Bit Chart
22

33
[Fluent Bit](http://fluentbit.io/) is an open source and multi-platform Log Forwarder.
44

55
## Chart Details
6+
67
This chart will do the following:
78

8-
* Install a configmap for fluent bit
9-
* Install a daemonset that provisions the fluent bit [per-host architecture]
9+
* Install a configmap for Fluent Bit
10+
* Install a daemonset that provisions Fluent Bit [per-host architecture]
1011

1112
## Installing the Chart
1213

@@ -16,6 +17,12 @@ To install the chart with the release name `my-release`:
1617
$ helm install --name my-release stable/fluent-bit
1718
```
1819

20+
When installing this chart on [Minikube](https://kubernetes.io/docs/getting-started-guides/minikube/), it's required to specify that so the DaemonSet will be able to mount the log files properly, make sure to append the _--set on\_minikube=true_ option at the end of the _helm_ command, e.g:
21+
22+
```bash
23+
$ helm install --name my-release stable/fluent-bit --set on_minikube=true
24+
```
25+
1926
## Configuration
2027

2128
Configurable values are documented in the `values.yaml`.

stable/fluent-bit/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on_minikube: false
55
image:
66
fluent_bit:
77
repository: fluent/fluent-bit
8-
tag: 0.11.7
8+
tag: 0.11.8
99
pullPolicy: IfNotPresent
1010

1111
backend:

stable/ghost/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: ghost
2-
version: 0.4.9
2+
version: 0.4.10
33
description: A simple, powerful publishing platform that allows you to share your stories with the world
44
keywords:
55
- ghost

stable/ghost/templates/deployment.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ spec:
2222
env:
2323
- name: MARIADB_HOST
2424
value: {{ template "mariadb.fullname" . }}
25-
- name: MARIADB_PORT
25+
- name: MARIADB_PORT_NUMBER
2626
value: "3306"
2727
- name: MARIADB_PASSWORD
2828
valueFrom:
@@ -31,7 +31,7 @@ spec:
3131
key: mariadb-root-password
3232
- name: GHOST_HOST
3333
value: {{ include "host" . | quote }}
34-
- name: GHOST_PORT
34+
- name: GHOST_PORT_NUMBER
3535
{{- if eq .Values.serviceType "ClusterIP" }}
3636
value: "2368"
3737
{{- else }}

stable/ghost/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Bitnami Ghost image version
22
## ref: https://hub.docker.com/r/bitnami/ghost/tags/
33
##
4-
image: bitnami/ghost:0.11.9-r0
4+
image: bitnami/ghost:0.11.9-r2
55

66
## Specify a imagePullPolicy
77
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'

stable/jasperreports/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: jasperreports
2-
version: 0.1.6
2+
version: 0.1.7
33
description: The JasperReports server can be used as a stand-alone or embedded reporting and BI server that offers web-based reporting, analytic tools and visualization, and a dashboard feature for compiling multiple custom views
44
keywords:
55
- business intelligence

stable/jasperreports/templates/deployment.yaml

+7-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
env:
2121
- name: MARIADB_HOST
2222
value: {{ template "mariadb.fullname" . }}
23-
- name: MARIADB_PORT
23+
- name: MARIADB_PORT_NUMBER
2424
value: "3306"
2525
- name: MARIADB_PASSWORD
2626
valueFrom:
@@ -56,16 +56,18 @@ spec:
5656
containerPort: 8080
5757
livenessProbe:
5858
httpGet:
59-
path: /jasperserver/
59+
path: /jasperserver/login.html
6060
port: http
6161
initialDelaySeconds: 300
6262
timeoutSeconds: 5
63+
failureThreshold: 6
6364
readinessProbe:
6465
httpGet:
65-
path: /jasperserver/
66+
path: /jasperserver/login.html
6667
port: http
67-
initialDelaySeconds: 5
68-
timeoutSeconds: 1
68+
initialDelaySeconds: 30
69+
timeoutSeconds: 3
70+
periodSeconds: 5
6971
resources:
7072
{{ toYaml .Values.resources | indent 10 }}
7173
volumeMounts:

stable/jasperreports/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
## Bitnami JasperReports image version
22
## ref: https://hub.docker.com/r/bitnami/jasperreports/tags/
33
##
4-
image: bitnami/jasperreports:6.3.0-r10
4+
image: bitnami/jasperreports:6.3.0-r11
55

66
## Specify a imagePullPolicy
77
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images

stable/jenkins/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: jenkins
22
home: https://jenkins.io/
3-
version: 0.7.0
3+
version: 0.7.3
44
appVersion: 2.46.3
55
description: Open source continuous integration server. It supports multiple SCM tools including CVS, Subversion and Git. It can execute Apache Ant and Apache Maven-based projects as well as arbitrary scripts.
66
sources:

stable/jenkins/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,17 @@ $ helm install --name my-release -f values.yaml stable/jenkins
7171

7272
> **Tip**: You can use the default [values.yaml](values.yaml)
7373
74+
## NetworkPolicy
75+
76+
To make use of the NetworkPolicy resources created by default,
77+
install [a networking plugin that implements the Kubernetes
78+
NetworkPolicy spec](https://kubernetes.io/docs/tasks/administer-cluster/declare-network-policy#before-you-begin).
79+
80+
For Kubernetes v1.5 & v1.6, you must also turn on NetworkPolicy by setting
81+
the DefaultDeny namespace annotation. Note: this will enforce policy for _all_ pods in the namespace:
82+
83+
kubectl annotate namespace default "net.beta.kubernetes.io/network-policy={\"ingress\":{\"isolation\":\"DefaultDeny\"}}"
84+
7485
## Persistence
7586

7687
The Jenkins image stores persistence under `/var/jenkins_home` path of the container. A dynamically managed Persistent Volume

stable/jenkins/templates/config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ data:
3535
<name>default</name>
3636
<instanceCap>2147483647</instanceCap>
3737
<idleMinutes>0</idleMinutes>
38-
<label></label>
38+
<label>{{.Release.Name}}-{{.Values.Agent.Component}}</label>
3939
<nodeSelector></nodeSelector>
4040
<volumes/>
4141
<containers>
@@ -117,7 +117,7 @@ data:
117117
echo "false" > /usr/share/jenkins/ref/secrets/slave-to-master-security-kill-switch;
118118
cp -n /var/jenkins_config/config.xml /var/jenkins_home;
119119
{{- if .Values.Master.InstallPlugins }}
120-
cp -n /var/jenkins_config/plugins.txt /var/jenkins_home;
120+
cp /var/jenkins_config/plugins.txt /var/jenkins_home;
121121
/usr/local/bin/install-plugins.sh `echo $(cat /var/jenkins_home/plugins.txt)`;
122122
{{- end }}
123123
{{- if .Values.Master.ScriptApproval }}

stable/jenkins/templates/jenkins-master-deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ spec:
2323
chart: "{{.Chart.Name}}-{{.Chart.Version}}"
2424
component: "{{.Release.Name}}-{{.Values.Master.Component}}"
2525
annotations:
26+
checksum/config: {{ include (print $.Template.BasePath "/config.yaml") . | sha256sum }}
2627
pod.alpha.kubernetes.io/init-containers: '[
2728
{
2829
"name": "copy-default-config",

stable/jenkins/templates/jenkins-master-ingress.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{- if .Values.Master.HostName }}
2-
apiVersion: extensions/v1beta1
2+
apiVersion: {{ .Values.NetworkPolicy.ApiVersion }}
33
kind: Ingress
44
metadata:
55
{{- if .Values.Master.Ingress.Annotations }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
{{- if .Values.NetworkPolicy.Enabled }}
2+
kind: NetworkPolicy
3+
apiVersion: {{ .Values.NetworkPolicy.ApiVersion }}
4+
metadata:
5+
name: "{{.Release.Name}}-{{.Values.Master.Component}}"
6+
spec:
7+
podSelector:
8+
matchLabels:
9+
component: "{{.Release.Name}}-{{.Values.Master.Component}}"
10+
ingress:
11+
# Allow web access to the UI
12+
- ports:
13+
- port: {{.Values.Master.ContainerPort}}
14+
# Allow inbound connections from slave
15+
- from:
16+
- podSelector:
17+
matchLabels:
18+
"jenkins/{{.Release.Name}}-{{.Values.Agent.Component}}": "true"
19+
ports:
20+
- port: {{.Values.Master.SlaveListenerPort}}
21+
{{- if .Values.Agent.Enabled }}
22+
---
23+
kind: NetworkPolicy
24+
apiVersion: {{ .Values.NetworkPolicy.ApiVersion }}
25+
metadata:
26+
name: "{{.Release.Name}}-{{.Values.Agent.Component}}"
27+
spec:
28+
podSelector:
29+
matchLabels:
30+
# DefaultDeny
31+
"jenkins/{{.Release.Name}}-{{.Values.Agent.Component}}": "true"
32+
{{- end }}
33+
{{- end }}

stable/jenkins/values.yaml

+9
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ Master:
3838
InstallPlugins:
3939
- kubernetes:0.11
4040
- workflow-aggregator:2.5
41+
- workflow-job:2.11
4142
- credentials-binding:1.11
4243
- git:3.2.0
4344
# Used to approve a list of groovy functions in pipelines used the script-security plugin. Can be viewed under /scriptApproval
@@ -64,6 +65,7 @@ Agent:
6465
Enabled: true
6566
Image: jenkinsci/jnlp-slave
6667
ImageTag: 2.62
68+
Component: "jenkins-slave"
6769
Privileged: false
6870
Cpu: "200m"
6971
Memory: "256Mi"
@@ -88,3 +90,10 @@ Persistence:
8890
# - mountPath: /var/nothing
8991
# name: nothing
9092
# readOnly: true
93+
94+
NetworkPolicy:
95+
# Enable creation of NetworkPolicy resources.
96+
Enabled: false
97+
# For Kubernetes v1.4, v1.5 and v1.6, use 'extensions/v1beta1'
98+
# For Kubernetes v1.7, use 'networking.k8s.io/v1'
99+
ApiVersion: extensions/v1beta1

stable/joomla/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: joomla
2-
version: 0.4.8
2+
version: 0.4.9
33
description: PHP content management system (CMS) for publishing web content
44
keywords:
55
- joomla

0 commit comments

Comments
 (0)