initial migration

This commit is contained in:
Sameer Naik
2016-07-04 10:04:39 +05:30
parent d85b51e5b6
commit f93fa186ae
188 changed files with 1369 additions and 1653 deletions

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
*.tgz

0
apache/.helmignore Normal file
View File

View File

@@ -1,10 +1,16 @@
name: apache
home: https://httpd.apache.org
source:
- https://github.com/bitnami/bitnami-docker-apache
version: 0.2.0
version: 0.3.0
description: Chart for Apache HTTP Server
keywords:
- apache
- http
- www
- web
- reverse proxy
home: https://httpd.apache.org
sources:
- https://github.com/bitnami/bitnami-docker-apache
maintainers:
- Bitnami <containers@bitnami.com>
details: |-
The Apache HTTP Server Project is an effort to develop and maintain an open-source HTTP server for modern operating systems including UNIX and Windows NT. The goal of this project is to provide a secure, efficient and extensible server that provides HTTP services in sync with the current HTTP standards.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -1,25 +1,28 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: apache
name: {{ printf "%s-%s" .Release.Name .Chart.Name | trunc 24 }}
labels:
provider: apache
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: apache
version: 2.4.20-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: apache
version: 2.4.20-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: apache
image: bitnami/apache:2.4.20-r0
image: bitnami/apache:{{ .Values.imageTag }}
ports:
- name: http
containerPort: 80

View File

@@ -1,9 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: apache
name: {{ printf "%s-%s" .Release.Name .Chart.Name | trunc 24 }}
labels:
provider: apache
release: {{ .Release.Name }}
heritage: bitnami
spec:
type: LoadBalancer
@@ -16,3 +17,4 @@ spec:
port: 443
selector:
provider: apache
release: {{ .Release.Name }}

1
apache/values.yaml Normal file
View File

@@ -0,0 +1 @@
imageTag: 2.4.20-r0

0
drupal/.helmignore Normal file
View File

View File

@@ -1,13 +1,18 @@
name: drupal
home: http://www.drupal.org/
source:
- https://github.com/bitnami/bitnami-docker-drupal
version: 0.2.1
version: 0.3.0
description: One of the most versatile open source content management systems.
keywords:
- drupal
- cms
- blog
- http
- web
- application
- php
home: http://www.drupal.org/
sources:
- https://github.com/bitnami/bitnami-docker-drupal
maintainers:
- Bitnami <containers@bitnami.com>
dependencies:
- name: mariadb
version: 0.2.1
details: |-
Drupal is one of the most versatile open source content management systems on the market.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

View File

@@ -0,0 +1,15 @@
name: mariadb
version: 0.3.0
description: Chart for MariaDB
keywords:
- mariadb
- mysql
- database
- sql
home: https://mariadb.org
sources:
- https://github.com/bitnami/bitnami-docker-mariadb
maintainers:
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -0,0 +1,37 @@
# MariaDB
> MariaDB is a fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
Based on the [Bitnami MariaDB](https://github.com/bitnami/bitnami-docker-mariadb) image for docker, this Chart bootstraps a [MariaDB](https://mariadb.com/) deployment on a [Kubernetes](http://kubernetes.io) cluster using [Helm](https://helm.sh).
## Persistence
For persistence of the MariaDB data, mount a [storage volume](http://kubernetes.io/docs/user-guide/volumes/) at the `/bitnami/mariadb` path of the MariaDB pod.
By default the MariaDB Chart mounts an [emptyDir](http://kubernetes.io/docs/user-guide/volumes/#emptydir) volume.
## Configuration
To edit the default MariaDB configuration, run
```bash
$ helmc edit mariadb
```
Configurable parameters can be specified in `tpl/values.toml`. If not specified default values as defined by the [Bitnami MariaDB](https://github.com/bitnami/bitnami-docker-mariadb) image are used.
> Tip: If you have issues running the above command, add `se autochdir` to your `~/.vimrc` profile or simply edit `~/.helmc/workspace/charts/mariadb/tpl/values.toml` in your favourite editor.
Finally, generate the chart to apply your changes to the configuration.
```bash
$ helmc generate --force mariadb
```
## Cleanup
To delete the MariaDB deployment completely:
```bash
$ helmc uninstall -n default mariadb
```

View File

@@ -1,41 +1,43 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: mariadb
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: mariadb
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: mariadb
image: bitnami/mariadb:10.1.14-r1
image: bitnami/mariadb:{{ .Values.imageTag }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MARIADB_USER
value: ""
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_DATABASE
value: ""
value: {{ .Values.mariadbDatabase | quote }}
ports:
- name: mysql
containerPort: 3306

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .Values.mariadbRootPassword | quote | b64enc | quote }}
mariadb-password: {{ .Values.mariadbPassword | quote | b64enc | quote }}

View File

@@ -1,9 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
@@ -12,3 +13,4 @@ spec:
targetPort: mysql
selector:
provider: mariadb
release: {{ .Release.Name }}

View File

@@ -0,0 +1,6 @@
imageTag: 10.1.14-r1
mariadbRootPassword:
mariadbUser:
mariadbPassword:
mariadbDatabase:

View File

@@ -1,72 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/drupal-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: drupal
labels:
app: drupal
provider: drupal-server
heritage: bitnami
spec:
replicas: 1
selector:
app: drupal
provider: drupal-server
version: 8.1.3-r0
template:
metadata:
labels:
app: drupal
provider: drupal-server
version: 8.1.3-r0
heritage: bitnami
spec:
containers:
- name: drupal
image: bitnami/drupal:8.1.3-r0
env:
- name: MARIADB_HOST
value: "mariadb"
- name: MARIADB_PORT
value: "3306"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-root-password
- name: DRUPAL_USERNAME
value: "user"
- name: DRUPAL_PASSWORD
valueFrom:
secretKeyRef:
name: drupal
key: drupal-password
- name: DRUPAL_EMAIL
value: "user@example.com"
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 120
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
volumeMounts:
- name: drupal-data
mountPath: /bitnami/drupal
- name: apache-data
mountPath: /bitnami/apache
volumes:
- name: drupal-data
emptyDir: {}
- name: apache-data
emptyDir: {}

View File

@@ -1,11 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/drupal-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: drupal
labels:
provider: drupal
heritage: bitnami
type: Opaque
data:
drupal-password: "Yml0bmFtaQ=="

View File

@@ -1,48 +1,50 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/drupal-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: drupal
name: {{ printf "%s-%s" .Release.Name "drupal" | trunc 24 }}
labels:
app: drupal
provider: drupal-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
app: drupal
provider: drupal-server
version: 8.1.3-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
app: drupal
provider: drupal-server
version: 8.1.3-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: drupal
image: bitnami/drupal:8.1.3-r0
image: bitnami/drupal:{{ .Values.imageTag }}
env:
- name: MARIADB_HOST
value: "mariadb"
value: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 | quote }}
- name: MARIADB_PORT
value: "3306"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: DRUPAL_USERNAME
value: {{ .drupalUser | quote }}
value: {{ .Values.drupalUser | quote }}
- name: DRUPAL_PASSWORD
valueFrom:
secretKeyRef:
name: drupal
name: {{ printf "%s-%s" .Release.Name "drupal" | trunc 24 }}
key: drupal-password
- name: DRUPAL_EMAIL
value: {{ .drupalEmail | quote }}
value: {{ .Values.drupalEmail | quote }}
ports:
- name: http
containerPort: 80

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "drupal" | trunc 24 }}
labels:
provider: drupal
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
drupal-password: {{ .Values.drupalPassword | quote | b64enc | quote }}

