mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-20 02:25:53 +10:00
Fix conflicts
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# The Bitnami Library for Kubernetes
|
||||
|
||||
Popular applications, provided by [Bitnami](https://bitnami.com), ready to launch on Kubernetes using [Kubernetes Helm](https://github.com/kubernetes/helm).
|
||||
Popular applications, provided by [Bitnami](https://bitnami.com), ready to launch on Kubernetes using [Kubernetes Helm](https://github.com/helm/helm).
|
||||
|
||||
## TL;DR
|
||||
|
||||
@@ -9,34 +9,34 @@ $ helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
$ helm search bitnami
|
||||
```
|
||||
|
||||
## Upstreamed charts (contributed to [kubernetes/charts](https://github.com/kubernetes/charts))
|
||||
## Upstreamed charts (contributed to [helm/charts](https://github.com/helm/charts))
|
||||
|
||||
- [Dokuwiki](https://github.com/kubernetes/charts/tree/master/stable/dokuwiki)
|
||||
- [Drupal](https://github.com/kubernetes/charts/tree/master/stable/drupal)
|
||||
- [Ghost](https://github.com/kubernetes/charts/tree/master/stable/ghost)
|
||||
- [JasperReports](https://github.com/kubernetes/charts/tree/master/stable/jasperreports)
|
||||
- [Joomla!](https://github.com/kubernetes/charts/tree/master/stable/joomla)
|
||||
- [Magento](https://github.com/kubernetes/charts/tree/master/stable/magento)
|
||||
- [MariaDB](https://github.com/kubernetes/charts/tree/master/stable/mariadb)
|
||||
- [MediaWiki](https://github.com/kubernetes/charts/tree/master/stable/mediawiki)
|
||||
- [MongoDB](https://github.com/kubernetes/charts/tree/master/stable/mongodb)
|
||||
- [Moodle](https://github.com/kubernetes/charts/tree/master/stable/moodle)
|
||||
- [Odoo](https://github.com/kubernetes/charts/tree/master/stable/odoo)
|
||||
- [OpenCart](https://github.com/kubernetes/charts/tree/master/stable/opencart)
|
||||
- [OrangeHRM](https://github.com/kubernetes/charts/tree/master/stable/orangehrm)
|
||||
- [Osclass](https://github.com/kubernetes/charts/tree/master/stable/osclass)
|
||||
- [OwnCloud](https://github.com/kubernetes/charts/tree/master/stable/owncloud)
|
||||
- [Parse](https://github.com/kubernetes/charts/tree/master/stable/parse)
|
||||
- [Phabricator](https://github.com/kubernetes/charts/tree/master/stable/phabricator)
|
||||
- [phpBB](https://github.com/kubernetes/charts/tree/master/stable/phpbb)
|
||||
- [PrestaShop](https://github.com/kubernetes/charts/tree/master/stable/prestashop)
|
||||
- [RabbitMQ](https://github.com/kubernetes/charts/tree/master/stable/rabbitmq)
|
||||
- [Redis](https://github.com/kubernetes/charts/tree/master/stable/redis)
|
||||
- [Redmine](https://github.com/kubernetes/charts/tree/master/stable/redmine)
|
||||
- [SugarCRM](https://github.com/kubernetes/charts/tree/master/stable/sugarcrm)
|
||||
- [SuiteCRM](https://github.com/kubernetes/charts/tree/master/stable/suitecrm)
|
||||
- [TestLink](https://github.com/kubernetes/charts/tree/master/stable/testlink)
|
||||
- [WordPress](https://github.com/kubernetes/charts/tree/master/stable/wordpress)
|
||||
- [Dokuwiki](https://github.com/helm/charts/tree/master/stable/dokuwiki)
|
||||
- [Drupal](https://github.com/helm/charts/tree/master/stable/drupal)
|
||||
- [Ghost](https://github.com/helm/charts/tree/master/stable/ghost)
|
||||
- [JasperReports](https://github.com/helm/charts/tree/master/stable/jasperreports)
|
||||
- [Joomla!](https://github.com/helm/charts/tree/master/stable/joomla)
|
||||
- [Magento](https://github.com/helm/charts/tree/master/stable/magento)
|
||||
- [MariaDB](https://github.com/helm/charts/tree/master/stable/mariadb)
|
||||
- [MediaWiki](https://github.com/helm/charts/tree/master/stable/mediawiki)
|
||||
- [MongoDB](https://github.com/helm/charts/tree/master/stable/mongodb)
|
||||
- [Moodle](https://github.com/helm/charts/tree/master/stable/moodle)
|
||||
- [Odoo](https://github.com/helm/charts/tree/master/stable/odoo)
|
||||
- [OpenCart](https://github.com/helm/charts/tree/master/stable/opencart)
|
||||
- [OrangeHRM](https://github.com/helm/charts/tree/master/stable/orangehrm)
|
||||
- [Osclass](https://github.com/helm/charts/tree/master/stable/osclass)
|
||||
- [OwnCloud](https://github.com/helm/charts/tree/master/stable/owncloud)
|
||||
- [Parse](https://github.com/helm/charts/tree/master/stable/parse)
|
||||
- [Phabricator](https://github.com/helm/charts/tree/master/stable/phabricator)
|
||||
- [phpBB](https://github.com/helm/charts/tree/master/stable/phpbb)
|
||||
- [PrestaShop](https://github.com/helm/charts/tree/master/stable/prestashop)
|
||||
- [RabbitMQ](https://github.com/helm/charts/tree/master/stable/rabbitmq)
|
||||
- [Redis](https://github.com/helm/charts/tree/master/stable/redis)
|
||||
- [Redmine](https://github.com/helm/charts/tree/master/stable/redmine)
|
||||
- [SugarCRM](https://github.com/helm/charts/tree/master/stable/sugarcrm)
|
||||
- [SuiteCRM](https://github.com/helm/charts/tree/master/stable/suitecrm)
|
||||
- [TestLink](https://github.com/helm/charts/tree/master/stable/testlink)
|
||||
- [WordPress](https://github.com/helm/charts/tree/master/stable/wordpress)
|
||||
|
||||
## Bitnami charts
|
||||
|
||||
@@ -77,11 +77,11 @@ The above command creates a new cluster named `my-cluster`. You can name the clu
|
||||
|
||||
Helm is a tool for managing Kubernetes charts. Charts are packages of pre-configured Kubernetes resources.
|
||||
|
||||
To install Helm, refer to the [Helm install guide](https://github.com/kubernetes/helm#install) and ensure that the `helm` binary is in the `PATH` of your shell.
|
||||
To install Helm, refer to the [Helm install guide](https://github.com/helm/helm#install) and ensure that the `helm` binary is in the `PATH` of your shell.
|
||||
|
||||
### Add Repo
|
||||
|
||||
The stable charts are contributed to the upstream [kubernetes/charts](https://github.com/kubernetes/charts) repository. The following command allows you to download and install all the charts from this repository, both the bitnami and the upstreamed ones.
|
||||
The stable charts are contributed to the upstream [helm/charts](https://github.com/helm/charts) repository. The following command allows you to download and install all the charts from this repository, both the bitnami and the upstreamed ones.
|
||||
|
||||
```bash
|
||||
$ helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
@@ -91,7 +91,7 @@ $ helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
|
||||
Once you have installed the Helm client and initialized the Tiller server, you can deploy a Bitnami Helm Chart into a Kubernetes cluster.
|
||||
|
||||
Please refer to the [Quick Start guide](https://github.com/kubernetes/helm/blob/master/docs/quickstart.md) if you wish to get running in just a few commands, otherwise the [Using Helm Guide](https://github.com/kubernetes/helm/blob/master/docs/using_helm.md) provides detailed instructions on how to use the Helm client to manage packages on your Kubernetes cluster.
|
||||
Please refer to the [Quick Start guide](https://github.com/helm/helm/blob/master/docs/quickstart.md) if you wish to get running in just a few commands, otherwise the [Using Helm Guide](https://github.com/helm/helm/blob/master/docs/using_helm.md) provides detailed instructions on how to use the Helm client to manage packages on your Kubernetes cluster.
|
||||
|
||||
Useful Helm Client Commands:
|
||||
* View available charts: `helm search`
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
> **Sample**
|
||||
>
|
||||
> This chart bootstraps a MediaWiki deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. The chart depends upon the [MariaDB chart](https://github.com/kubernetes/charts/tree/master/stable/mariadb) for the database requirements of MediaWiki.
|
||||
> This chart bootstraps a MediaWiki deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager. The chart depends upon the [MariaDB chart](https://github.com/helm/charts/tree/master/stable/mariadb) for the database requirements of MediaWiki.
|
||||
>
|
||||
> The chart uses the [Bitnami MediaWiki Docker Image](https://hub.docker.com/r/bitnami/mediawiki) for setting up the MediaWiki deployment and is developed, contributed and maintained by [Bitnami](https://bitnami.com).
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: apache
|
||||
version: 2.0.1
|
||||
version: 2.0.2
|
||||
appVersion: 2.4.35
|
||||
description: Chart for Apache HTTP Server
|
||||
keywords:
|
||||
|
||||
@@ -16,6 +16,8 @@ Bitnami charts for Helm are carefully engineered, actively maintained and are th
|
||||
|
||||
This chart bootstraps a [Apache](https://github.com/bitnami/bitnami-docker-apache) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
To install the chart with the release name `my-release`:
|
||||
|
||||
@@ -2,13 +2,13 @@ name: consul
|
||||
home: https://www.consul.io/
|
||||
sources:
|
||||
- https://github.com/bitnami/consul
|
||||
version: 2.0.1
|
||||
appVersion: 1.0.6
|
||||
version: 2.0.4
|
||||
appVersion: 1.2.3
|
||||
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.
|
||||
icon: https://raw.githubusercontent.com/hashicorp/consul/bce3809dfca37b883828c3715b84143dd71c0f85/website/source/assets/images/favicons/android-chrome-512x512.png
|
||||
maintainers:
|
||||
- name: bitnami-bot
|
||||
- name: Bitnami
|
||||
email: containers@bitnami.com
|
||||
engine: gotpl
|
||||
|
||||
@@ -13,6 +13,8 @@ $ helm install bitnami/consul
|
||||
|
||||
This chart bootstraps a [Consul](https://github.com/bitnami/bitnami-docker-consul) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
Consul can be accessed within the cluster on port {{ .Values.serverPort }} at {{ template "consul.fullname" . }}.{{ .Release.Namespace }}.svc.cluster.local
|
||||
|
||||
{{- if .Values.ui.service.enabled }}
|
||||
|
||||
|
||||
In order to access to the Consul Web UI:
|
||||
|
||||
{{- if .Values.ui.ingress.enabled }}
|
||||
@@ -23,7 +23,8 @@ In order to access to the Consul Web UI:
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "consul.fullname" . }}-ui'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "consul.fullname" . }}-ui -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "consul.fullname" . }}-ui --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
|
||||
echo "Consul URL: http://$SERVICE_IP:{{ .Values.uiPort }}/"
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.ui.service.type }}
|
||||
@@ -33,14 +34,14 @@ In order to access to the Consul Web UI:
|
||||
|
||||
{{- end }}
|
||||
|
||||
Please take into account that you need to wait until a cluster leader is elected before using the Consul Web UI.
|
||||
|
||||
Please take into account that you need to wait until a cluster leader is elected before using the Consul Web UI.
|
||||
|
||||
In order to check the status of the cluster you can run the following command:
|
||||
|
||||
kubectl exec -it {{ template "consul.fullname" . }}-0 -- consul members
|
||||
|
||||
Furthermore, to know which Consul node is the cluster leader run this other command:
|
||||
|
||||
|
||||
kubectl exec -it {{ template "consul.fullname" . }}-0 -- consul operator raft list-peers
|
||||
|
||||
{{- end }}
|
||||
|
||||
@@ -8,7 +8,7 @@ metadata:
|
||||
chart: {{ template "consul.chart" . }}
|
||||
release: {{ .Release.Name | quote }}
|
||||
heritage: {{ .Release.Service | quote }}
|
||||
component: "ui"
|
||||
component: ui
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/consul
|
||||
tag: 1.0.6
|
||||
tag: 1.2.3-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: elasticsearch
|
||||
version: 4.0.0
|
||||
appVersion: 6.4.1
|
||||
version: 4.0.3
|
||||
appVersion: 6.4.2
|
||||
description: A highly scalable open-source full-text search and analytics engine
|
||||
keywords:
|
||||
- elasticsearch
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/elasticsearch
|
||||
|
||||
This chart bootstraps a [Elasticsearch](https://github.com/bitnami/bitnami-docker-elasticsearch) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.6+ with Beta APIs enabled
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "elasticsearch.coordinating.fullname" . }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "elasticsearch.coordinating.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "elasticsearch.coordinating.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
curl http://$SERVICE_IP:{{ .Values.coordinating.service.port }}/
|
||||
{{- else if contains "ClusterIP" .Values.coordinating.service.type }}
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/elasticsearch
|
||||
tag: 6.4.1-debian-9
|
||||
tag: 6.4.2-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/elasticsearch
|
||||
tag: 6.4.1-debian-9
|
||||
tag: 6.4.2-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: etcd
|
||||
version: 1.1.0
|
||||
appVersion: 3.3.8
|
||||
version: 1.1.5
|
||||
appVersion: 3.3.9
|
||||
description: etcd is a distributed key value store that provides a reliable way to store data across a cluster of machines
|
||||
keywords:
|
||||
- etcd
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/etcd
|
||||
|
||||
This chart bootstraps a [etcd](https://github.com/bitnami/bitnami-docker-etcd) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
@@ -83,6 +85,7 @@ The following tables lists the configurable parameters of the etcd chart and the
|
||||
| `persistence.accessMode` | PVC Access Mode for etcd volume | `ReadWriteOnce` |
|
||||
| `persistence.size` | PVC Storage Request for etcd volume | `8Gi` |
|
||||
| `persistence.annotations` | Annotations for the PVC | `{}` |
|
||||
| `affinity` | Affinity and AntiAffinity rules for pod assignment | `{}` |
|
||||
| `nodeSelector` | Node labels for pod assignment | `{}` |
|
||||
| `tolerations` | Toleration labels for pod assignment | `[]` |
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `256Mi`, CPU: `250m` |
|
||||
|
||||
@@ -44,7 +44,7 @@ To connect to your etcd server from outside the cluster execute the following co
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "etcd.fullname" . }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "etcd.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "etcd.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo "etcd URL: http://$SERVICE_IP:2379/"
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
@@ -47,6 +47,10 @@ spec:
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP -}}
|
||||
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
ports:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/etcd
|
||||
tag: 3.3.8
|
||||
tag: 3.3.9-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/etcd
|
||||
tag: 3.3.8
|
||||
tag: 3.3.9-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: external-dns
|
||||
version: 1.0.0
|
||||
appVersion: 0.5.4
|
||||
version: 1.0.4
|
||||
appVersion: 0.5.7
|
||||
description: ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable.
|
||||
keywords:
|
||||
- external-dns
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/external-dns
|
||||
|
||||
This chart bootstraps a [ExternalDNS](https://github.com/bitnami/bitnami-docker-external-dns) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -72,7 +72,7 @@ spec:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range .Values.sources }}
|
||||
- --source={{ . }}
|
||||
- --source={{ . }}
|
||||
{{- end }}
|
||||
{{- range .Values.domainFilters }}
|
||||
- --domain-filter={{ . }}
|
||||
@@ -153,11 +153,11 @@ spec:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: {{ .Values.service.port }}
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
successThreshold: {{ .Values.livenessProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
|
||||
successThreshold: {{ .Values.livenessProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.readinessProbe.enabled }}
|
||||
readinessProbe:
|
||||
|
||||
@@ -13,7 +13,7 @@ metadata:
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.service.type }}
|
||||
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP -}}
|
||||
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerIP }}
|
||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||
{{- end }}
|
||||
ports:
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/external-dns
|
||||
tag: 0.5.4
|
||||
tag: 0.5.7-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: jenkins
|
||||
version: 1.0.0
|
||||
version: 1.1.2
|
||||
appVersion: 2.138.1
|
||||
description: The leading open source automation server
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/jenkins
|
||||
|
||||
This chart bootstraps a [Jenkins](https://github.com/bitnami/bitnami-docker-jenkins) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
@@ -52,6 +54,9 @@ The following tables lists the configurable parameters of the Jenkins chart and
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
|
||||
| `jenkinsUser` | User of the application | `user` |
|
||||
| `jenkinsPassword` | Application password | _random 10 character alphanumeric string_ |
|
||||
| `jenkinsHome` | Jenkins home directory | `/opt/bitnami/jenkins/jenkins_home` |
|
||||
| `disableInitialization` | Allows to disable the initial Bitnami configuration for Jenkins | `no` |
|
||||
| `javaOpts` | Customize JVM parameters | `nil` |
|
||||
| `serviceType` | Kubernetes Service type | `LoadBalancer` |
|
||||
| `persistence.enabled` | Enable persistence using PVC | `true` |
|
||||
| `persistence.storageClass` | PVC Storage Class for Jenkins volume | `nil` (uses alpha storage class annotation) |
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
** Please ensure an external IP is associated to the {{ template "fullname" . }} service before proceeding **
|
||||
** Watch the status using: kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "fullname" . }} **
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo "Jenkins URL: http://$SERVICE_IP/"
|
||||
{{- else if contains "ClusterIP" .Values.serviceType }}
|
||||
|
||||
|
||||
@@ -31,12 +31,20 @@ spec:
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
env:
|
||||
- name: JENKINS_USERNAME
|
||||
value: {{ default "" .Values.jenkinsUser | quote }}
|
||||
value: {{ .Values.jenkinsUser | quote }}
|
||||
- name: JENKINS_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "fullname" . }}
|
||||
key: jenkins-password
|
||||
- name: JENKINS_HOME
|
||||
value: {{ .Values.jenkinsHome | quote }}
|
||||
- name: DISABLE_JENKINS_INITIALIZATION
|
||||
value: {{ .Values.disableInitialization | quote }}
|
||||
{{- if .Values.javaOpts }}
|
||||
- name: JAVA_OPTS
|
||||
value: {{ .Values.javaOpts | quote }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 8080
|
||||
|
||||
@@ -15,7 +15,7 @@ image:
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
# - myRegistrKeySecretName
|
||||
|
||||
## User of the application
|
||||
## ref: https://github.com/bitnami/bitnami-docker-jenkins#configuration
|
||||
@@ -28,6 +28,18 @@ jenkinsUser: user
|
||||
##
|
||||
# jenkinsPassword:
|
||||
|
||||
## Jenkins home directory
|
||||
##
|
||||
homeDir: /opt/bitnami/jenkins/jenkins_home
|
||||
|
||||
## Allows to disable the initial Bitnami configuration for Jenkins
|
||||
##
|
||||
disableInitialization: no
|
||||
|
||||
## Customize JVM parameters
|
||||
##
|
||||
# javaOpts:
|
||||
|
||||
## Kubernetes configuration
|
||||
## For minikube, set this to NodePort, elsewhere use LoadBalancer
|
||||
##
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: kafka
|
||||
version: 1.0.0
|
||||
version: 1.0.2
|
||||
appVersion: 2.0.0
|
||||
description: Apache Kafka is a distributed streaming platform.
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/kafka
|
||||
|
||||
This chart bootstraps a [Kafka](https://github.com/bitnami/bitnami-docker-kafka) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -61,7 +61,7 @@ To connect to your Kafka server from outside the cluster execute the following c
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "kafka.fullname" . }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kafka.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kafka.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo "Kafka URL: http://$SERVICE_IP:9092"
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
@@ -284,7 +284,7 @@ metrics:
|
||||
# memory: 100Mi
|
||||
|
||||
## Credits to the incubator/kafka chart for the JMX configuration.
|
||||
## https://github.com/kubernetes/charts/tree/master/incubator/kafka
|
||||
## https://github.com/helm/charts/tree/master/incubator/kafka
|
||||
##
|
||||
## Rules to apply to the Prometheus JMX Exporter. Note while lots of stats have been cleaned and exposed,
|
||||
## there are still more stats to clean up and expose, others will never get exposed. They keep lots of duplicates
|
||||
|
||||
@@ -284,7 +284,7 @@ metrics:
|
||||
# memory: 100Mi
|
||||
|
||||
## Credits to the incubator/kafka chart for the JMX configuration.
|
||||
## https://github.com/kubernetes/charts/tree/master/incubator/kafka
|
||||
## https://github.com/helm/charts/tree/master/incubator/kafka
|
||||
##
|
||||
## Rules to apply to the Prometheus JMX Exporter. Note while lots of stats have been cleaned and exposed,
|
||||
## there are still more stats to clean up and expose, others will never get exposed. They keep lots of duplicates
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
name: kubeapps
|
||||
version: 0.5.1
|
||||
appVersion: v1.0.0-beta.1
|
||||
version: 0.6.1
|
||||
appVersion: v1.0.0-beta.2
|
||||
description: Kubeapps is a dashboard for your Kubernetes cluster that makes it easy to deploy and manage applications in your cluster using Helm
|
||||
icon: https://raw.githubusercontent.com/kubeapps/kubeapps/master/docs/img/logo.png
|
||||
keywords:
|
||||
@@ -13,7 +13,7 @@ home: https://kubeapps.com
|
||||
sources:
|
||||
- https://github.com/kubeapps/kubeapps
|
||||
maintainers:
|
||||
- name: bitnami-bot
|
||||
- name: Bitnami
|
||||
email: containers@bitnami.com
|
||||
- name: prydonius
|
||||
email: adnan@bitnami.com
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# <img src="https://github.com/kubeapps/kubeapps/raw/master/docs/img/logo.png" width="40" align="left"> Kubeapps
|
||||
# Kubeapps
|
||||
|
||||
[](https://travis-ci.org/kubeapps/kubeapps)
|
||||
|
||||
@@ -50,7 +50,11 @@ The command deploys Kubeapps on the Kubernetes cluster in the `kubeapps` namespa
|
||||
|
||||
## Upgrading Kubeapps
|
||||
|
||||
To upgrade Kubeapps, first ensure you have the updated your local chart repository cache:
|
||||
You can upgrade Kubeapps from the Kubeapps web interface. Select the namespace in which Kubeapps is installed (`kubeapps` if you followed the instructions in this guide) and click on the "Upgrade" button. Select the new version and confirm.
|
||||
|
||||
> NOTE: If the chart values were modified when deploying Kubeapps the first time, those values need to be set again when upgrading.
|
||||
|
||||
You can also use the Helm CLI to upgrade Kubeapps, first ensure you have updated your local chart repository cache:
|
||||
|
||||
```console
|
||||
$ helm repo update
|
||||
@@ -61,12 +65,9 @@ Now upgrade Kubeapps:
|
||||
```console
|
||||
$ export RELEASE_NAME=kubeapps
|
||||
$ export NAMESPACE=kubeapps
|
||||
$ export MONGODB_ROOT_PASSWORD=$(kubectl get secret --namespace $NAMESPACE $RELEASE_NAME-mongodb -o jsonpath="{.data.mongodb-root-password}" | base64 --decode)
|
||||
$ helm upgrade $RELEASE_NAME bitnami/kubeapps --set mongodb.mongodbRootPassword=$MONGODB_ROOT_PASSWORD
|
||||
$ helm upgrade $RELEASE_NAME bitnami/kubeapps
|
||||
```
|
||||
|
||||
The above commands ensure the MongoDB password is set to the existing password and not regenerated by the chart.
|
||||
|
||||
## Uninstalling Kubeapps
|
||||
|
||||
To uninstall/delete the `kubeapps` deployment:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: mongodb
|
||||
repository: https://kubernetes-charts.storage.googleapis.com
|
||||
version: 4.3.1
|
||||
version: 4.3.7
|
||||
digest: sha256:415440e73af7d4b02a10a15f28bb2fc095cbdffdc2e1676d76e0f0eaa1632d50
|
||||
generated: 2018-09-06T11:42:11.193527286-07:00
|
||||
generated: 2018-09-28T12:48:52.725939266+02:00
|
||||
|
||||
@@ -35,13 +35,13 @@ To access Kubeapps from outside your K8s cluster, follow the steps below:
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status by running 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "kubeapps.fullname" . }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kubeapps.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "kubeapps.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo "Kubeapps URL: http://$SERVICE_IP:{{ .Values.frontend.service.port }}"
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.frontend.service.type }}
|
||||
|
||||
echo "Kubeapps URL: http://127.0.0.1:8080"
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "kubeapps.fullname" . }}" -o name)
|
||||
export POD_NAME=$(kubectl get pods --namespace {{ .Release.Namespace }} -l "app={{ template "kubeapps.fullname" . }}" -o jsonpath="{.items[0].metadata.name}")
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} $POD_NAME 8080:8080
|
||||
|
||||
{{- end }}
|
||||
|
||||
@@ -68,6 +68,20 @@ Create name for the apprepository cleanup job
|
||||
{{ template "kubeapps.fullname" . }}-internal-apprepository-jobs-cleanup
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create name for the mongodb secret bootstrap job
|
||||
*/}}
|
||||
{{- define "kubeapps.mongodb-jobs-cleanup.fullname" -}}
|
||||
{{ template "kubeapps.fullname" . }}-internal-mongodb-jobs-cleanup
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create name for the kubeapps upgrade job
|
||||
*/}}
|
||||
{{- define "kubeapps.kubeapps-jobs-upgrade.fullname" -}}
|
||||
{{ template "kubeapps.fullname" . }}-internal-kubeapps-jobs-upgrade
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create name for the chartsvc based on the fullname
|
||||
*/}}
|
||||
|
||||
@@ -30,7 +30,7 @@ spec:
|
||||
- --repo-sync-image={{ template "kubeapps.image" .Values.apprepository.syncImage }}
|
||||
- --namespace={{ .Release.Namespace }}
|
||||
- --mongo-url={{ template "kubeapps.mongodb.fullname" . }}
|
||||
- --mongo-secret-name={{ template "kubeapps.mongodb.fullname" . }}
|
||||
- --mongo-secret-name={{ .Values.mongodb.existingSecret }}
|
||||
resources:
|
||||
{{ toYaml .Values.apprepository.resources | indent 12 }}
|
||||
{{- with .Values.apprepository.nodeSelector }}
|
||||
|
||||
@@ -19,7 +19,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: kubectl
|
||||
image: {{ template "kubeapps.image" .Values.apprepository.jobsImage }}
|
||||
image: {{ template "kubeapps.image" .Values.hooks.image }}
|
||||
command:
|
||||
- kubectl
|
||||
- apply
|
||||
@@ -28,23 +28,21 @@ spec:
|
||||
volumeMounts:
|
||||
- mountPath: /tmp/apprepositories
|
||||
name: apprepositories-config
|
||||
resources:
|
||||
{{ toYaml .Values.apprepository.resources | indent 12 }}
|
||||
volumes:
|
||||
- name: apprepositories-config
|
||||
configMap:
|
||||
name: {{ template "kubeapps.apprepository-jobs-bootstrap.fullname" . }}
|
||||
restartPolicy: OnFailure
|
||||
serviceAccountName: {{ template "kubeapps.apprepository-jobs-bootstrap.fullname" . }}
|
||||
{{- with .Values.apprepository.nodeSelector }}
|
||||
{{- with .Values.hooks.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.apprepository.affinity }}
|
||||
{{- with .Values.hooks.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.apprepository.tolerations }}
|
||||
{{- with.Values.hooks.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -20,7 +20,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: kubectl
|
||||
image: {{ template "kubeapps.image" .Values.apprepository.jobsImage }}
|
||||
image: {{ template "kubeapps.image" .Values.hooks.image }}
|
||||
command:
|
||||
- kubectl
|
||||
- delete
|
||||
@@ -28,19 +28,17 @@ spec:
|
||||
- -n
|
||||
- {{ .Release.Namespace }}
|
||||
- --all
|
||||
resources:
|
||||
{{ toYaml .Values.apprepository.resources | indent 12 }}
|
||||
restartPolicy: OnFailure
|
||||
serviceAccountName: {{ template "kubeapps.apprepository-jobs-cleanup.fullname" . }}
|
||||
{{- with .Values.apprepository.nodeSelector }}
|
||||
{{- with .Values.hooks.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.apprepository.affinity }}
|
||||
{{- with .Values.hooks.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.apprepository.tolerations }}
|
||||
{{- with .Values.hooks.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -31,7 +31,7 @@ spec:
|
||||
- name: MONGO_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "kubeapps.mongodb.fullname" . }}
|
||||
name: {{ .Values.mongodb.existingSecret }}
|
||||
key: mongodb-root-password
|
||||
ports:
|
||||
- name: http
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-upgrade
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
helm.sh/hook-weight: "-10"
|
||||
labels:
|
||||
app: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- kubeapps.com
|
||||
resources:
|
||||
- apprepositories
|
||||
verbs:
|
||||
- get
|
||||
- create
|
||||
- patch
|
||||
- delete
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- secrets
|
||||
- pods
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- create
|
||||
- delete
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-upgrade
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
helm.sh/hook-weight: "-10"
|
||||
labels:
|
||||
app: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-upgrade
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
helm.sh/hook-weight: "-10"
|
||||
labels:
|
||||
app: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
@@ -0,0 +1,58 @@
|
||||
# This is a temporary upgrade hook for installating a version prior
|
||||
# to 0.6 since the process of creating the mongodb secret changed
|
||||
# It should be removed at https://github.com/kubeapps/kubeapps/issues/699
|
||||
# This Job creates the mongodb credentials secret if it doesn't exists
|
||||
# and it resyncs the existing apprepositories.
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-upgrade
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
labels:
|
||||
app: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
containers:
|
||||
- name: kubectl
|
||||
image: {{ template "kubeapps.image" .Values.hooks.image }}
|
||||
command:
|
||||
- /bin/sh
|
||||
- -c
|
||||
args:
|
||||
- |-
|
||||
# Recreate MongoDB secret if doesn't exists (happens for chart versions < 0.5.2)
|
||||
if kubectl get secrets -n {{ .Release.Namespace }} {{ .Values.mongodb.existingSecret }}; then
|
||||
# Secret exists, do nothing
|
||||
echo "MongoDB secret found"
|
||||
else
|
||||
# Secret doesn't exists, create it and restart mongodb
|
||||
kubectl create secret generic -n {{ .Release.Namespace }} {{ .Values.mongodb.existingSecret }} --from-literal mongodb-root-password=`cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1`
|
||||
kubectl delete pods -n {{ .Release.Namespace }} -l app=mongodb,release={{ .Release.Name }}
|
||||
kubectl rollout status -n {{ .Release.Namespace }} deployment/{{ .Release.Name }}-mongodb
|
||||
# Re-sync repositories reseting resyncRequests
|
||||
kubectl get apprepositories -o=name -n kubeapps {{ .Release.Namespace }} | xargs kubectl patch $1 -n {{ .Release.Namespace }} --type merge -p '{ "spec": { "resyncRequests": 0 } }'
|
||||
fi
|
||||
restartPolicy: OnFailure
|
||||
serviceAccountName: {{ template "kubeapps.kubeapps-jobs-upgrade.fullname" . }}
|
||||
{{- with .Values.hooks.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.hooks.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.hooks.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,44 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-delete
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
helm.sh/hook-weight: "-10"
|
||||
labels:
|
||||
app: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
rules:
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- delete
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1beta1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-delete
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
helm.sh/hook-weight: "-10"
|
||||
labels:
|
||||
app: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end -}}
|
||||
@@ -0,0 +1,13 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-delete
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
helm.sh/hook-weight: "-10"
|
||||
labels:
|
||||
app: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
@@ -0,0 +1,41 @@
|
||||
apiVersion: batch/v1
|
||||
kind: Job
|
||||
metadata:
|
||||
name: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
annotations:
|
||||
helm.sh/hook: post-delete
|
||||
helm.sh/hook-delete-policy: hook-succeeded
|
||||
labels:
|
||||
app: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
release: {{ .Release.Name }}
|
||||
spec:
|
||||
containers:
|
||||
- name: kubectl
|
||||
image: {{ template "kubeapps.image" .Values.hooks.image }}
|
||||
command:
|
||||
- /bin/sh
|
||||
args:
|
||||
- -c
|
||||
- "kubectl delete secret -n {{ .Release.Namespace }} {{ .Values.mongodb.existingSecret }} || true"
|
||||
restartPolicy: OnFailure
|
||||
serviceAccountName: {{ template "kubeapps.mongodb-jobs-cleanup.fullname" . }}
|
||||
{{- with .Values.hooks.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.hooks.affinity }}
|
||||
affinity:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
{{- with .Values.hooks.tolerations }}
|
||||
tolerations:
|
||||
{{ toYaml . | indent 8 }}
|
||||
{{- end }}
|
||||
@@ -0,0 +1,14 @@
|
||||
{{- if .Values.mongodb.existingSecret -}}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .Values.mongodb.existingSecret }}
|
||||
annotations:
|
||||
helm.sh/hook: pre-install
|
||||
labels:
|
||||
chart: {{ template "kubeapps.chart" . }}
|
||||
release: {{ .Release.Name }}
|
||||
heritage: {{ .Release.Service }}
|
||||
data:
|
||||
mongodb-root-password: {{ randAlphaNum 10 | b64enc | quote }}
|
||||
{{- end -}}
|
||||
@@ -55,17 +55,12 @@ apprepository:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: kubeapps/apprepository-controller
|
||||
tag: v1.0.0-beta.1
|
||||
tag: v1.0.0-beta.2
|
||||
# Image used to perform chart repository syncs
|
||||
syncImage:
|
||||
registry: docker.io
|
||||
repository: kubeapps/chart-repo
|
||||
tag: v1.0.0-beta.1
|
||||
# This image is used in a Helm post-install hook to bootstrap the initialRepos below
|
||||
jobsImage:
|
||||
registry: docker.io
|
||||
repository: lachlanevenson/k8s-kubectl
|
||||
tag: v1.9.9
|
||||
tag: v1.0.0-beta.2
|
||||
initialRepos:
|
||||
- name: stable
|
||||
url: https://kubernetes-charts.storage.googleapis.com
|
||||
@@ -87,6 +82,17 @@ apprepository:
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
# Hooks are used to perform actions like populating apprepositories
|
||||
# or creating required resources during installation or upgrade
|
||||
hooks:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: lachlanevenson/k8s-kubectl
|
||||
tag: v1.9.9
|
||||
nodeSelector: {}
|
||||
tolerations: []
|
||||
affinity: {}
|
||||
|
||||
# Tiller Proxy is a secure REST API on top of Helm's Tiller component used to
|
||||
# manage Helm chart releases in the cluster from Kubeapps. Set tillerProxy.host
|
||||
# to configure a different Tiller host to use.
|
||||
@@ -95,7 +101,7 @@ tillerProxy:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: kubeapps/tiller-proxy
|
||||
tag: v1.0.0-beta.1
|
||||
tag: v1.0.0-beta.2
|
||||
service:
|
||||
port: 8080
|
||||
host: tiller-deploy.kube-system:44134
|
||||
@@ -122,7 +128,7 @@ chartsvc:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: kubeapps/chartsvc
|
||||
tag: v1.0.0-beta.1
|
||||
tag: v1.0.0-beta.2
|
||||
service:
|
||||
port: 8080
|
||||
# https://github.com/kubeapps/kubeapps/issues/478#issuecomment-422979262
|
||||
@@ -157,7 +163,7 @@ dashboard:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: kubeapps/dashboard
|
||||
tag: v1.0.0-beta.1
|
||||
tag: v1.0.0-beta.2
|
||||
service:
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
@@ -188,6 +194,8 @@ mongodb:
|
||||
# Kubeapps uses MongoDB as a cache and persistence is not required
|
||||
persistence:
|
||||
enabled: false
|
||||
# MongoDB credentials are handled by kubeapps to facilitate upgrades
|
||||
existingSecret: kubeapps-mongodb
|
||||
# https://github.com/kubeapps/kubeapps/issues/478#issuecomment-422979262
|
||||
resources:
|
||||
limits:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: mean
|
||||
version: 4.0.0
|
||||
version: 4.0.2
|
||||
appVersion: 3.6.4
|
||||
description: MEAN is a free and open-source JavaScript software stack for building dynamic web sites and web applications. The MEAN stack is MongoDB, Express.js, Angular, and Node.js. Because all components of the MEAN stack support programs written in JavaScript, MEAN applications can be written in one language for both server-side and client-side execution environments.
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/mean
|
||||
|
||||
This chart bootstraps a [NodeJS](https://github.com/bitnami/bitnami-docker-node) and a [MongoDB](https://github.com/bitnami/bitnami-docker-mongodb) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
It clones and deploys a Node.js application from a git repository. Defaults to a demo MEAN application: https://github.com/bitnami/sample-mean.git
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc -w {{ template "mean.fullname" . }} --namespace {{ .Release.Namespace }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "mean.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "mean.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo "MEAN app URL: http://$SERVICE_IP/"
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: memcached
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
appVersion: 1.5.10
|
||||
description: Chart for Memcached
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/memcached
|
||||
|
||||
This chart bootstraps a [Memcached](https://github.com/bitnami/bitnami-docker-memcached) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: metrics-server
|
||||
version: 2.0.0
|
||||
appVersion: 0.2.1
|
||||
version: 2.0.5
|
||||
appVersion: 0.3.1
|
||||
description: Metrics Server is a cluster-wide aggregator of resource usage data. Metrics Server collects metrics from the Summary API, exposed by Kubelet on each node.
|
||||
keywords:
|
||||
- metrics-server
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/metrics-server
|
||||
|
||||
This chart bootstraps a [Metrics Server](https://github.com/bitnami/bitnami-docker-metrics-server) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.8+ with Beta APIs enabled
|
||||
|
||||
@@ -32,3 +32,11 @@ Create the name of the service account to use
|
||||
{{ default "default" .Values.serviceAccount.name }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper metrics-server image name
|
||||
*/}}
|
||||
{{- define "metrics-server.image" -}}
|
||||
{{- $tag := .Values.image.tag | toString -}}
|
||||
{{- printf "%s/%s:%s" .Values.image.registry .Values.image.repository $tag -}}
|
||||
{{- end -}}
|
||||
@@ -19,4 +19,11 @@ rules:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- nodes/stats
|
||||
verbs:
|
||||
- get
|
||||
- create
|
||||
{{- end -}}
|
||||
|
||||
@@ -27,13 +27,12 @@ spec:
|
||||
serviceAccountName: {{ template "metrics-server.serviceAccountName" . }}
|
||||
containers:
|
||||
- name: metrics-server
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
image: {{ template "metrics-server.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
ports:
|
||||
- name: https
|
||||
containerPort: {{ .Values.securePort }}
|
||||
command:
|
||||
- metrics-server
|
||||
- --source=kubernetes.summary_api:''
|
||||
- --secure-port={{ .Values.securePort }}
|
||||
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/metrics-server
|
||||
tag: 0.2.1
|
||||
tag: 0.3.1-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: mysql
|
||||
version: 4.0.2
|
||||
version: 4.0.5
|
||||
appVersion: 5.7.23
|
||||
description: Chart to create a Highly available MySQL cluster
|
||||
keywords:
|
||||
|
||||
+70
-66
@@ -12,6 +12,8 @@ $ helm install bitnami/mysql
|
||||
|
||||
This chart bootstraps a [MySQL](https://github.com/bitnami/bitnami-docker-mysql) replication cluster deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
@@ -43,72 +45,74 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
|
||||
The following tables lists the configurable parameters of the MySQL chart and their default values.
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|-------------------------------------------|-----------------------------------------------------|-------------------------------------------------------------------|
|
||||
| `image.registry` | MySQL image registry | `docker.io` |
|
||||
| `image.repository` | MySQL Image name | `bitnami/mysql` |
|
||||
| `image.tag` | MySQL Image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | MySQL image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
|
||||
| `service.type` | Kubernetes service type | `ClusterIP` |
|
||||
| `service.port` | MySQL service port | `3306` |
|
||||
| `root.password` | Password for the `root` user | _random 10 character alphanumeric string_ |
|
||||
| `db.user` | Username of new user to create | `nil` |
|
||||
| `db.password` | Password for the new user | _random 10 character alphanumeric string if `db.user` is defined_ |
|
||||
| `db.name` | Name for new database to create | `my_database` |
|
||||
| `securityContext.enabled` | Enable security context | `true` |
|
||||
| `securityContext.fsGroup` | Group ID for the container | `1001` |
|
||||
| `securityContext.runAsUser` | User ID for the container | `1001` | `replication.enabled` | MySQL replication enabled | `true` |
|
||||
| `replication.user` | MySQL replication user | `replicator` |
|
||||
| `replication.password` | MySQL replication user password | _random 10 character alphanumeric string_ |
|
||||
| `master.antiAffinity` | Master pod anti-affinity policy | `soft` |
|
||||
| `master.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` |
|
||||
| `master.persistence.existingClaim` | Provide an existing `PersistentVolumeClaim` | `nil` |
|
||||
| `master.persistence.mountPath` | Configure existing `PersistentVolumeClaim` mount path | `""` |
|
||||
| `master.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `master.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `master.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `master.config` | Config file for the MySQL Master server | `_default values in the values.yaml file_` |
|
||||
| `master.resources` | CPU/Memory resource requests/limits for master node | `{}` |
|
||||
| `master.livenessProbe.enabled` | Turn on and off liveness probe (master) | `true` |
|
||||
| `master.livenessProbe.initialDelaySeconds`| Delay before liveness probe is initiated (master) | `120` |
|
||||
| `master.livenessProbe.periodSeconds` | How often to perform the probe (master) | `10` |
|
||||
| `master.livenessProbe.timeoutSeconds` | When the probe times out (master) | `1` |
|
||||
| `master.livenessProbe.successThreshold` | Minimum consecutive successes for the probe (master)| `1` |
|
||||
| `master.livenessProbe.failureThreshold` | Minimum consecutive failures for the probe (master) | `3` |
|
||||
| `master.readinessProbe.enabled` | Turn on and off readiness probe (master) | `true` |
|
||||
| `master.readinessProbe.initialDelaySeconds`| Delay before readiness probe is initiated (master) | `30` |
|
||||
| `master.readinessProbe.periodSeconds` | How often to perform the probe (master) | `10` |
|
||||
| `master.readinessProbe.timeoutSeconds` | When the probe times out (master) | `1` |
|
||||
| `master.readinessProbe.successThreshold` | Minimum consecutive successes for the probe (master)| `1` |
|
||||
| `master.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe (master) | `3` |
|
||||
| `slave.replicas` | Desired number of slave replicas | `1` |
|
||||
| `slave.antiAffinity` | Slave pod anti-affinity policy | `soft` |
|
||||
| `slave.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` |
|
||||
| `slave.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `slave.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `slave.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `slave.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `slave.config` | Config file for the MySQL Slave replicas | `_default values in the values.yaml file_` |
|
||||
| `slave.resources` | CPU/Memory resource requests/limits for slave node | `{}` |
|
||||
| `slave.livenessProbe.enabled` | Turn on and off liveness probe (slave) | `true` |
|
||||
| `slave.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (slave) | `120` |
|
||||
| `slave.livenessProbe.periodSeconds` | How often to perform the probe (slave) | `10` |
|
||||
| `slave.livenessProbe.timeoutSeconds` | When the probe times out (slave) | `1` |
|
||||
| `slave.livenessProbe.successThreshold` | Minimum consecutive successes for the probe (slave) | `1` |
|
||||
| `slave.livenessProbe.failureThreshold` | Minimum consecutive failures for the probe (slave) | `3` |
|
||||
| `slave.readinessProbe.enabled` | Turn on and off readiness probe (slave) | `true` |
|
||||
| `slave.readinessProbe.initialDelaySeconds`| Delay before readiness probe is initiated (slave) | `30` |
|
||||
| `slave.readinessProbe.periodSeconds` | How often to perform the probe (slave) | `10` |
|
||||
| `slave.readinessProbe.timeoutSeconds` | When the probe times out (slave) | `1` |
|
||||
| `slave.readinessProbe.successThreshold` | Minimum consecutive successes for the probe (slave) | `1` |
|
||||
| `slave.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe (slave) | `3` |
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image` | Exporter image name | `prom/mysqld-exporter` |
|
||||
| `metrics.imageTag` | Exporter image tag | `v0.10.0` |
|
||||
| `metrics.imagePullPolicy` | Exporter image pull policy | `IfNotPresent` |
|
||||
| `metrics.resources` | Exporter resource requests/limit | `nil` |
|
||||
| Parameter | Description | Default |
|
||||
|-------------------------------------------|-------------------------------------------------------|-------------------------------------------------------------------|
|
||||
| `image.registry` | MySQL image registry | `docker.io` |
|
||||
| `image.repository` | MySQL Image name | `bitnami/mysql` |
|
||||
| `image.tag` | MySQL Image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | MySQL image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
|
||||
| `service.type` | Kubernetes service type | `ClusterIP` |
|
||||
| `service.port` | MySQL service port | `3306` |
|
||||
| `root.password` | Password for the `root` user | _random 10 character alphanumeric string_ |
|
||||
| `db.user` | Username of new user to create | `nil` |
|
||||
| `db.password` | Password for the new user | _random 10 character alphanumeric string if `db.user` is defined_ |
|
||||
| `db.name` | Name for new database to create | `my_database` |
|
||||
| `securityContext.enabled` | Enable security context | `true` |
|
||||
| `securityContext.fsGroup` | Group ID for the container | `1001` |
|
||||
| `securityContext.runAsUser` | User ID for the container | `1001` |
|
||||
| `replication.enabled` | MySQL replication enabled | `true` |
|
||||
| `replication.user` | MySQL replication user | `replicator` |
|
||||
| `replication.password` | MySQL replication user password | _random 10 character alphanumeric string_ |
|
||||
| `master.antiAffinity` | Master pod anti-affinity policy | `soft` |
|
||||
| `master.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` |
|
||||
| `master.persistence.existingClaim` | Provide an existing `PersistentVolumeClaim` | `nil` |
|
||||
| `master.persistence.mountPath` | Configure `PersistentVolumeClaim` mount path | `/bitnami/mysql` |
|
||||
| `master.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `master.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `master.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `master.config` | Config file for the MySQL Master server | `_default values in the values.yaml file_` |
|
||||
| `master.resources` | CPU/Memory resource requests/limits for master node | `{}` |
|
||||
| `master.livenessProbe.enabled` | Turn on and off liveness probe (master) | `true` |
|
||||
| `master.livenessProbe.initialDelaySeconds`| Delay before liveness probe is initiated (master) | `120` |
|
||||
| `master.livenessProbe.periodSeconds` | How often to perform the probe (master) | `10` |
|
||||
| `master.livenessProbe.timeoutSeconds` | When the probe times out (master) | `1` |
|
||||
| `master.livenessProbe.successThreshold` | Minimum consecutive successes for the probe (master) | `1` |
|
||||
| `master.livenessProbe.failureThreshold` | Minimum consecutive failures for the probe (master) | `3` |
|
||||
| `master.readinessProbe.enabled` | Turn on and off readiness probe (master) | `true` |
|
||||
| `master.readinessProbe.initialDelaySeconds`| Delay before readiness probe is initiated (master) | `30` |
|
||||
| `master.readinessProbe.periodSeconds` | How often to perform the probe (master) | `10` |
|
||||
| `master.readinessProbe.timeoutSeconds` | When the probe times out (master) | `1` |
|
||||
| `master.readinessProbe.successThreshold` | Minimum consecutive successes for the probe (master) | `1` |
|
||||
| `master.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe (master) | `3` |
|
||||
| `slave.replicas` | Desired number of slave replicas | `1` |
|
||||
| `slave.antiAffinity` | Slave pod anti-affinity policy | `soft` |
|
||||
| `slave.persistence.enabled` | Enable persistence using a `PersistentVolumeClaim` | `true` |
|
||||
| `slave.persistence.mountPath` | Configure `PersistentVolumeClaim` mount path | `/bitnami/mysql` |
|
||||
| `slave.persistence.annotations` | Persistent Volume Claim annotations | `{}` |
|
||||
| `slave.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `slave.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `slave.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `slave.config` | Config file for the MySQL Slave replicas | `_default values in the values.yaml file_` |
|
||||
| `slave.resources` | CPU/Memory resource requests/limits for slave node | `{}` |
|
||||
| `slave.livenessProbe.enabled` | Turn on and off liveness probe (slave) | `true` |
|
||||
| `slave.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated (slave) | `120` |
|
||||
| `slave.livenessProbe.periodSeconds` | How often to perform the probe (slave) | `10` |
|
||||
| `slave.livenessProbe.timeoutSeconds` | When the probe times out (slave) | `1` |
|
||||
| `slave.livenessProbe.successThreshold` | Minimum consecutive successes for the probe (slave) | `1` |
|
||||
| `slave.livenessProbe.failureThreshold` | Minimum consecutive failures for the probe (slave) | `3` |
|
||||
| `slave.readinessProbe.enabled` | Turn on and off readiness probe (slave) | `true` |
|
||||
| `slave.readinessProbe.initialDelaySeconds`| Delay before readiness probe is initiated (slave) | `30` |
|
||||
| `slave.readinessProbe.periodSeconds` | How often to perform the probe (slave) | `10` |
|
||||
| `slave.readinessProbe.timeoutSeconds` | When the probe times out (slave) | `1` |
|
||||
| `slave.readinessProbe.successThreshold` | Minimum consecutive successes for the probe (slave) | `1` |
|
||||
| `slave.readinessProbe.failureThreshold` | Minimum consecutive failures for the probe (slave) | `3` |
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image` | Exporter image name | `prom/mysqld-exporter` |
|
||||
| `metrics.imageTag` | Exporter image tag | `v0.10.0` |
|
||||
| `metrics.imagePullPolicy` | Exporter image pull policy | `IfNotPresent` |
|
||||
| `metrics.resources` | Exporter resource requests/limit | `nil` |
|
||||
|
||||
The above parameters map to the env variables defined in [bitnami/mysql](http://github.com/bitnami/bitnami-docker-mysql). For more information please refer to the [bitnami/mysql](http://github.com/bitnami/bitnami-docker-mysql) image documentation.
|
||||
|
||||
|
||||
@@ -117,18 +117,18 @@ spec:
|
||||
resources:
|
||||
{{ toYaml .Values.master.resources | indent 10 }}
|
||||
volumeMounts:
|
||||
{{- if .Values.master.persistence.existingClaim }}
|
||||
- name: {{ .Values.master.persistence.existingClaim }}
|
||||
{{- else }}
|
||||
- name: data
|
||||
mountPath: /bitnami/mysql
|
||||
{{- end }}
|
||||
mountPath: {{ .Values.master.persistence.mountPath }}
|
||||
- name: custom-init-scripts
|
||||
mountPath: /docker-entrypoint-initdb.d
|
||||
{{- if .Values.master.config }}
|
||||
- name: config
|
||||
mountPath: /opt/bitnami/mysql/conf/my.cnf
|
||||
subPath: my.cnf
|
||||
{{- if .Values.master.persistence.existingClaim }}
|
||||
- name: {{ .Values.master.persistence.existingClaim }}
|
||||
mountPath: {{ .Values.master.persistence.mountPath }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.enabled }}
|
||||
- name: metrics
|
||||
@@ -173,7 +173,7 @@ spec:
|
||||
- name: custom-init-scripts
|
||||
configMap:
|
||||
name: {{ template "mysql.master.fullname" . }}-init-scripts
|
||||
{{- if .Values.master.persistence.enabled }}
|
||||
{{- if and .Values.master.persistence.enabled ( not .Values.master.persistence.existingClaim ) }}
|
||||
volumeClaimTemplates:
|
||||
- metadata:
|
||||
name: data
|
||||
|
||||
@@ -65,22 +65,6 @@ spec:
|
||||
image: {{ template "mysql.image" . }}
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "fullname" . }}
|
||||
key: mysql-root-password
|
||||
{{- if .Values.db.user }}
|
||||
- name: MYSQL_USER
|
||||
value: "{{ .Values.db.user }}"
|
||||
- name: MYSQL_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "fullname" . }}
|
||||
key: mysql-password
|
||||
{{- end }}
|
||||
- name: MYSQL_DATABASE
|
||||
value: "{{ .Values.db.name }}"
|
||||
- name: MYSQL_REPLICATION_MODE
|
||||
value: "slave"
|
||||
- name: MYSQL_MASTER_HOST
|
||||
@@ -107,7 +91,7 @@ spec:
|
||||
{{- if .Values.slave.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
exec:
|
||||
command: ["sh", "-c", "exec mysqladmin status -uroot -p$MYSQL_ROOT_PASSWORD"]
|
||||
command: ["sh", "-c", "exec mysqladmin status -uroot -p$MYSQL_MASTER_ROOT_PASSWORD"]
|
||||
initialDelaySeconds: {{ .Values.slave.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.slave.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.slave.livenessProbe.timeoutSeconds }}
|
||||
@@ -117,7 +101,7 @@ spec:
|
||||
{{- if .Values.slave.readinessProbe.enabled }}
|
||||
readinessProbe:
|
||||
exec:
|
||||
command: ["sh", "-c", "exec mysqladmin status -uroot -p$MYSQL_ROOT_PASSWORD"]
|
||||
command: ["sh", "-c", "exec mysqladmin status -uroot -p$MYSQL_MASTER_ROOT_PASSWORD"]
|
||||
initialDelaySeconds: {{ .Values.slave.readinessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.slave.readinessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.slave.readinessProbe.timeoutSeconds }}
|
||||
@@ -128,7 +112,7 @@ spec:
|
||||
{{ toYaml .Values.slave.resources | indent 10 }}
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /bitnami/mysql
|
||||
mountPath: {{ .Values.slave.persistence.mountPath }}
|
||||
{{- if .Values.slave.config }}
|
||||
- name: config
|
||||
mountPath: /opt/bitnami/mysql/conf/my.cnf
|
||||
@@ -139,12 +123,12 @@ spec:
|
||||
image: {{ template "metrics.image" . }}
|
||||
imagePullPolicy: {{ .Values.metrics.image.pullPolicy | quote }}
|
||||
env:
|
||||
- name: MYSQL_ROOT_PASSWORD
|
||||
- name: MYSQL_MASTER_ROOT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: {{ template "fullname" . }}
|
||||
key: mysql-root-password
|
||||
command: [ 'sh', '-c', 'DATA_SOURCE_NAME="root:$MYSQL_ROOT_PASSWORD@(localhost:3306)/" /bin/mysqld_exporter' ]
|
||||
command: [ 'sh', '-c', 'DATA_SOURCE_NAME="root:$MYSQL_MASTER_ROOT_PASSWORD@(localhost:3306)/" /bin/mysqld_exporter' ]
|
||||
ports:
|
||||
- name: metrics
|
||||
containerPort: 9104
|
||||
|
||||
@@ -85,10 +85,11 @@ master:
|
||||
## If true, use a Persistent Volume Claim, If false, use emptyDir
|
||||
##
|
||||
enabled: true
|
||||
mountPath: /bitnami/mysql
|
||||
## Enable persistence using an existing PVC
|
||||
##
|
||||
# existingClaim:
|
||||
# mountPath:
|
||||
|
||||
## Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
@@ -170,6 +171,7 @@ slave:
|
||||
## If true, use a Persistent Volume Claim, If false, use emptyDir
|
||||
##
|
||||
enabled: true
|
||||
mountPath: /bitnami/mysql
|
||||
# storageClass: "-"
|
||||
annotations:
|
||||
accessModes:
|
||||
|
||||
@@ -86,10 +86,10 @@ master:
|
||||
## If true, use a Persistent Volume Claim, If false, use emptyDir
|
||||
##
|
||||
enabled: true
|
||||
mountPath: /bitnami/mysql
|
||||
## Enable persistence using an existing PVC
|
||||
##
|
||||
# existingClaim:
|
||||
# mountPath:
|
||||
## Persistent Volume Storage Class
|
||||
## If defined, storageClassName: <storageClass>
|
||||
## If set to "-", storageClassName: "", which disables dynamic provisioning
|
||||
@@ -172,6 +172,7 @@ slave:
|
||||
## If true, use a Persistent Volume Claim, If false, use emptyDir
|
||||
##
|
||||
enabled: true
|
||||
mountPath: /bitnami/mysql
|
||||
# storageClass: "-"
|
||||
annotations:
|
||||
accessModes:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: nginx-ingress-controller
|
||||
version: 1.0.0
|
||||
appVersion: 0.18.0
|
||||
version: 2.0.3
|
||||
appVersion: 0.19.0
|
||||
description: Chart for the nginx Ingress controller
|
||||
keywords:
|
||||
- ingress
|
||||
|
||||
@@ -14,6 +14,8 @@ Bitnami charts for Helm are carefully engineered, actively maintained and are th
|
||||
|
||||
This chart bootstraps a [nginx-ingress](https://github.com/kubernetes/ingress-nginx) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.6+
|
||||
|
||||
@@ -65,3 +65,10 @@ Return the proper nginx-ingress-controller image name
|
||||
{{- $tag := .Values.image.tag | toString -}}
|
||||
{{- printf "%s/%s:%s" .Values.image.registry .Values.image.repository $tag -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create chart name and version as used by the chart label.
|
||||
*/}}
|
||||
{{- define "nginx-ingress-controller.chart" -}}
|
||||
{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
@@ -28,6 +28,7 @@ spec:
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ template "nginx-ingress.name" . }}
|
||||
chart: {{ template "nginx-ingress-controller.chart" . }}
|
||||
component: "{{ .Values.name }}"
|
||||
release: {{ .Release.Name }}
|
||||
{{- if .Values.podLabels }}
|
||||
@@ -42,6 +43,9 @@ spec:
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: "{{ .Values.priorityClassName }}"
|
||||
{{- end }}
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||
containers:
|
||||
- name: {{ template "nginx-ingress.name" . }}-{{ .Values.name }}
|
||||
image: "{{ template "nginx-ingress-controller.image" . }}"
|
||||
@@ -53,20 +57,12 @@ spec:
|
||||
args:
|
||||
- /nginx-ingress-controller
|
||||
- --default-backend-service={{ if .Values.defaultBackend.enabled }}{{ .Release.Namespace }}/{{ template "nginx-ingress.defaultBackend.fullname" . }}{{ else }}{{ .Values.defaultBackendService }}{{ end }}
|
||||
{{- if and (semverCompare ">=0.9.0-beta.1" .Values.image.tag) .Values.publishService.enabled }}
|
||||
{{- if .Values.publishService.enabled }}
|
||||
- --publish-service={{ template "nginx-ingress.publishServicePath" . }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.9.0-beta.1" .Values.image.tag) }}
|
||||
- --election-id={{ .Values.electionID }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.9.0-beta.1" .Values.image.tag) }}
|
||||
- --ingress-class={{ .Values.ingressClass }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.9.0-beta.1" .Values.image.tag) }}
|
||||
- --configmap={{ .Release.Namespace }}/{{ template "nginx-ingress.fullname" . }}
|
||||
{{- else }}
|
||||
- --nginx-configmap={{ .Release.Namespace }}/{{ template "nginx-ingress.fullname" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.tcp }}
|
||||
- --tcp-services-configmap={{ .Release.Namespace }}/{{ template "nginx-ingress.fullname" . }}-tcp
|
||||
{{- end }}
|
||||
@@ -83,16 +79,10 @@ spec:
|
||||
- --{{ $key }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.16.0" .Values.image.tag) }}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
add:
|
||||
- NET_BIND_SERVICE
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||
{{- end }}
|
||||
drop: ["ALL"]
|
||||
add: ["NET_BIND_SERVICE"]
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
|
||||
@@ -28,6 +28,7 @@ spec:
|
||||
{{- end }}
|
||||
labels:
|
||||
app: {{ template "nginx-ingress.name" . }}
|
||||
chart: {{ template "nginx-ingress-controller.chart" . }}
|
||||
component: "{{ .Values.name }}"
|
||||
release: {{ .Release.Name }}
|
||||
{{- if .Values.podLabels }}
|
||||
@@ -42,6 +43,9 @@ spec:
|
||||
{{- if .Values.priorityClassName }}
|
||||
priorityClassName: "{{ .Values.priorityClassName }}"
|
||||
{{- end }}
|
||||
securityContext:
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||
containers:
|
||||
- name: {{ template "nginx-ingress.name" . }}-{{ .Values.name }}
|
||||
image: "{{ template "nginx-ingress-controller.image" . }}"
|
||||
@@ -53,20 +57,12 @@ spec:
|
||||
args:
|
||||
- /nginx-ingress-controller
|
||||
- --default-backend-service={{ if .Values.defaultBackend.enabled }}{{ .Release.Namespace }}/{{ template "nginx-ingress.defaultBackend.fullname" . }}{{ else }}{{ .Values.defaultBackendService }}{{ end }}
|
||||
{{- if and (semverCompare ">=0.9.0-beta.1" .Values.image.tag) .Values.publishService.enabled }}
|
||||
{{- if .Values.publishService.enabled }}
|
||||
- --publish-service={{ template "nginx-ingress.publishServicePath" . }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.9.0-beta.1" .Values.image.tag) }}
|
||||
- --election-id={{ .Values.electionID }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.9.0-beta.1" .Values.image.tag) }}
|
||||
- --ingress-class={{ .Values.ingressClass }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.9.0-beta.1" .Values.image.tag) }}
|
||||
- --configmap={{ .Release.Namespace }}/{{ template "nginx-ingress.fullname" . }}
|
||||
{{- else }}
|
||||
- --nginx-configmap={{ .Release.Namespace }}/{{ template "nginx-ingress.fullname" . }}
|
||||
{{- end }}
|
||||
{{- if .Values.tcp }}
|
||||
- --tcp-services-configmap={{ .Release.Namespace }}/{{ template "nginx-ingress.fullname" . }}-tcp
|
||||
{{- end }}
|
||||
@@ -83,16 +79,10 @@ spec:
|
||||
- --{{ $key }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if (semverCompare ">=0.16.0" .Values.image.tag) }}
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
- ALL
|
||||
add:
|
||||
- NET_BIND_SERVICE
|
||||
fsGroup: {{ .Values.securityContext.fsGroup }}
|
||||
runAsUser: {{ .Values.securityContext.runAsUser }}
|
||||
{{- end }}
|
||||
drop: ["ALL"]
|
||||
add: ["NET_BIND_SERVICE"]
|
||||
env:
|
||||
- name: POD_NAME
|
||||
valueFrom:
|
||||
|
||||
@@ -4,7 +4,7 @@ name: controller
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/nginx-ingress-controller
|
||||
tag: 0.18.0-debian-9
|
||||
tag: 0.19.0-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: nginx
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
appVersion: 1.14.0
|
||||
description: Chart for the nginx server
|
||||
keywords:
|
||||
|
||||
+10
-8
@@ -12,7 +12,9 @@ $ helm install bitnami/nginx
|
||||
|
||||
Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.
|
||||
|
||||
This chart bootstraps a [NGINX](https://github.com/bitnami/bitnami-docker-nginx) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
This chart bootstraps a [NGINX Open Source](https://github.com/bitnami/bitnami-docker-nginx) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Installing the Chart
|
||||
|
||||
@@ -22,7 +24,7 @@ To install the chart with the release name `my-release`:
|
||||
$ helm install --name my-release bitnami/nginx
|
||||
```
|
||||
|
||||
The command deploys NGINX on the Kubernetes cluster in the default configuration.
|
||||
The command deploys NGINX Open Source on the Kubernetes cluster in the default configuration.
|
||||
|
||||
> **Tip**: List all releases using `helm list`
|
||||
|
||||
@@ -38,16 +40,16 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
|
||||
## Configuration
|
||||
|
||||
The following tables lists the configurable parameters of the NGINX chart and their default values.
|
||||
The following tables lists the configurable parameters of the NGINX Open Source chart and their default values.
|
||||
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------- | ------------------------------ | --------------------------------------------------------- |
|
||||
| `image.registry` | Nginx image registry | `docker.io` |
|
||||
| `image.repository` | Nginx Image name | `bitnami/nginx` |
|
||||
| `image.tag` | Nginx Image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | Nginx image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.registry` | NGINX image registry | `docker.io` |
|
||||
| `image.repository` | NGINX Image name | `bitnami/nginx` |
|
||||
| `image.tag` | NGINX Image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | NGINX image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
|
||||
| `vhost` | Custom nginx virtual host | `nil` |
|
||||
| `vhost` | Custom NGINX virtual host | `nil` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: node
|
||||
version: 6.0.0
|
||||
version: 6.0.2
|
||||
appVersion: 10.7.0
|
||||
description: Event-driven I/O server-side JavaScript environment based on V8
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/node
|
||||
|
||||
This chart bootstraps a [Node](https://github.com/bitnami/bitnami-docker-node) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
It clones and deploys a Node.js application from a git repository. Optionally you can set un an Ingress resource to access your application and provision an external database using the k8s service catalog and the Open Service Broker for Azure.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc -w {{ template "node.fullname" . }} --namespace {{ .Release.Namespace }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "node.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "node.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo "Node app URL: http://$SERVICE_IP/"
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: postgresql
|
||||
version: 3.0.0
|
||||
version: 3.0.2
|
||||
appVersion: 10.5.0
|
||||
description: Chart for PostgreSQL
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/postgresql
|
||||
|
||||
This chart bootstraps a [PostgreSQL](https://github.com/bitnami/bitnami-docker-postgresql) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -35,19 +35,19 @@ To connect to your database from outside the cluster execute the following comma
|
||||
|
||||
export NODE_IP=$(kubectl get nodes --namespace {{ .Release.Namespace }} -o jsonpath="{.items[0].status.addresses[0].address}")
|
||||
export NODE_PORT=$(kubectl get --namespace {{ .Release.Namespace }} -o jsonpath="{.spec.ports[0].nodePort}" services {{ template "postgresql.fullname" . }})
|
||||
{{ if .Values.postgresqlPassword }}PGPASSWORD={{ .Values.postgresqlPassword}} "{{- end }}psql --host $NODE_IP --port $NODE_PORT -U {{ .Values.postgresqlUsername }}
|
||||
{{ if .Values.postgresqlPassword }}PGPASSWORD={{ .Values.postgresqlPassword}} "{{- end }}psql --host $NODE_IP --port $NODE_PORT -U {{ .Values.postgresqlUsername }}
|
||||
|
||||
{{- else if contains "LoadBalancer" .Values.service.type }}
|
||||
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "postgresql.fullname" . }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "postgresql.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
{{ if .Values.postgresqlPassword }}PGPASSWORD={{ .Values.postgresqlPassword}} "{{- end }}psql --host $SERVICE_IP --port {{ .Values.service.port }} -U {{ .Values.postgresqlUsername }}
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "postgresql.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
{{ if .Values.postgresqlPassword }}PGPASSWORD={{ .Values.postgresqlPassword}} "{{- end }}psql --host $SERVICE_IP --port {{ .Values.service.port }} -U {{ .Values.postgresqlUsername }}
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
kubectl port-forward --namespace {{ .Release.Namespace }} svc/{{ template "postgresql.fullname" . }} 5432:5432 &
|
||||
{{ if .Values.postgresqlPassword }}PGPASSWORD={{ .Values.postgresqlPassword}} "{{- end }}psql --host 127.0.0.1 -U {{ .Values.postgresqlUsername }}
|
||||
{{ if .Values.postgresqlPassword }}PGPASSWORD={{ .Values.postgresqlPassword}} "{{- end }}psql --host 127.0.0.1 -U {{ .Values.postgresqlUsername }}
|
||||
|
||||
{{- end }}
|
||||
|
||||
@@ -3,26 +3,26 @@
|
||||
Expand the name of the chart.
|
||||
*/}}
|
||||
{{- define "postgresql.name" -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}}
|
||||
{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
*/}}
|
||||
{{- define "postgresql.fullname" -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 24 -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create a default fully qualified app name.
|
||||
We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
|
||||
*/}}
|
||||
{{- define "postgresql.master.fullname" -}}
|
||||
{{- $name := default .Chart.Name .Values.nameOverride -}}
|
||||
{{- if .Values.replication.enabled -}}
|
||||
{{- printf "%s-%s-%s" .Release.Name $name "master" | trunc 61 | trimSuffix "-" -}}
|
||||
{{- printf "%s-%s-%s" .Release.Name $name "master" | trunc 63 | trimSuffix "-" -}}
|
||||
{{- else -}}
|
||||
{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" -}}
|
||||
{{- end -}}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: tensorflow-inception
|
||||
version: 1.0.0
|
||||
version: 1.0.2
|
||||
appVersion: 1.10.1
|
||||
description: Open-source software library for serving machine learning models
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/tensorflow-inception
|
||||
|
||||
This chart bootstraps a TensorFlow Serving Inception v3 pod on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
@@ -65,7 +67,7 @@ The following tables lists the configurable parameters of the TensorFlow Incepti
|
||||
| `server.image.tag` | TensorFlow Serving Image tag | `{VERSION}` |
|
||||
| `server.image.pullPolicy` | TensorFlow Serving image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `server.image.pullSecrets` | Specify image pull secrets | `nil` (does not add image pull secrets to deployed pods) |
|
||||
| `server.port` | Tensorflow server port | `9000` |
|
||||
| `server.port` | Tensorflow server port | `8500` |
|
||||
| `client.image.registry` | TensorFlow Inception image registry | `docker.io` |
|
||||
| `client.image.repository` | TensorFlow Inception Image name | `bitnami/tensorflow-inception` |
|
||||
| `client.image.tag` | TensorFlow Inception Image tag | `{VERSION}` |
|
||||
|
||||
@@ -16,7 +16,7 @@ spec:
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: tensorflow-serving
|
||||
app: {{ template "fullname" . }}
|
||||
chart: "{{ .Chart.Name }}-{{ .Chart.Version }}"
|
||||
release: "{{ .Release.Name }}"
|
||||
spec:
|
||||
|
||||
@@ -13,4 +13,4 @@ spec:
|
||||
- port: {{ .Values.server.port }}
|
||||
protocol: TCP
|
||||
selector:
|
||||
app: tensorflow-serving
|
||||
app: {{ template "fullname" . }}
|
||||
|
||||
@@ -5,7 +5,7 @@ server:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/tensorflow-serving
|
||||
tag: 1.6.0
|
||||
tag: 1.10.1-debian-9
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||
@@ -16,8 +16,8 @@ server:
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
port: 9000
|
||||
# - myRegistrKeySecretName
|
||||
port: 8500
|
||||
|
||||
## TensorFlow Inception image version
|
||||
## ref: https://hub.docker.com/r/bitnami/tensorflow-inception/tags/
|
||||
@@ -37,7 +37,7 @@ client:
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
# - myRegistrKeySecretName
|
||||
|
||||
## Specify a imagePullPolicy
|
||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: tomcat
|
||||
version: 1.0.0
|
||||
version: 1.0.2
|
||||
appVersion: 8.5.34
|
||||
description: Chart for Apache Tomcat
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/tomcat
|
||||
|
||||
This chart bootstraps a [Tomcat](https://github.com/bitnami/bitnami-docker-tomcat) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
** Please ensure an external IP is associated to the {{ template "fullname" . }} service before proceeding **
|
||||
** Watch the status using: kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "fullname" . }} **
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo URL : http://$SERVICE_IP/
|
||||
echo Management URL : http://$SERVICE_IP/manager
|
||||
{{- else if contains "ClusterIP" .Values.serviceType }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: wildfly
|
||||
version: 1.0.0
|
||||
version: 1.0.2
|
||||
appVersion: 14.0.1
|
||||
description: Chart for Wildfly
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/wildfly
|
||||
|
||||
This chart bootstraps a [WildFly](https://github.com/bitnami/bitnami-docker-wildfly) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
** Please ensure an external IP is associated to the {{ template "fullname" . }} service before proceeding **
|
||||
** Watch the status using: kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "fullname" . }} **
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
echo URL : http://$SERVICE_IP/
|
||||
echo Management Url : http://$SERVICE_IP:9990/
|
||||
{{- else if contains "ClusterIP" .Values.serviceType }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: zookeeper
|
||||
version: 1.0.0
|
||||
version: 1.0.3
|
||||
appVersion: 3.4.12
|
||||
description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications.
|
||||
keywords:
|
||||
|
||||
@@ -12,6 +12,8 @@ $ helm install bitnami/zookeeper
|
||||
|
||||
This chart bootstraps a [Zookeeper](https://github.com/bitnami/bitnami-docker-zookeeper) deployment on a [Kubernetes](http://kubernetes.io) cluster using the [Helm](https://helm.sh) package manager.
|
||||
|
||||
Bitnami charts can be used with [Kubeapps](https://kubeapps.com/) for deployment and management of Helm Charts in clusters.
|
||||
|
||||
## Prerequisites
|
||||
|
||||
- Kubernetes 1.4+ with Beta APIs enabled
|
||||
|
||||
@@ -39,7 +39,7 @@ To connect to your ZooKeeper server from outside the cluster execute the followi
|
||||
NOTE: It may take a few minutes for the LoadBalancer IP to be available.
|
||||
Watch the status with: 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "zookeeper.fullname" . }}'
|
||||
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "zookeeper.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
|
||||
export SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "zookeeper.fullname" . }} --template "{{"{{ range (index .status.loadBalancer.ingress 0) }}{{.}}{{ end }}"}}")
|
||||
zkCli.sh $SERVICE_IP:2181
|
||||
|
||||
{{- else if contains "ClusterIP" .Values.service.type }}
|
||||
|
||||
@@ -91,7 +91,7 @@ spec:
|
||||
{{- $electionPort := int .Values.service.electionPort }}
|
||||
{{- $releaseNamespace := .Release.Namespace }}
|
||||
{{- $zookeeperFullname := include "zookeeper.fullname" . }}
|
||||
{{- $zookeeperHeadlessServiceName := printf "%s-%s" $zookeeperFullname "headless" | trunc 24 }}
|
||||
{{- $zookeeperHeadlessServiceName := printf "%s-%s" $zookeeperFullname "headless" | trunc 63 }}
|
||||
value: {{range $i, $e := until $replicaCount }}{{ $zookeeperFullname }}-{{ $e }}.{{ $zookeeperHeadlessServiceName }}.{{ $releaseNamespace }}.svc.cluster.local:{{ $followerPort }}:{{ $electionPort }} {{ end }}
|
||||
{{- if .Values.auth.enabled }}
|
||||
- name: ZOO_ENABLE_AUTH
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user