Added dropdown for choice of PHP version

This commit is contained in:
WilliamMiceli
2019-06-01 16:07:05 -04:00
parent c87f461355
commit 96192bcd69
2 changed files with 15 additions and 1 deletions

View File

@@ -2,7 +2,9 @@ version: '2'
services: services:
joomla: joomla:
image: joomla:latest {{- if eq .Values.IMAGE_VERSION "Apache (PHP 7.1)"}}image: joomla:php7.1-apache{{- else}}
{{- if eq .Values.IMAGE_VERSION "Apache (PHP 7.2)"}}image: joomla:php7.2-apache{{- else}}
{{- if eq .Values.IMAGE_VERSION "Apache (PHP 7.3)"}}image: joomla:php7.3-apache{{- end}}
dns: # Using Cloudflare DNS dns: # Using Cloudflare DNS
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1

View File

@@ -40,6 +40,18 @@ catalog:
required: true required: true
type: password type: password
- variable: "IMAGE_VERSION"
label: "Image Version"
description: |
What version of the image should be used.
# default:
required: true
type: enum
options:
- Apache (PHP 7.1)
- Apache (PHP 7.2)
- Apache (PHP 7.3)
- variable: "DATA_DIR" - variable: "DATA_DIR"
label: "Data Directory" label: "Data Directory"
description: | description: |