View File

@@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: drupal
name: {{ printf "%s-%s" .Release.Name "drupal" | trunc 24 }}
labels:
app: drupal
provider: drupal-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
type: LoadBalancer
@@ -18,3 +19,4 @@ spec:
selector:
app: drupal
provider: drupal-server
release: {{ .Release.Name }}

View File

@@ -1,11 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/drupal-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: drupal
labels:
provider: drupal
heritage: bitnami
type: Opaque
data:
drupal-password: {{ .drupalPassword | b64enc | quote }}

View File

@@ -1,3 +0,0 @@
drupalUser = "user"
drupalPassword = "bitnami"
drupalEmail = "user@example.com"

5
drupal/values.yaml Normal file
View File

@@ -0,0 +1,5 @@
imageTag: 8.1.3-r0
drupalUser: user
drupalPassword: bitnami
drupalEmail: user@example.com

0
ghost/.helmignore Normal file
View File

View File

@@ -1,10 +1,18 @@
name: ghost
home: http://www.ghost.org/
source:
- https://github.com/bitnami/bitnami-docker-ghost
version: 0.2.1
version: 0.3.0
description: A simple, powerful publishing platform that allows you to share your stories with the world
keywords:
- ghost
- blog
- http
- web
- application
- nodejs
- javascript
home: http://www.ghost.org/
sources:
- https://github.com/bitnami/bitnami-docker-ghost
maintainers:
- Bitnami <containers@bitnami.com>
details: |-
Ghost is a simple, powerful publishing platform that allows you to share your stories with the world
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/ghost-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: ghost
labels:
provider: ghost
heritage: bitnami
type: Opaque
data:
ghost-password: "Yml0bmFtaTE="
smtp-password: ""

View File

@@ -1,54 +1,56 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/ghost-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: ghost
name: {{ printf "%s-%s" .Release.Name "ghost" | trunc 24 }}
labels:
app: ghost
provider: ghost-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
app: ghost
provider: ghost-server
version: 0.7.9-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
app: ghost
provider: ghost-server
version: 0.7.9-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: ghost
image: bitnami/ghost:0.7.9-r0
image: bitnami/ghost:{{ .Values.imageTag }}
env:
- name: GHOST_USERNAME
value: "user"
value: {{ .Values.ghostUser | quote }}
- name: GHOST_PASSWORD
valueFrom:
secretKeyRef:
name: ghost
name: {{ printf "%s-%s" .Release.Name "ghost" | trunc 24 }}
key: ghost-password
- name: GHOST_EMAIL
value: "user@example.com"
value: {{ .Values.ghostEmail | quote }}
- name: BLOG_TITLE
value: "User's Blog"
value: {{ .Values.blogTitle | quote }}
- name: SMTP_HOST
value: ""
value: {{ .Values.smtpHost | quote }}
- name: SMTP_PORT
value: ""
value: {{ .Values.smtpPort | quote }}
- name: SMTP_USER
value: ""
value: {{ .Values.smtpUser | quote }}
- name: SMTP_PASSWORD
valueFrom:
secretKeyRef:
name: ghost
name: {{ printf "%s-%s" .Release.Name "ghost" | trunc 24 }}
key: smtp-password
- name: SMTP_SERVICE
value: ""
value: {{ .Values.smtpService | quote }}
ports:
- name: http
containerPort: 2368

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "ghost" | trunc 24 }}
labels:
provider: ghost
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
ghost-password: {{ .Values.ghostPassword | quote | b64enc | quote }}
smtp-password: {{ .Values.smtpPassword | quote | b64enc | quote }}

View File

@@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: ghost
name: {{ printf "%s-%s" .Release.Name "ghost" | trunc 24 }}
labels:
app: ghost
provider: ghost-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
type: LoadBalancer
@@ -15,3 +16,4 @@ spec:
selector:
app: ghost
provider: ghost-server
release: {{ .Release.Name }}

