[stable/testlink] Remove apache and/or php volume (#14309)

* Remove apache and/or php volume

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>

* Fix trailing space

Signed-off-by: Carlos Rodriguez Hernandez <crhernandez@bitnami.com>
This commit is contained in:
Carlos Rodríguez Hernández
2019-05-30 09:08:46 -07:00
committed by Kubernetes Prow Robot
parent 8c18f3d23b
commit d6af2fb339
5 changed files with 3 additions and 50 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: testlink
version: 4.3.2
version: 4.4.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
+1 -4
View File
@@ -95,9 +95,6 @@ The following table lists the configurable parameters of the TestLink chart and
| `service.externalTrafficPolicy` | Enable client source IP preservation | `Cluster` |
| `service.loadBalancerIP` | LoadBalancer service IP address | `""` |
| `persistence.enabled` | Enable persistence using PVC | `true` |
| `persistence.apache.storageClass` | PVC Storage Class for Apache volume | `nil` (uses alpha storage class annotation) |
| `persistence.apache.accessMode` | PVC Access Mode for Apache volume | `ReadWriteOnce` |
| `persistence.apache.size` | PVC Storage Request for Apache volume | `1Gi` |
| `persistence.testlink.storageClass` | PVC Storage Class for TestLink volume | `nil` (uses alpha storage class annotation) |
| `persistence.testlink.accessMode` | PVC Access Mode for TestLink volume | `ReadWriteOnce` |
| `persistence.testlink.size` | PVC Storage Request for TestLink volume | `8Gi` |
@@ -140,7 +137,7 @@ Bitnami will release a new chart updating its containers if a new version of the
## Persistence
The [Bitnami TestLink](https://github.com/bitnami/bitnami-docker-testlink) image stores the TestLink data and configurations at the `/bitnami/testlink` and `/bitnami/apache` paths of the container.
The [Bitnami TestLink](https://github.com/bitnami/bitnami-docker-testlink) image stores the TestLink data and configurations at the `/bitnami/testlink` path of the container.
Persistent Volume Claims are used to keep the data across deployments. This is known to work in GCE, AWS, and minikube.
See the [Configuration](#configuration) section to configure the PVC or to disable persistence.
-24
View File
@@ -1,24 +0,0 @@
{{- if .Values.persistence.enabled -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ template "testlink.fullname" . }}-apache
labels:
app: "{{ template "testlink.fullname" . }}"
chart: "{{ template "testlink.chart" . }}"
release: {{ .Release.Name | quote }}
heritage: {{ .Release.Name | quote }}
spec:
accessModes:
- {{ .Values.persistence.apache.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.apache.size | quote }}
{{- if .Values.persistence.apache.storageClass }}
{{- if (eq "-" .Values.persistence.apache.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistence.apache.storageClass }}"
{{- end }}
{{- end }}
{{- end -}}
@@ -130,8 +130,6 @@ spec:
volumeMounts:
- name: testlink-data
mountPath: /bitnami/testlink
- name: apache-data
mountPath: /bitnami/apache
{{- if .Values.metrics.enabled }}
- name: metrics
image: {{ template "testlink.metrics.image" . }}
@@ -163,10 +161,3 @@ spec:
{{- else }}
emptyDir: {}
{{- end }}
- name: apache-data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: {{ template "testlink.fullname" . }}-apache
{{- else }}
emptyDir: {}
{{- end }}
+1 -12
View File
@@ -13,7 +13,7 @@
image:
registry: docker.io
repository: bitnami/testlink
tag: 1.9.19-debian-9-r95
tag: 1.9.19-debian-9-r98
## 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
@@ -160,17 +160,6 @@ service:
##
persistence:
enabled: true
apache:
## apache data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>
## If set to "-", storageClassName: "", which disables dynamic provisioning
## If undefined (the default) or set to null, no storageClassName spec is
## set, choosing the default provisioner. (gp2 on AWS, standard on
## GKE, AWS & OpenStack)
##
# storageClass: "-"
accessMode: ReadWriteOnce
size: 1Gi
testlink:
## testlink data Persistent Volume Storage Class
## If defined, storageClassName: <storageClass>