mirror of
https://github.com/bitnami/charts.git
synced 2026-03-18 15:27:16 +08:00
[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>
This commit is contained in:
44
bitnami/matomo/templates/tls-secrets.yaml
Normal file
44
bitnami/matomo/templates/tls-secrets.yaml
Normal file
@@ -0,0 +1,44 @@
|
||||
{{- if .Values.ingress.enabled }}
|
||||
{{- if .Values.ingress.secrets }}
|
||||
{{- range .Values.ingress.secrets }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ .name }}
|
||||
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 $.Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" $.Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
type: kubernetes.io/tls
|
||||
data:
|
||||
tls.crt: {{ .certificate | b64enc }}
|
||||
tls.key: {{ .key | b64enc }}
|
||||
---
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if and .Values.ingress.tls .Values.ingress.selfSigned }}
|
||||
{{- $ca := genCA "matomo-ca" 365 }}
|
||||
{{- $cert := genSignedCert .Values.ingress.hostname nil (list .Values.ingress.hostname) 365 $ca }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ printf "%s-tls" .Values.ingress.hostname }}
|
||||
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 .Values.commonAnnotations }}
|
||||
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
||||
{{- end }}
|
||||
type: kubernetes.io/tls
|
||||
data:
|
||||
tls.crt: {{ $cert.Cert | b64enc | quote }}
|
||||
tls.key: {{ $cert.Key | b64enc | quote }}
|
||||
ca.crt: {{ $ca.Cert | b64enc | quote }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user