View File

@@ -1,72 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/ghost-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: ghost
labels:
app: ghost
provider: ghost-server
heritage: bitnami
spec:
replicas: 1
selector:
app: ghost
provider: ghost-server
version: 0.7.9-r0
template:
metadata:
labels:
app: ghost
provider: ghost-server
version: 0.7.9-r0
heritage: bitnami
spec:
containers:
- name: ghost
image: bitnami/ghost:0.7.9-r0
env:
- name: GHOST_USERNAME
value: {{ .ghostUser | quote }}
- name: GHOST_PASSWORD
valueFrom:
secretKeyRef:
name: ghost
key: ghost-password
- name: GHOST_EMAIL
value: {{ .ghostEmail | quote }}
- name: BLOG_TITLE
value: {{ .blogTitle | quote }}
- name: SMTP_HOST
value: {{ .smtpHost | quote }}
- name: SMTP_PORT
value: {{ .smtpPort | quote }}
- name: SMTP_USER
value: {{ .smtpUser | quote }}
- name: SMTP_PASSWORD
valueFrom:
secretKeyRef:
name: ghost
key: smtp-password
- name: SMTP_SERVICE
value: {{ .smtpService | quote }}
ports:
- name: http
containerPort: 2368
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 120
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
volumeMounts:
- name: data
mountPath: /bitnami/ghost
volumes:
- name: data
emptyDir: {}

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/ghost-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: ghost
labels:
provider: ghost
heritage: bitnami
type: Opaque
data:
ghost-password: {{ .ghostPassword | b64enc | quote }}
smtp-password: {{ .smtpPassword | b64enc | quote }}

View File

@@ -1,9 +0,0 @@
ghostUser = "user"
ghostPassword = "bitnami1"
ghostEmail = "user@example.com"
blogTitle = "User's Blog"
smtpHost = ""
smtpPort = ""
smtpUser = ""
smtpPassword = ""
smtpService = ""

10
ghost/values.yaml Normal file
View File

@@ -0,0 +1,10 @@
imageTag: 0.7.9-r0
ghostUser: user
ghostPassword: bitnami1
ghostEmail: user@example.com
blogTitle: User's Blog
smtpHost:
smtpPort:
smtpUser:
smtpPassword:
smtpService:

0
joomla/.helmignore Normal file
View File

View File

@@ -1,13 +1,16 @@
name: joomla
home: http://www.joomla.org/
source:
- https://github.com/bitnami/bitnami-docker-joomla
version: 0.2.1
version: 0.3.0
description: PHP content management system (CMS) for publishing web content
keywords:
- joomla
- cms
- blog
- http
- php
home: http://www.joomla.org/
sources:
- https://github.com/bitnami/bitnami-docker-joomla
maintainers:
- Bitnami <containers@bitnami.com>
dependencies:
- name: mariadb
version: 0.2.1
details: |-
Joomla is a PHP content management system (CMS) for publishing web content.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

View File

@@ -0,0 +1,15 @@
name: mariadb
version: 0.3.0
description: Chart for MariaDB
keywords:
- mariadb
- mysql
- database
- sql
home: https://mariadb.org
sources:
- https://github.com/bitnami/bitnami-docker-mariadb
maintainers:
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -0,0 +1,37 @@
# MariaDB
> MariaDB is a fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
Based on the [Bitnami MariaDB](https://github.com/bitnami/bitnami-docker-mariadb) image for docker, this Chart bootstraps a [MariaDB](https://mariadb.com/) deployment on a [Kubernetes](http://kubernetes.io) cluster using [Helm](https://helm.sh).
## Persistence
For persistence of the MariaDB data, mount a [storage volume](http://kubernetes.io/docs/user-guide/volumes/) at the `/bitnami/mariadb` path of the MariaDB pod.
By default the MariaDB Chart mounts an [emptyDir](http://kubernetes.io/docs/user-guide/volumes/#emptydir) volume.
## Configuration
To edit the default MariaDB configuration, run
```bash
$ helmc edit mariadb
```
Configurable parameters can be specified in `tpl/values.toml`. If not specified default values as defined by the [Bitnami MariaDB](https://github.com/bitnami/bitnami-docker-mariadb) image are used.
> Tip: If you have issues running the above command, add `se autochdir` to your `~/.vimrc` profile or simply edit `~/.helmc/workspace/charts/mariadb/tpl/values.toml` in your favourite editor.
Finally, generate the chart to apply your changes to the configuration.
```bash
$ helmc generate --force mariadb
```
## Cleanup
To delete the MariaDB deployment completely:
```bash
$ helmc uninstall -n default mariadb
```

View File

@@ -1,41 +1,43 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: mariadb
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: mariadb
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: mariadb
image: bitnami/mariadb:10.1.14-r1
image: bitnami/mariadb:{{ .Values.imageTag }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MARIADB_USER
value: {{ .mariadbUser | quote }}
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_DATABASE
value: {{ .mariadbDatabase | quote }}
value: {{ .Values.mariadbDatabase | quote }}
ports:
- name: mysql
containerPort: 3306

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .Values.mariadbRootPassword | quote | b64enc | quote }}
mariadb-password: {{ .Values.mariadbPassword | quote | b64enc | quote }}

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
- name: mysql
port: 3306
targetPort: mysql
selector:
provider: mariadb
release: {{ .Release.Name }}

View File

@@ -0,0 +1,6 @@
imageTag: 10.1.14-r1
mariadbRootPassword:
mariadbUser:
mariadbPassword:
mariadbDatabase:

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/joomla-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: joomla
labels:
provider: joomla
heritage: bitnami
type: Opaque
data:
joomla-password: "Yml0bmFtaQ=="
smtp-password: ""

View File

@@ -1,61 +1,63 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/joomla-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: joomla
name: {{ printf "%s-%s" .Release.Name "joomla" | trunc 24 }}
labels:
app: joomla
provider: joomla-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
app: joomla
provider: joomla-server
version: 3.5.1-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
app: joomla
provider: joomla-server
version: 3.5.1-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: joomla
image: bitnami/joomla:3.5.1-r0
image: bitnami/joomla:{{ .Values.imageTag }}
env:
- name: MARIADB_HOST
value: "mariadb"
value: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 | quote }}
- name: MARIADB_PORT
value: "3306"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: JOOMLA_USERNAME
value: "user"
value: {{ .Values.joomlaUser | quote }}
- name: JOOMLA_PASSWORD
valueFrom:
secretKeyRef:
name: joomla
name: {{ printf "%s-%s" .Release.Name "joomla" | trunc 24 }}
key: joomla-password
- name: JOOMLA_EMAIL
value: "user@example.com"
value: {{ .Values.joomlaEmail | quote }}
- name: SMTP_HOST
value: ""
value: {{ .Values.smtpHost | quote }}
- name: SMTP_PORT
value: ""
value: {{ .Values.smtpPort | quote }}
- name: SMTP_USER
value: ""
value: {{ .Values.smtpUser | quote }}
- name: SMTP_PASSWORD
valueFrom:
secretKeyRef:
name: joomla
name: {{ printf "%s-%s" .Release.Name "joomla" | trunc 24 }}
key: smtp-password
- name: SMTP_PROTOCOL
value: ""
value: {{ .Values.smtpProtocol | quote }}
ports:
- name: http
containerPort: 80

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "joomla" | trunc 24 }}
labels:
provider: joomla
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
joomla-password: {{ .Values.joomlaPassword | quote | b64enc | quote }}
smtp-password: {{ .Values.smtpPassword | quote | b64enc | quote }}

