mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/mediawiki] Refactor image property in values.yaml (#4645)
* [stable/mediawiki] Refactor image properties in values.yaml * Use rolling tag and refactor pullSecrets * Fix lint issue * Update Chart.yaml
This commit is contained in:
committed by
k8s-ci-robot
parent
1ab6b4f90f
commit
515ec7c448
@@ -1,5 +1,5 @@
|
||||
name: mediawiki
|
||||
version: 0.6.5
|
||||
version: 1.0.0
|
||||
appVersion: 1.30.0
|
||||
description: Extremely powerful, scalable software and a feature-rich wiki implementation
|
||||
that uses PHP to process and display data stored in a database.
|
||||
|
||||
@@ -47,8 +47,11 @@ The following table lists the configurable parameters of the MediaWiki chart and
|
||||
|
||||
| Parameter | Description | Default |
|
||||
|--------------------------------------|------------------------------------------|---------------------------------------------------------|
|
||||
| `image` | MediaWiki image | `bitnami/mediawiki:{VERSION}` |
|
||||
| `imagePullPolicy` | Image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.registry` | MediaWiki image registry | `docker.io` |
|
||||
| `image.repository` | MwdiaWiki Image name | `bitnami/mediawiki` |
|
||||
| `image.tag` | MediaWiki Image tag | `{VERSION}` |
|
||||
| `image.pullPolicy` | Image pull policy | `Always` if `imageTag` is `latest`, else `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify image pull secrets | `nil` |
|
||||
| `mediawikiUser` | User of the application | `user` |
|
||||
| `mediawikiPassword` | Application password | _random 10 character long alphanumeric string_ |
|
||||
| `mediawikiEmail` | Admin email | `user@example.com` |
|
||||
|
||||
@@ -15,10 +15,16 @@ spec:
|
||||
labels:
|
||||
app: {{ template "mediawiki.fullname" . }}
|
||||
spec:
|
||||
{{- if .Values.image.pullSecrets }}
|
||||
imagePullSecrets:
|
||||
{{- range .Values.image.pullSecrets }}
|
||||
- name: {{ . }}
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: {{ template "mediawiki.fullname" . }}
|
||||
image: "{{ .Values.image }}"
|
||||
imagePullPolicy: {{ .Values.imagePullPolicy | quote }}
|
||||
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
|
||||
env:
|
||||
- name: ALLOW_EMPTY_PASSWORD
|
||||
value: {{ .Values.allowEmptyPassword | quote }}
|
||||
|
||||
@@ -1,13 +1,21 @@
|
||||
## Bitnami MediaWiki image version
|
||||
## Bitnami DokuWiki image version
|
||||
## ref: https://hub.docker.com/r/bitnami/mediawiki/tags/
|
||||
##
|
||||
image: bitnami/mediawiki:1.30.0-r2
|
||||
|
||||
## 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
|
||||
##
|
||||
# imagePullPolicy:
|
||||
image:
|
||||
registry: docker.io
|
||||
repository: bitnami/mediawiki
|
||||
tag: 1.30.0
|
||||
## 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
|
||||
##
|
||||
pullPolicy: IfNotPresent
|
||||
## Optionally specify an array of imagePullSecrets.
|
||||
## Secrets must be manually created in the namespace.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
|
||||
##
|
||||
# pullSecrets:
|
||||
# - myRegistrKeySecretName
|
||||
|
||||
## User of the application
|
||||
## ref: https://github.com/bitnami/bitnami-docker-mediawiki#environment-variables
|
||||
|
||||
Reference in New Issue
Block a user