mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/owncloud] Add ExtraEnvVar parameter (#3964)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: owncloud
|
||||
version: 8.2.6
|
||||
version: 8.3.0
|
||||
appVersion: 10.5.0
|
||||
description: A file sharing server that puts the control and security of your own data back into your hands.
|
||||
keywords:
|
||||
|
||||
@@ -100,6 +100,7 @@ The following table lists the configurable parameters of the ownCloud chart and
|
||||
| `resources` | CPU/Memory resource requests/limits | Memory: `512Mi`, CPU: `300m` |
|
||||
| `podAnnotations` | Pod annotations | `{}` |
|
||||
| `affinity` | Map of node/pod affinities | `{}` |
|
||||
| `extraEnvVars` | Pass extra environment variables to the image | `[]` |
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image.registry` | Apache exporter image registry | `docker.io` |
|
||||
| `metrics.image.repository` | Apache exporter image name | `bitnami/apache-exporter` |
|
||||
|
||||
@@ -186,3 +186,16 @@ Return the appropriate apiVersion for deployment.
|
||||
{{- print "apps/v1" -}}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Renders a value that contains template.
|
||||
Usage:
|
||||
{{ include "owncloud.tplValues.render" ( dict "value" .Values.path.to.the.Value "context" $) }}
|
||||
*/}}
|
||||
{{- define "owncloud.tplValues.render" -}}
|
||||
{{- if typeIs "string" .value }}
|
||||
{{- tpl .value .context }}
|
||||
{{- else }}
|
||||
{{- tpl (.value | toYaml) .context }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
@@ -88,6 +88,9 @@ spec:
|
||||
key: owncloud-password
|
||||
- name: OWNCLOUD_EMAIL
|
||||
value: {{ default "" .Values.owncloudEmail | quote }}
|
||||
{{- if .Values.extraEnvVars }}
|
||||
{{- include "owncloud.tplValues.render" ( dict "value" .Values.extraEnvVars "context" $ ) | nindent 8 }}
|
||||
{{- end }}
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
|
||||
@@ -247,6 +247,8 @@ podAnnotations: {}
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
extraEnvVars: []
|
||||
|
||||
## Prometheus Exporter / Metrics
|
||||
##
|
||||
metrics:
|
||||
|
||||
Reference in New Issue
Block a user