View File

@@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: joomla
name: {{ printf "%s-%s" .Release.Name "joomla" | trunc 24 }}
labels:
app: joomla
provider: joomla-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
type: LoadBalancer
@@ -18,3 +19,4 @@ spec:
selector:
app: joomla
provider: joomla-server
release: {{ .Release.Name }}

View File

@@ -1,89 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/joomla-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: joomla
labels:
app: joomla
provider: joomla-server
heritage: bitnami
spec:
replicas: 1
selector:
app: joomla
provider: joomla-server
version: 3.5.1-r0
template:
metadata:
labels:
app: joomla
provider: joomla-server
version: 3.5.1-r0
heritage: bitnami
spec:
containers:
- name: joomla
image: bitnami/joomla:3.5.1-r0
env:
- name: MARIADB_HOST
value: "mariadb"
- name: MARIADB_PORT
value: "3306"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-root-password
- name: JOOMLA_USERNAME
value: {{ .joomlaUser | quote }}
- name: JOOMLA_PASSWORD
valueFrom:
secretKeyRef:
name: joomla
key: joomla-password
- name: JOOMLA_EMAIL
value: {{ .joomlaEmail | quote }}
- name: SMTP_HOST
value: {{ .smtpHost | quote }}
- name: SMTP_PORT
value: {{ .smtpPort | quote }}
- name: SMTP_USER
value: {{ .smtpUser | quote }}
- name: SMTP_PASSWORD
valueFrom:
secretKeyRef:
name: joomla
key: smtp-password
- name: SMTP_PROTOCOL
value: {{ .smtpProtocol | quote }}
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 120
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
volumeMounts:
- name: joomla-data
mountPath: /bitnami/joomla
- name: apache-data
mountPath: /bitnami/apache
- name: php-data
mountPath: /bitnami/php
volumes:
- name: joomla-data
emptyDir: {}
- name: apache-data
emptyDir: {}
- name: php-data
emptyDir: {}

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/joomla-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: joomla
labels:
provider: joomla
heritage: bitnami
type: Opaque
data:
joomla-password: {{ .joomlaPassword | b64enc | quote }}
smtp-password: {{ .smtpPassword | b64enc | quote }}

View File

@@ -1,8 +0,0 @@
joomlaUser = "user"
joomlaPassword = "bitnami"
joomlaEmail = "user@example.com"
smtpHost = ""
smtpUser = ""
smtpPassword = ""
smtpPort = ""
smtpProtocol = ""

9
joomla/values.yaml Normal file
View File

@@ -0,0 +1,9 @@
imageTag: 3.5.1-r0
joomlaUser: user
joomlaPassword: bitnami
joomlaEmail: user@example.com
smtpHost:
smtpUser:
smtpPassword:
smtpPort:
smtpProtocol:

View File

View File

@@ -1,10 +1,17 @@
name: mariadb-cluster
home: https://mariadb.org
source:
- https://github.com/bitnami/bitnami-docker-mariadb
version: 0.2.1
version: 0.3.0
description: Chart to create a Highly available MariaDB cluster
keywords:
- mariadb
- mysql
- database
- sql
- cluster
- high availablity
home: https://mariadb.org
sources:
- https://github.com/bitnami/bitnami-docker-mariadb
maintainers:
- Bitnami <containers@bitnami.com>
details: |-
MariaDB is a fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -1,13 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: mariadb
labels:
provider: mariadb
heritage: bitnami
type: Opaque
data:
mariadb-root-password: "bXktcm9vdC1wYXNzd29yZA=="
mariadb-password: "bXktcGFzc3dvcmQ="
mariadb-replication-password: "cmVwbGljYXRpb24tcGFzc3dvcmQ="

