cetic / helm-pgadmin

Helm Chart for pgAdmin
Apache License 2.0
16 stars 23 forks source link

persistence.existingClaim is not considered #8

Closed szamuboy closed 5 years ago

szamuboy commented 5 years ago

Although there is a persistence.existingClaim value defined, it is not used in the actual Deployment template.

      volumes:
        - name: pgadmin-data
         {{- if .Values.persistence.enabled }}
          persistentVolumeClaim:
            claimName: {{ template "pgadmin.fullname" . }}
         {{- else }}
          emptyDir: {}
         {{- end }}
         {{- if .Values.pgadmin.tls }}
        - name: tls-private-key
          secret:
            secretName: {{ template "pgadmin.fullname" . }}
            items:
              - key: server.key
                path: server.key
alexnuttinck commented 5 years ago

@szamuboy you are right! Thanks for the report, it is corrected now in the release 0.1.7 .