Browse Source

Make data volume easier to identify among others

master
Fábio Kaiser Rauber 4 years ago
parent
commit
27aa2ed990
  1. 2
      charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml
  2. 2
      charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml
  3. 4
      charts/portalmodelo/v0.5.0/templates/pvc.yaml
  4. 2
      charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml
  5. 2
      charts/portalmodelo/v0.5.0/templates/zeoserver-deployment.yaml

2
charts/portalmodelo/v0.5.0/templates/plone-deployment.yaml

@ -108,7 +108,7 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: data
claimName: {{ include "portalmodelo.fullname" . }}-data
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:

2
charts/portalmodelo/v0.5.0/templates/plonecfg-job.yaml

@ -81,7 +81,7 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: data
claimName: {{ include "portalmodelo.fullname" . }}-data
{{- end }}
{{- end }}
{{- end }}

4
charts/portalmodelo/v0.5.0/templates/pvc.yaml

@ -2,7 +2,9 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: data
name: {{ include "portalmodelo.fullname" . }}-data
labels:
{{- include "portalmodelo.labels" . | nindent 4 }
spec:
accessModes:
- {{ .Values.persistence.accessMode }}

2
charts/portalmodelo/v0.5.0/templates/zeopack-cronjob.yaml

@ -47,7 +47,7 @@ spec:
volumes:
- name: data
persistentVolumeClaim:
claimName: data
claimName: {{ include "portalmodelo.fullname" . }}-data
{{- end }}
{{- with .Values.nodeSelector }}
nodeSelector:

2
charts/portalmodelo/v0.5.0/templates/zeoserver-deployment.yaml

@ -102,7 +102,7 @@ spec:
- name: data
{{- if .Values.persistence.enabled }}
persistentVolumeClaim:
claimName: data
claimName: {{ include "portalmodelo.fullname" . }}-data
{{- else }}
emptyDir: {}
{{- end }}

Loading…
Cancel
Save