View File

@@ -1,52 +1,54 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-master-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mariadb-master
name: {{ printf "%s-%s" .Release.Name "master" | trunc 24 }}
labels:
provider: mariadb
mode: master
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: mariadb
mode: master
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: mariadb
mode: master
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: mariadb
image: bitnami/mariadb:10.1.14-r1
image: bitnami/mariadb:{{ .Values.imageTag }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MARIADB_USER
value: "my-user"
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_DATABASE
value: "my-database"
value: {{ .Values.mariadbDatabase | quote }}
- name: MARIADB_REPLICATION_MODE
value: master
value: "master"
- name: MARIADB_REPLICATION_USER
value: "replication-user"
value: {{ .Values.mariadbReplicationUser | quote }}
- name: MARIADB_REPLICATION_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-replication-password
ports:
- name: mysql

View File

@@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mariadb-master
name: {{ printf "%s-%s" .Release.Name "master" | trunc 24 }}
labels:
provider: mariadb
mode: master
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
@@ -14,3 +15,4 @@ spec:
selector:
provider: mariadb
mode: master
release: {{ .Release.Name }}

View File

@@ -0,0 +1,13 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .Values.mariadbRootPassword | quote | b64enc | quote }}
mariadb-password: {{ .Values.mariadbPassword | quote | b64enc | quote }}
mariadb-replication-password: {{ .Values.mariadbReplicationPassword | quote | b64enc | quote }}

View File

@@ -1,62 +1,64 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-slave-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mariadb-slave
name: {{ printf "%s-%s" .Release.Name "slave" | trunc 24 }}
labels:
provider: mariadb
mode: slave
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 3
selector:
provider: mariadb
mode: slave
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: mariadb
mode: slave
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
spec:
containers:
- name: mariadb
image: bitnami/mariadb:10.1.14-r1
image: bitnami/mariadb:{{ .Values.imageTag }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MARIADB_USER
value: "my-user"
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_DATABASE
value: "my-database"
value: {{ .Values.mariadbDatabase | quote }}
- name: MARIADB_REPLICATION_MODE
value: slave
value: "slave"
- name: MARIADB_MASTER_HOST
value: mariadb-master
value: {{ printf "%s-%s" .Release.Name "master" | trunc 24 | quote }}
- name: MARIADB_MASTER_PORT
value: "3306"
- name: MARIADB_MASTER_USER
value: "my-user"
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_MASTER_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_REPLICATION_USER
value: "replication-user"
value: {{ .Values.mariadbReplicationUser | quote }}
- name: MARIADB_REPLICATION_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-replication-password
ports:
- name: mysql

View File

@@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mariadb-slave
name: {{ printf "%s-%s" .Release.Name "slave" | trunc 24 }}
labels:
provider: mariadb
mode: slave
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
@@ -14,3 +15,4 @@ spec:
selector:
provider: mariadb
mode: slave
release: {{ .Release.Name }}

View File

@@ -1,13 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: mariadb
labels:
provider: mariadb
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .mariadbRootPassword | b64enc | quote }}
mariadb-password: {{ .mariadbPassword | b64enc | quote }}
mariadb-replication-password: {{ .mariadbReplicationPassword | b64enc | quote }}

View File

@@ -1,77 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-slave-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mariadb-slave
labels:
provider: mariadb
mode: slave
heritage: bitnami
spec:
replicas: 3
selector:
provider: mariadb
mode: slave
version: 10.1.14-r1
template:
metadata:
labels:
provider: mariadb
mode: slave
version: 10.1.14-r1
spec:
containers:
- name: mariadb
image: bitnami/mariadb:10.1.14-r1
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-root-password
- name: MARIADB_USER
value: {{ .mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-password
- name: MARIADB_DATABASE
value: {{ .mariadbDatabase | quote }}
- name: MARIADB_REPLICATION_MODE
value: slave
- name: MARIADB_MASTER_HOST
value: mariadb-master
- name: MARIADB_MASTER_PORT
value: "3306"
- name: MARIADB_MASTER_USER
value: {{ .mariadbUser | quote }}
- name: MARIADB_MASTER_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-password
- name: MARIADB_REPLICATION_USER
value: {{ .mariadbReplicationUser | quote }}
- name: MARIADB_REPLICATION_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-replication-password
ports:
- name: mysql
containerPort: 3306
livenessProbe:
exec:
command:
- mysqladmin
- ping
initialDelaySeconds: 60
timeoutSeconds: 5
readinessProbe:
exec:
command:
- mysqladmin
- ping
initialDelaySeconds: 5
timeoutSeconds: 1

View File

@@ -1,6 +0,0 @@
mariadbRootPassword = "my-root-password"
mariadbUser = "my-user"
mariadbPassword = "my-password"
mariadbDatabase = "my-database"
mariadbReplicationUser = "replication-user"
mariadbReplicationPassword = "replication-password"

View File

@@ -0,0 +1,7 @@
imageTag: 10.1.14-r1
mariadbRootPassword: my-root-password
mariadbUser: my-user
mariadbPassword: my-password
mariadbDatabase: my-database
mariadbReplicationUser: replication-user
mariadbReplicationPassword: replication-password

0
mariadb/.helmignore Normal file
View File

View File

@@ -1,10 +1,15 @@
name: mariadb
home: https://mariadb.org
source:
- https://github.com/bitnami/bitnami-docker-mariadb
version: 0.2.1
version: 0.3.0
description: Chart for MariaDB
keywords:
- mariadb
- mysql
- database
- sql
home: https://mariadb.org
sources:
- https://github.com/bitnami/bitnami-docker-mariadb
maintainers:
- Bitnami <containers@bitnami.com>
details: |-
MariaDB is a fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: mariadb
labels:
provider: mariadb
heritage: bitnami
type: Opaque
data:
mariadb-root-password: ""
mariadb-password: ""

View File

@@ -1,53 +1,43 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-master-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mariadb-master
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
mode: master
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: mariadb
mode: master
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: mariadb
mode: master
version: 10.1.14-r1
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: mariadb
image: bitnami/mariadb:10.1.14-r1
image: bitnami/mariadb:{{ .Values.imageTag }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MARIADB_USER
value: {{ .mariadbUser | quote }}
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_DATABASE
value: {{ .mariadbDatabase | quote }}
- name: MARIADB_REPLICATION_MODE
value: master
- name: MARIADB_REPLICATION_USER
value: {{ .mariadbReplicationUser | quote }}
- name: MARIADB_REPLICATION_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-replication-password
value: {{ .Values.mariadbDatabase | quote }}
ports:
- name: mysql
containerPort: 3306
@@ -56,7 +46,7 @@ spec:
command:
- mysqladmin
- ping
initialDelaySeconds: 60
initialDelaySeconds: 30
timeoutSeconds: 5
readinessProbe:
exec:

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .Values.mariadbRootPassword | quote | b64enc | quote }}
mariadb-password: {{ .Values.mariadbPassword | quote | b64enc | quote }}

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
- name: mysql
port: 3306
targetPort: mysql
selector:
provider: mariadb
release: {{ .Release.Name }}

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mariadb-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: mariadb
labels:
provider: mariadb
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .mariadbRootPassword | b64enc | quote }}
mariadb-password: {{ .mariadbPassword | b64enc | quote }}

