Loading charts/postgis/templates/persistentvolumeclaim.yaml +0 −2 Original line number Diff line number Diff line {{- if .Values.persistence.enabled -}} {{- if not .Values.persistence.existingClaim -}} apiVersion: "v1" kind: "PersistentVolumeClaim" metadata: Loading Loading @@ -31,4 +30,3 @@ spec: requests: storage: "{{ .Values.persistence.size }}" {{- end -}} {{- end -}} charts/postgis/templates/statefulset.yaml +2 −21 Original line number Diff line number Diff line Loading @@ -430,29 +430,10 @@ spec: - name: data persistentVolumeClaim: {{- with .Values.persistence.existingClaim }} #claimName: {{ tpl . $ }} claimName: {{ template "postgresql.fullname" . }} claimName: {{ tpl . $ }} {{- end }} {{- else if not .Values.persistence.enabled }} - name: data emptyDir: {} {{- else if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} volumeClaimTemplates: - metadata: name: data {{- with .Values.persistence.annotations }} annotations: {{- range $key, $value := . }} {{ $key }}: {{ $value }} {{- end }} {{- end }} spec: accessModes: {{- range .Values.persistence.accessModes }} - {{ . | quote }} {{- end }} resources: requests: storage: {{ .Values.persistence.size | quote }} {{ include "postgresql.storageClass" . }} {{- end }} charts/postgis/values.yaml +4 −4 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ image: ## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup ## volumePermissions: enabled: false enabled: true image: registry: docker.io repository: bitnami/minideb Loading Loading @@ -301,7 +301,8 @@ persistence: ## If defined, PVC must be created manually before volume will be bound ## The value is evaluated as a template, so, for example, the name can depend on .Release or .Chart ## existingClaim: false ## This chart has been modified to create a PVC with this name existingClaim: meep-postgis ## The path the volume will be mounted at, useful when using different ## PostgreSQL images. Loading @@ -318,7 +319,6 @@ persistence: - ReadWriteOnce size: 8Gi annotations: {} reclaimPolicy: Retain # location: "<WORKDIR>/postgis" location: "/home/englab/.meep/postgis" Loading Loading
charts/postgis/templates/persistentvolumeclaim.yaml +0 −2 Original line number Diff line number Diff line {{- if .Values.persistence.enabled -}} {{- if not .Values.persistence.existingClaim -}} apiVersion: "v1" kind: "PersistentVolumeClaim" metadata: Loading Loading @@ -31,4 +30,3 @@ spec: requests: storage: "{{ .Values.persistence.size }}" {{- end -}} {{- end -}}
charts/postgis/templates/statefulset.yaml +2 −21 Original line number Diff line number Diff line Loading @@ -430,29 +430,10 @@ spec: - name: data persistentVolumeClaim: {{- with .Values.persistence.existingClaim }} #claimName: {{ tpl . $ }} claimName: {{ template "postgresql.fullname" . }} claimName: {{ tpl . $ }} {{- end }} {{- else if not .Values.persistence.enabled }} - name: data emptyDir: {} {{- else if and .Values.persistence.enabled (not .Values.persistence.existingClaim) }} volumeClaimTemplates: - metadata: name: data {{- with .Values.persistence.annotations }} annotations: {{- range $key, $value := . }} {{ $key }}: {{ $value }} {{- end }} {{- end }} spec: accessModes: {{- range .Values.persistence.accessModes }} - {{ . | quote }} {{- end }} resources: requests: storage: {{ .Values.persistence.size | quote }} {{ include "postgresql.storageClass" . }} {{- end }}
charts/postgis/values.yaml +4 −4 Original line number Diff line number Diff line Loading @@ -45,7 +45,7 @@ image: ## volumePermissions: Change the owner of the persist volume mountpoint to RunAsUser:fsGroup ## volumePermissions: enabled: false enabled: true image: registry: docker.io repository: bitnami/minideb Loading Loading @@ -301,7 +301,8 @@ persistence: ## If defined, PVC must be created manually before volume will be bound ## The value is evaluated as a template, so, for example, the name can depend on .Release or .Chart ## existingClaim: false ## This chart has been modified to create a PVC with this name existingClaim: meep-postgis ## The path the volume will be mounted at, useful when using different ## PostgreSQL images. Loading @@ -318,7 +319,6 @@ persistence: - ReadWriteOnce size: 8Gi annotations: {} reclaimPolicy: Retain # location: "<WORKDIR>/postgis" location: "/home/englab/.meep/postgis" Loading