Files
charts/bitnami/orangehrm/templates/pvc.yaml
Andrés Bono e954b7134f [bitnami/orangehrm] MAJOR: Follow non-root approach (#4586)
* [bitnami/orangehrm] MAJOR: Follow non-root approach

* Remove empty line

* Update bitnami/orangehrm/templates/ingress.yaml

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>

* Generate cert secrets

* Add smtpExistingSecret

* Add missing service parameters

* parametrize volumeMount subPath

* [bitnami/orangehrm] Update components versions

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

Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-12-04 12:22:17 +01:00

24 lines
887 B
YAML

{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: {{ include "common.names.fullname" . }}-orangehrm
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 }}
spec:
{{- if .Values.persistence.hostPath }}
storageClassName: ""
{{- end }}
accessModes:
- {{ .Values.persistence.accessMode | quote }}
resources:
requests:
storage: {{ .Values.persistence.size | quote }}
{{- include "orangehrm.storageClass" . | nindent 2 }}
{{- end -}}