View File

@@ -1,4 +0,0 @@
mariadbRootPassword = ""
mariadbUser = ""
mariadbPassword = ""
mariadbDatabase = ""

6
mariadb/values.yaml Normal file
View File

@@ -0,0 +1,6 @@
imageTag: 10.1.14-r1
mariadbRootPassword:
mariadbUser:
mariadbPassword:
mariadbDatabase:

0
mediawiki/.helmignore Normal file
View File

View File

@@ -1,13 +1,17 @@
name: mediawiki
home: http://www.mediawiki.org/
source:
- https://github.com/bitnami/bitnami-docker-mediawiki
version: 0.2.1
version: 0.3.0
description: Extremely powerful, scalable software and a feature-rich wiki implementation that uses PHP to process and display data stored in a database.
keywords:
- mediawiki
- wiki
- http
- web
- application
- php
home: http://www.mediawiki.org/
sources:
- https://github.com/bitnami/bitnami-docker-mediawiki
maintainers:
- Bitnami <containers@bitnami.com>
dependencies:
- name: mariadb
version: 0.2.1
details: |-
MediaWiki is an extremely powerful, scalable software and a feature-rich wiki implementation that uses PHP to process and display data stored in a database, such as MySQL.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

View File

@@ -0,0 +1,15 @@
name: mariadb
version: 0.3.0
description: Chart for MariaDB
keywords:
- mariadb
- mysql
- database
- sql
home: https://mariadb.org
sources:
- https://github.com/bitnami/bitnami-docker-mariadb
maintainers:
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -0,0 +1,37 @@
# MariaDB
> MariaDB is a fast, reliable, scalable, and easy to use open-source relational database system. MariaDB Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
Based on the [Bitnami MariaDB](https://github.com/bitnami/bitnami-docker-mariadb) image for docker, this Chart bootstraps a [MariaDB](https://mariadb.com/) deployment on a [Kubernetes](http://kubernetes.io) cluster using [Helm](https://helm.sh).
## Persistence
For persistence of the MariaDB data, mount a [storage volume](http://kubernetes.io/docs/user-guide/volumes/) at the `/bitnami/mariadb` path of the MariaDB pod.
By default the MariaDB Chart mounts an [emptyDir](http://kubernetes.io/docs/user-guide/volumes/#emptydir) volume.
## Configuration
To edit the default MariaDB configuration, run
```bash
$ helmc edit mariadb
```
Configurable parameters can be specified in `tpl/values.toml`. If not specified default values as defined by the [Bitnami MariaDB](https://github.com/bitnami/bitnami-docker-mariadb) image are used.
> Tip: If you have issues running the above command, add `se autochdir` to your `~/.vimrc` profile or simply edit `~/.helmc/workspace/charts/mariadb/tpl/values.toml` in your favourite editor.
Finally, generate the chart to apply your changes to the configuration.
```bash
$ helmc generate --force mariadb
```
## Cleanup
To delete the MariaDB deployment completely:
```bash
$ helmc uninstall -n default mariadb
```

View File

@@ -0,0 +1,63 @@
apiVersion: v1
kind: ReplicationController
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: mariadb
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: mariadb
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: mariadb
image: bitnami/mariadb:{{ .Values.imageTag }}
env:
- name: MARIADB_ROOT_PASSWORD
valueFrom:
secretKeyRef:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MARIADB_USER
value: {{ .Values.mariadbUser | quote }}
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-password
- name: MARIADB_DATABASE
value: {{ .Values.mariadbDatabase | quote }}
ports:
- name: mysql
containerPort: 3306
livenessProbe:
exec:
command:
- mysqladmin
- ping
initialDelaySeconds: 30
timeoutSeconds: 5
readinessProbe:
exec:
command:
- mysqladmin
- ping
initialDelaySeconds: 5
timeoutSeconds: 1
volumeMounts:
- name: data
mountPath: /bitnami/mariadb
volumes:
- name: data
emptyDir: {}

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
mariadb-root-password: {{ .Values.mariadbRootPassword | quote | b64enc | quote }}
mariadb-password: {{ .Values.mariadbPassword | quote | b64enc | quote }}

View File

@@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
labels:
provider: mariadb
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
- name: mysql
port: 3306
targetPort: mysql
selector:
provider: mariadb
release: {{ .Release.Name }}

View File

@@ -0,0 +1,6 @@
imageTag: 10.1.14-r1
mariadbRootPassword:
mariadbUser:
mariadbPassword:
mariadbDatabase:

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mediawiki-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: mediawiki
labels:
provider: mediawiki
heritage: bitnami
type: Opaque
data:
mediawiki-password: "Yml0bmFtaTE="
smtp-password: ""

View File

@@ -1,62 +1,64 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mediawiki-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mediawiki
name: {{ printf "%s-%s" .Release.Name "mediawiki" | trunc 24 }}
labels:
app: mediawiki
provider: mediawiki-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
app: mediawiki
provider: mediawiki-server
version: 1.26.3-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
app: mediawiki
provider: mediawiki-server
version: 1.26.3-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: mediawiki
image: bitnami/mediawiki:1.26.3-r0
image: bitnami/mediawiki:{{ .Values.imageTag }}
env:
- name: MARIADB_HOST
value: "mariadb"
value: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 | quote }}
- name: MARIADB_PORT
value: "3306"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
name: {{ printf "%s-%s" .Release.Name "mariadb" | trunc 24 }}
key: mariadb-root-password
- name: MEDIAWIKI_USERNAME
value: "user"
value: {{ .Values.mediawikiUser | quote }}
- name: MEDIAWIKI_PASSWORD
valueFrom:
secretKeyRef:
name: mediawiki
name: {{ printf "%s-%s" .Release.Name "mediawiki" | trunc 24 }}
key: mediawiki-password
- name: MEDIAWIKI_EMAIL
value: "user@example.com"
value: {{ .Values.mediawikiEmail | quote }}
- name: MEDIAWIKI_WIKI_NAME
value: "Bitnami MediaWiki"
value: {{ .Values.mediawikiName | quote }}
- name: SMTP_HOST_ID
value: ""
value: {{ .Values.smtpHostID | quote }}
- name: SMTP_HOST
value: ""
value: {{ .Values.smtpHost | quote }}
- name: SMTP_PORT
value: ""
value: {{ .Values.smtpPort | quote }}
- name: SMTP_USER
value: ""
value: {{ .Values.smtpUser | quote }}
- name: SMTP_Password
valueFrom:
secretKeyRef:
name: mediawiki
name: {{ printf "%s-%s" .Release.Name "mediawiki" | trunc 24 }}
key: smtp-password
ports:
- name: http

View File

@@ -0,0 +1,12 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "mediawiki" | trunc 24 }}
labels:
provider: mediawiki
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
mediawiki-password: {{ .Values.mediawikiPassword | quote | b64enc | quote }}
smtp-password: {{ .Values.smtpPassword | quote | b64enc | quote }}

