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: volumes:
- name: data - name: data
persistentVolumeClaim: persistentVolumeClaim:
claimName: data claimName: {{ include "portalmodelo.fullname" . }}-data
{{- end }} {{- end }}
{{- with .Values.nodeSelector }} {{- with .Values.nodeSelector }}
nodeSelector: nodeSelector:

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

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

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

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

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

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

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

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

Loading…
Cancel
Save