Commit new Chart releases for TrueCharts
Signed-off-by: TrueCharts-Bot <bot@truecharts.org>
This commit is contained in:
parent
1bfcdde782
commit
3fee60edab
|
@ -0,0 +1,13 @@
|
|||
**Important:**
|
||||
*for the complete changelog, please refer to the website*
|
||||
|
||||
|
||||
|
||||
|
||||
## [wordpress-0.0.1]wordpress-0.0.1 (2022-12-05)
|
||||
|
||||
### Feat
|
||||
|
||||
- Add Wordpress ([#4764](https://github.com/truecharts/charts/issues/4764))
|
||||
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
apiVersion: v2
|
||||
appVersion: "6.1.1"
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://library-charts.truecharts.org
|
||||
version: 11.0.3
|
||||
- condition: mariadb.enabled
|
||||
name: mariadb
|
||||
repository: https://charts.truecharts.org/
|
||||
version: 5.0.4
|
||||
description: The WordPress rich content management system can utilize plugins, widgets, and themes.
|
||||
home: https://truecharts.org/docs/charts/incubator/wordpress
|
||||
icon: https://truecharts.org/img/hotlink-ok/chart-icons/wordpress.png
|
||||
keywords:
|
||||
- wordpress
|
||||
- cms
|
||||
kubeVersion: ">=1.16.0-0"
|
||||
maintainers:
|
||||
- email: info@truecharts.org
|
||||
name: TrueCharts
|
||||
url: https://truecharts.org
|
||||
name: wordpress
|
||||
sources:
|
||||
- https://github.com/truecharts/charts/tree/master/charts/incubator/wordpress/
|
||||
- https://hub.docker.com/_/wordpress
|
||||
- https://www.wordpress.org
|
||||
version: 0.0.1
|
||||
annotations:
|
||||
truecharts.org/catagories: |
|
||||
- website
|
||||
- CMS
|
||||
- Hosting
|
||||
truecharts.org/SCALE-support: "true"
|
||||
truecharts.org/grade: U
|
|
@ -0,0 +1 @@
|
|||
# wordpress
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
|
||||
## [wordpress-0.0.1]wordpress-0.0.1 (2022-12-05)
|
||||
|
||||
### Feat
|
||||
|
||||
- Add Wordpress ([#4764](https://github.com/truecharts/charts/issues/4764))
|
||||
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
The WordPress rich content management system can utilize plugins, widgets, and themes.
|
||||
|
||||
This App is supplied by TrueCharts, for more information visit the manual: [https://truecharts.org/docs/charts/incubator/wordpress](https://truecharts.org/docs/charts/incubator/wordpress)
|
||||
|
||||
---
|
||||
|
||||
TrueCharts can only exist due to the incredible effort of our staff.
|
||||
Please consider making a [donation](https://truecharts.org/docs/about/sponsor) or contributing back to the project any way you can!
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,62 @@
|
|||
image:
|
||||
repository: tccr.io/truecharts/wordpress
|
||||
pullPolicy: IfNotPresent
|
||||
tag: 6.1.1@sha256:e8e4080c7cdb2f1b33710fd2db137ce89847af879d7bfd44dcad1a006f70a66d
|
||||
|
||||
securityContext:
|
||||
readOnlyRootFilesystem: false
|
||||
|
||||
podSecurityContext:
|
||||
runAsGroup: 0
|
||||
|
||||
wordpress:
|
||||
user: user
|
||||
pass: bitnami
|
||||
email: user@example.com
|
||||
first_name: TrueCharts
|
||||
last_name: TrueCharts
|
||||
blog_name: Truecharts Blog
|
||||
|
||||
smtp:
|
||||
enabled: false
|
||||
host: ""
|
||||
port: ""
|
||||
user: ""
|
||||
pass: ""
|
||||
|
||||
php-config:
|
||||
PHP_ENABLE_OPCACHE: "yes"
|
||||
PHP_EXPOSE_PHP: ""
|
||||
PHP_MAX_EXECUTION_TIME: ""
|
||||
PHP_MAX_INPUT_TIME: ""
|
||||
PHP_MAX_INPUT_VARS: ""
|
||||
PHP_MEMORY_LIMIT: 512M
|
||||
PHP_POST_MAX_SIZE: ""
|
||||
PHP_UPLOAD_MAX_FILESIZE: ""
|
||||
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: '{{ include "tc.common.names.fullname" . }}-env-config'
|
||||
- secretRef:
|
||||
name: '{{ include "tc.common.names.fullname" . }}-env-secret'
|
||||
|
||||
service:
|
||||
main:
|
||||
ports:
|
||||
main:
|
||||
protocol: HTTP
|
||||
port: 10591
|
||||
|
||||
persistence:
|
||||
config:
|
||||
enabled: true
|
||||
mountPath: /bitnami/wordpress
|
||||
|
||||
mariadb:
|
||||
enabled: true
|
||||
mariadbUsername: wordpress
|
||||
mariadbDatabase: wordpress
|
||||
existingSecret: mariadbcreds
|
||||
|
||||
portal:
|
||||
enabled: true
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,115 @@
|
|||
{{/* Wordpress environment variables */}}
|
||||
{{- define "wordpress.env" -}}
|
||||
{{- $configName := printf "%s-env-config" (include "tc.common.names.fullname" .) }}
|
||||
{{- $secretName := printf "%s-env-secret" (include "tc.common.names.fullname" .) }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: {{ $configName }}
|
||||
labels:
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
data:
|
||||
APACHE_HTTP_PORT_NUMBER: {{ .Values.service.main.ports.main.port | quote }}
|
||||
|
||||
{{/* Database */}}
|
||||
WORDPRESS_DATABASE_PORT_NUMBER: "3306"
|
||||
WORDPRESS_DATABASE_USER: {{ .Values.mariadb.mariadbUsername | quote }}
|
||||
WORDPRESS_DATABASE_NAME: {{ .Values.mariadb.mariadbDatabase | quote }}
|
||||
|
||||
{{/* Wordpress */}}
|
||||
WORDPRESS_EMAIL: {{ .Values.wordpress.email | quote }}
|
||||
WORDPRESS_FIRST_NAME: {{ .Values.wordpress.first_name | quote }}
|
||||
WORDPRESS_LAST_NAME: {{ .Values.wordpress.last_name | quote }}
|
||||
WORDPRESS_BLOG_NAME: {{ .Values.wordpress.blog_name | quote }}
|
||||
|
||||
{{- if .Values.smtp.enabled }}
|
||||
WORDPRESS_SMTP_HOST: {{ .Values.smtp.host | quote }}
|
||||
WORDPRESS_SMTP_PORT: {{ .Values.smtp.port | quote }}
|
||||
{{- end }}
|
||||
|
||||
{{/* PHP */}}
|
||||
{{- with .Values.wordpress.PHP_ENABLE_OPCACHE }}
|
||||
PHP_ENABLE_OPCACHE: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_EXPOSE_PHP }}
|
||||
PHP_EXPOSE_PHP: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_MAX_EXECUTION_TIME }}
|
||||
PHP_MAX_EXECUTION_TIME: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_MAX_INPUT_TIME }}
|
||||
PHP_MAX_INPUT_TIME: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_MAX_INPUT_VARS }}
|
||||
PHP_MAX_INPUT_VARS: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_MEMORY_LIMIT }}
|
||||
PHP_MEMORY_LIMIT: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_POST_MAX_SIZE }}
|
||||
PHP_POST_MAX_SIZE: {{ . | quote }}
|
||||
{{- end }}
|
||||
{{- with .Values.wordpress.PHP_UPLOAD_MAX_FILESIZE }}
|
||||
PHP_UPLOAD_MAX_FILESIZE: {{ . | quote }}
|
||||
{{- end }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ $secretName }}
|
||||
labels:
|
||||
{{- include "tc.common.labels" . | nindent 4 }}
|
||||
data:
|
||||
WORDPRESS_DATABASE_HOST: {{ printf "%v-%v" .Release.Name "mariadb" | b64enc }}
|
||||
WORDPRESS_DATABASE_PASSWORD: {{ .Values.mariadb.mariadbPassword | trimAll "\"" | b64enc }}
|
||||
|
||||
WORDPRESS_PASSWORD: {{ .Values.wordpress.pass | quote | b64enc }}
|
||||
|
||||
{{- if .Values.smtp.enabled }}
|
||||
WORDPRESS_SMTP_USER: {{ .Values.smtp.user | quote | b64enc }}
|
||||
WORDPRESS_SMTP_PASSWORD: {{ .Values.smtp.pass | quote | b64enc }}
|
||||
{{- end }}
|
||||
|
||||
{{/* Salts */}}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_AUTH_KEY: {{ index .data "WORDPRESS_AUTH_KEY" }}
|
||||
{{- else }}
|
||||
WORDPRESS_AUTH_KEY: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_SECURE_AUTH_KEY: {{ index .data "WORDPRESS_SECURE_AUTH_KEY" }}
|
||||
{{- else }}
|
||||
WORDPRESS_SECURE_AUTH_KEY: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_LOGGED_IN_KEY: {{ index .data "WORDPRESS_LOGGED_IN_KEY" }}
|
||||
{{- else }}
|
||||
WORDPRESS_LOGGED_IN_KEY: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_NONCE_KEY: {{ index .data "WORDPRESS_NONCE_KEY" }}
|
||||
{{- else }}
|
||||
WORDPRESS_NONCE_KEY: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_AUTH_SALT: {{ index .data "WORDPRESS_AUTH_SALT" }}
|
||||
{{- else }}
|
||||
WORDPRESS_AUTH_SALT: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_SECURE_AUTH_SALT: {{ index .data "WORDPRESS_SECURE_AUTH_SALT" }}
|
||||
{{- else }}
|
||||
WORDPRESS_SECURE_AUTH_SALT: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_LOGGED_IN_SALT: {{ index .data "WORDPRESS_LOGGED_IN_SALT" }}
|
||||
{{- else }}
|
||||
WORDPRESS_LOGGED_IN_SALT: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- with (lookup "v1" "Secret" .Release.Namespace $secretName) }}
|
||||
WORDPRESS_NONCE_SALT: {{ index .data "WORDPRESS_NONCE_SALT" }}
|
||||
{{- else }}
|
||||
WORDPRESS_NONCE_SALT: {{ randAlphaNum 32 | b64enc }}
|
||||
{{- end }}
|
||||
{{- end }}
|
|
@ -0,0 +1,8 @@
|
|||
{{/* Make sure all variables are set properly */}}
|
||||
{{- include "tc.common.loader.init" . }}
|
||||
|
||||
{{/* Plausible environment variables */}}
|
||||
{{- include "wordpress.env" . }}
|
||||
|
||||
{{/* Render the templates */}}
|
||||
{{ include "tc.common.loader.apply" . }}
|
|
@ -0,0 +1,6 @@
|
|||
icon_url: https://truecharts.org/img/hotlink-ok/chart-icons/wordpress.png
|
||||
categories:
|
||||
- website
|
||||
- CMS
|
||||
- Hosting
|
||||
|
Loading…
Reference in New Issue