View File

@@ -1,10 +1,11 @@
apiVersion: v1
kind: Service
metadata:
name: mediawiki
name: {{ printf "%s-%s" .Release.Name "mediawiki" | trunc 24 }}
labels:
app: mediawiki
provider: mediawiki-server
release: {{ .Release.Name }}
heritage: bitnami
spec:
type: LoadBalancer
@@ -18,3 +19,4 @@ spec:
selector:
app: mediawiki
provider: mediawiki-server
release: {{ .Release.Name }}

View File

@@ -1,87 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mediawiki-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: mediawiki
labels:
app: mediawiki
provider: mediawiki-server
heritage: bitnami
spec:
replicas: 1
selector:
app: mediawiki
provider: mediawiki-server
version: 1.26.3-r0
template:
metadata:
labels:
app: mediawiki
provider: mediawiki-server
version: 1.26.3-r0
heritage: bitnami
spec:
containers:
- name: mediawiki
image: bitnami/mediawiki:1.26.3-r0
env:
- name: MARIADB_HOST
value: "mariadb"
- name: MARIADB_PORT
value: "3306"
- name: MARIADB_PASSWORD
valueFrom:
secretKeyRef:
name: mariadb
key: mariadb-root-password
- name: MEDIAWIKI_USERNAME
value: {{ .mediawikiUser | quote }}
- name: MEDIAWIKI_PASSWORD
valueFrom:
secretKeyRef:
name: mediawiki
key: mediawiki-password
- name: MEDIAWIKI_EMAIL
value: {{ .mediawikiEmail | quote }}
- name: MEDIAWIKI_WIKI_NAME
value: {{ .mediawikiName | quote }}
- name: SMTP_HOST_ID
value: {{ .smtpHostID | quote }}
- name: SMTP_HOST
value: {{ .smtpHost | quote }}
- name: SMTP_PORT
value: {{ .smtpPort | quote }}
- name: SMTP_USER
value: {{ .smtpUser | quote }}
- name: SMTP_Password
valueFrom:
secretKeyRef:
name: mediawiki
key: smtp-password
ports:
- name: http
containerPort: 80
- name: https
containerPort: 443
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 120
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
timeoutSeconds: 1
volumeMounts:
- name: mediawiki-data
mountPath: /bitnami/mediawiki
- name: apache-data
mountPath: /bitnami/apache
volumes:
- name: mediawiki-data
emptyDir: {}
- name: apache-data
emptyDir: {}

View File

@@ -1,12 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/mediawiki-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: mediawiki
labels:
provider: mediawiki
heritage: bitnami
type: Opaque
data:
mediawiki-password: {{ .mediawikiPassword | b64enc | quote }}
smtp-password: {{ .smtpPassword | b64enc | quote }}

