Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

helm lamp stack chart #1288

Merged
merged 21 commits into from Dec 5, 2017
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions stable/lamp/.helmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Patterns to ignore when building packages.
# This supports shell glob matching, relative path matching, and
# negation (prefixed with !). Only one pattern per line.
.DS_Store
# Common VCS dirs
.git/
.gitignore
.bzr/
.bzrignore
.hg/
.hgignore
.svn/
# Common backup files
*.swp
*.bak
*.tmp
*~
# Various IDEs
.project
.idea/
*.tmproj
7 changes: 7 additions & 0 deletions stable/lamp/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: v1
description: Modular and transparent LAMP stack chart supporting PHP-FPM, Release Cloning, LoadBalancer, Ingress, SSL and lots more!
name: lamp
version: 0.1.0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add appVersion.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can leave this off since there is a conglomeration of app versions.

home: https://github.com/lead4good/helm-lamp-stack
maintainers:
- name: lead4good
319 changes: 319 additions & 0 deletions stable/lamp/README.md

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions stable/lamp/examples/drupal.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
mysql:
rootPassword: "Root Password here..."
user: drupal
password: "User Password here..."
database: drupal

php:
repository: drupal
tag: 7-fpm
persistentSubpaths:
- modules
- profiles
- sites
- themes
# copies web root to persistent storage upon creation. remember to disable on subsequent
# upgrades of the chart, otherwise your storage might get overwritten...
copyRoot: true
6 changes: 6 additions & 0 deletions stable/lamp/examples/grav.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
mysql:
enabled: false

php:
repository: lead4good/grav
tag: fpm-alpine
18 changes: 18 additions & 0 deletions stable/lamp/examples/joomla.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mysql:
rootPassword: "Root Password here..."
user: joomla
password: "User Password here..."
database: joomla

php:
repository: joomla
tag: fpm-php7
envVars:
- name: JOOMLA_DB_HOST
value: localhost
- name: JOOMLA_DB_USER
value: joomla
- name: JOOMLA_DB_PASSWORD
value: "User Password here..."
- name: JOOMLA_DB_DATABASE
value: joomla
13 changes: 13 additions & 0 deletions stable/lamp/examples/nextcloud.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
mysql:
rootPassword: "Root Password here..."
user: nextcloud
password: "User Password here..."
database: nextcloud

php:
repository: nextcloud
tag: fpm
persistentSubpaths:
- apps
- config
- data
9 changes: 9 additions & 0 deletions stable/lamp/examples/owncloud.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
mysql:
rootPassword: "Root Password here..."
user: owncloud
password: "User Password here..."
database: owncloud

php:
repository: owncloud
tag: fpm
29 changes: 29 additions & 0 deletions stable/lamp/examples/wordpress-ingress-ssl.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# This example deploys a wordpress lamp stack with ingress and ssl enabled.
# Note: for this to work you need to have a working nginx ingress controller
# and a working lego container running on your cluster, as well as `ingress.domain`
# and www.`ingress.domain` pointing to your ingress controllers public IP

mysql:
rootPassword: "Root Password here..."
user: wordpress
password: "User Password here..."
database: wordpress

php:
repository: "wordpress"
tag: "php7.1-fpm"
envVars:
- name: WORDPRESS_DB_HOST
value: localhost
- name: WORDPRESS_DB_USER
value: wordpress
- name: WORDPRESS_DB_PASSWORD
value: "User Password here..."
- name: WORDPRESS_DB_DATABASE
value: wordpress

ingress:
enabled: true
ssl: true
domain: example.com
subdomainWWW: enabled
21 changes: 21 additions & 0 deletions stable/lamp/examples/wordpress-php-ini.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
mysql:
rootPassword: "Root Password here..."
user: wordpress
password: "User Password here..."
database: wordpress

php:
repository: "wordpress"
tag: "php7.1-fpm"
envVars:
- name: WORDPRESS_DB_HOST
value: localhost
- name: WORDPRESS_DB_USER
value: wordpress
- name: WORDPRESS_DB_PASSWORD
value: "User Password here..."
- name: WORDPRESS_DB_DATABASE
value: wordpress
# List your additional php configurations with 4 spaces indent after " ini: |"
ini: |
short_open_tag=On
18 changes: 18 additions & 0 deletions stable/lamp/examples/wordpress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
mysql:
rootPassword: "Root Password here..."
user: wordpress
password: "User Password here..."
database: wordpress

php:
repository: "wordpress"
tag: "php7.1-fpm"
envVars:
- name: WORDPRESS_DB_HOST
value: localhost
- name: WORDPRESS_DB_USER
value: wordpress
- name: WORDPRESS_DB_PASSWORD
value: "User Password here..."
- name: WORDPRESS_DB_DATABASE
value: wordpress
19 changes: 19 additions & 0 deletions stable/lamp/files/httpd/httpd-vhosts-socket.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<VirtualHost *:80>
DocumentRoot /var/www/html

Define K8S_ENV

<Directory /var/www/html>
DirectoryIndex index.html index.php
Options +FollowSymLinks
AllowOverride All
Require all granted

<FilesMatch "\.php(/.*)?$">
<If "-f %{REQUEST_FILENAME}">
SetHandler "proxy:unix:/var/run/php/php-fpm.sock|fcgi://localhost:9000/"
</If>
</FilesMatch>
</Directory>

</VirtualHost>
19 changes: 19 additions & 0 deletions stable/lamp/files/httpd/httpd-vhosts.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<VirtualHost *:80>
DocumentRoot /var/www/html

Define K8S_ENV

<Directory /var/www/html>
DirectoryIndex index.html index.php
Options +FollowSymLinks
AllowOverride All
Require all granted

<FilesMatch "\.php(/.*)?$">
<If "-f %{REQUEST_FILENAME}">
SetHandler "proxy:fcgi://localhost:9000/"
</If>
</FilesMatch>
</Directory>

</VirtualHost>
Loading