Files
charts/bitnami/matomo/templates/pvc.yaml
Jeremy 4084152a96 [bitnami/matomo] Adding the Matomo Helm Chart (#10652)
* Adding Matomo Chart v0.1.0

Signed-off-by: Jeremy Boyle <jeremy.t.boyle2.mil@swf.army.mil>

* Updating values.yaml, with missing @param values, regenerated README.md

Signed-off-by: Jeremy Boyle <jeremy.t.boyle2.mil@swf.army.mil>

* Updating values.yaml, changed DEBUG = FALSE, regenerated README.md

Signed-off-by: Jeremy Boyle <jeremy.t.boyle2.mil@swf.army.mil>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* test:  Add VIB testing

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* fix matomo

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* test:  Update incorrect url

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* chore: ⬆️ Update image

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* chore: 🔥 Remove unused variable ingress.hosts and service.httpsport

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* fix: 🐛 Add reference to missing certificate values

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* docs: 📝 Fix incorrect placeholder in values documentation

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* feat:  Adapt ingress to standard and add missing values

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* ci: 👷 Add chart to cd-pipeline

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* chore: ⬆️ Bump subcharts

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* test:  Add two extra GOSS tests

Check that the httpd process exists and check the Matomo config contents

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* test:  Improve cypress tests

- Add documentation on the API
- Check that the user has been created

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* chore: ⬆️ Bump image tag

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* chore: 🔥 Remove references to service.port

This is a deprecated parameter not used anymore

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* feat:  Use common.secrets.password.manage for password management

This avoids issues during upgrades

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* fix: 🐛 Remove erroneous call to coalesce

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* chore: 🔥 Remove component label

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* feat:  Add smtpExistingSecret value

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* fix: 🐛 Use correct PVC values

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* chore: 🔥 Remove unused reference to sessionAffinity and service.port

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

Co-authored-by: Bitnami Containers <containers@bitnami.com>
Co-authored-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
2022-07-07 17:12:39 +02:00

42 lines
1.6 KiB
YAML

{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ include "common.names.fullname" . }}-matomo
namespace: {{ include "common.names.namespace" . | quote }}
labels: {{- include "common.labels.standard" . | nindent 4 }}
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
{{- if or .Values.persistence.annotations .Values.commonAnnotations }}
annotations:
{{- if .Values.commonAnnotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
{{- if .Values.persistence.annotations }}
{{- include "common.tplvalues.render" ( dict "value" .Values.persistence.annotations "context" $ ) | nindent 4 }}
{{- end }}
{{- end }}
spec:
{{- if .Values.persistence.hostPath }}
storageClassName: ""
{{- else }}
{{- include "matomo.storageClass" . | nindent 2 }}
{{- end }}
{{- if not (empty .Values.persistence.accessModes) }}
accessModes:
{{- range .Values.persistence.accessModes }}
- {{ . | quote }}
{{- end }}
{{- end }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- if .Values.persistence.selector }}
selector: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.selector "context" $) | nindent 4 }}
{{- end -}}
{{- if .Values.persistence.dataSource }}
dataSource: {{- include "common.tplvalues.render" (dict "value" .Values.persistence.dataSource "context" $) | nindent 4 }}
{{- end }}
{{- end -}}