View File

@@ -1,9 +0,0 @@
mediawikiUser = "user"
mediawikiPassword = "bitnami1"
mediawikiEmail = "user@example.com"
mediawikiName = "Bitnami MediaWiki"
smtpHost = ""
smtpHostID = ""
smtpPort = ""
smtpUser = ""
smtpPassword = ""

11
mediawiki/values.yaml Normal file
View File

@@ -0,0 +1,11 @@
imageTag: 1.26.3-r0
mediawikiUser: user
mediawikiPassword: bitnami1
mediawikiEmail: user@example.com
mediawikiName: Bitnami MediaWiki
smtpHost:
smtpHostID:
smtpPort:
smtpUser:
smtpPassword:

0
memcached/.helmignore Normal file
View File

View File

@@ -1,10 +1,13 @@
name: memcached
home: http://memcached.org/
source:
- https://github.com/bitnami/bitnami-docker-memcached
version: 0.2.1
version: 0.3.0
description: Chart for Memcached
keywords:
- memcached
- cache
home: http://memcached.org/
sources:
- https://github.com/bitnami/bitnami-docker-memcached
maintainers:
- Bitnami <containers@bitnami.com>
details: |-
Memcached is an in-memory key-value store for small chunks of arbitrary data (strings, objects) from results of database calls, API calls, or page rendering.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

View File

@@ -1,44 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/memcached-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: memcached
labels:
provider: memcached
heritage: bitnami
spec:
replicas: 1
selector:
provider: memcached
version: 1.4.25-r0
template:
metadata:
labels:
provider: memcached
version: 1.4.25-r0
heritage: bitnami
spec:
containers:
- name: memcached
image: bitnami/memcached:1.4.25-r0
env:
- name: MEMCACHED_USER
value: ""
- name: MEMCACHED_PASSWORD
valueFrom:
secretKeyRef:
name: memcached
key: memcached-password
ports:
- name: memcache
containerPort: 11211
livenessProbe:
tcpSocket:
port: memcache
initialDelaySeconds: 30
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: memcache
initialDelaySeconds: 5
timeoutSeconds: 1

View File

@@ -1,11 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/memcached-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: memcached
labels:
provider: memcached
heritage: bitnami
type: Opaque
data:
memcached-password: ""

View File

@@ -1,33 +1,35 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/memcached-rc.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: ReplicationController
metadata:
name: memcached
name: {{ printf "%s-%s" .Release.Name "memcached" | trunc 24 }}
labels:
provider: memcached
release: {{ .Release.Name }}
heritage: bitnami
spec:
replicas: 1
selector:
provider: memcached
version: 1.4.25-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
template:
metadata:
labels:
provider: memcached
version: 1.4.25-r0
release: {{ .Release.Name }}
version: {{ .Values.imageTag }}
heritage: bitnami
spec:
containers:
- name: memcached
image: bitnami/memcached:1.4.25-r0
image: bitnami/memcached:{{ .Values.imageTag }}
env:
- name: MEMCACHED_USER
value: {{ .memcachedUser | quote }}
value: {{ .Values.memcachedUser | quote }}
- name: MEMCACHED_PASSWORD
valueFrom:
secretKeyRef:
name: memcached
name: {{ printf "%s-%s" .Release.Name "memcached" | trunc 24 }}
key: memcached-password
ports:
- name: memcache

View File

@@ -0,0 +1,11 @@
apiVersion: v1
kind: Secret
metadata:
name: {{ printf "%s-%s" .Release.Name "memcached" | trunc 24 }}
labels:
provider: memcached
release: {{ .Release.Name }}
heritage: bitnami
type: Opaque
data:
memcached-password: {{ .Values.memcachedPassword | quote | b64enc | quote }}

View File

@@ -1,9 +1,10 @@
apiVersion: v1
kind: Service
metadata:
name: memcached
name: {{ printf "%s-%s" .Release.Name "memcached" | trunc 24 }}
labels:
provider: memcached
release: {{ .Release.Name }}
heritage: bitnami
spec:
ports:
@@ -12,3 +13,4 @@ spec:
targetPort: memcache
selector:
provider: memcached
release: {{ .Release.Name }}

View File

@@ -1,11 +0,0 @@
#helm:generate helmc tpl -d tpl/values.toml -o manifests/memcached-secrets.yaml $HELM_GENERATE_FILE
apiVersion: v1
kind: Secret
metadata:
name: memcached
labels:
provider: memcached
heritage: bitnami
type: Opaque
data:
memcached-password: {{ .memcachedPassword | b64enc | quote }}

View File

@@ -1,2 +0,0 @@
memcachedUser = ""
memcachedPassword = ""

4
memcached/values.yaml Normal file
View File

@@ -0,0 +1,4 @@
imageTag: 1.4.25-r0
memcachedUser:
memcachedPassword:

0
mongodb/.helmignore Normal file
View File

View File

@@ -1,10 +1,14 @@
name: mongodb
home: https://mongodb.org
source:
- https://github.com/bitnami/bitnami-docker-mongodb
version: 0.2.1
version: 0.3.0
description: Chart for MongoDB
keywords:
- mongodb
- database
- nosql
home: https://mongodb.org
sources:
- https://github.com/bitnami/bitnami-docker-mongodb
maintainers:
- Bitnami <containers@bitnami.com>
details: |-
MongoDB is a cross-platform document-oriented database. Classified as a NoSQL database, MongoDB eschews the traditional table-based relational database structure in favor of JSON-like documents with dynamic schemas, making the integration of data in certain types of applications easier and faster.
- name: Bitnami
email: containers@bitnami.com
engine: gotpl

Some files were not shown because too many files have changed in this diff Show More