From a46df2b97de2cb0ce0c120c738569efb7fcf3a17 Mon Sep 17 00:00:00 2001 From: bitnami-bot Date: Tue, 17 Sep 2019 08:35:12 +0000 Subject: [PATCH] Synchronize upstreamed folder to ed58cb3e5 --- upstreamed/testlink/Chart.yaml | 2 +- upstreamed/testlink/templates/tls-secrets.yaml | 17 +++++++++++++++++ upstreamed/testlink/values.yaml | 10 ++++++++-- 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 upstreamed/testlink/templates/tls-secrets.yaml diff --git a/upstreamed/testlink/Chart.yaml b/upstreamed/testlink/Chart.yaml index f0ab77c3a..34fe6e4d2 100644 --- a/upstreamed/testlink/Chart.yaml +++ b/upstreamed/testlink/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: testlink -version: 6.2.1 +version: 6.3.0 appVersion: 1.9.19 description: Web-based test management system that facilitates software quality assurance. icon: https://bitnami.com/assets/stacks/testlink/img/testlink-stack-220x234.png diff --git a/upstreamed/testlink/templates/tls-secrets.yaml b/upstreamed/testlink/templates/tls-secrets.yaml new file mode 100644 index 000000000..2894088cb --- /dev/null +++ b/upstreamed/testlink/templates/tls-secrets.yaml @@ -0,0 +1,17 @@ +{{- if .Values.ingress.enabled }} +{{- range .Values.ingress.secrets }} +apiVersion: v1 +kind: Secret +metadata: + name: {{ .name }} + labels: + app: "{{ template "testlink.fullname" $ }}" + chart: "{{ template "testlink.chart" $ }}" + release: {{ $.Release.Name | quote }} + heritage: {{ $.Release.Service | quote }} +type: kubernetes.io/tls +data: + tls.crt: {{ .certificate | b64enc }} + tls.key: {{ .key | b64enc }} +{{- end }} +{{- end }} diff --git a/upstreamed/testlink/values.yaml b/upstreamed/testlink/values.yaml index bd30aaba5..5ef05732d 100644 --- a/upstreamed/testlink/values.yaml +++ b/upstreamed/testlink/values.yaml @@ -243,8 +243,14 @@ ingress: ## It is also possible to create and manage the certificates outside of this helm chart ## Please see README.md for more information # - name: testlink.local-tls - # key: - # certificate: + # key: |- + # -----BEGIN RSA PRIVATE KEY----- + # ... + # -----END RSA PRIVATE KEY----- + # certificate: |- + # -----BEGIN CERTIFICATE----- + # ... + # -----END CERTIFICATE----- ## Affinity for pod assignment ## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity