diff --git a/stable/hlf-couchdb/.helmignore b/stable/hlf-couchdb/.helmignore index f0c1319444..902e3962bb 100644 --- a/stable/hlf-couchdb/.helmignore +++ b/stable/hlf-couchdb/.helmignore @@ -19,3 +19,6 @@ .project .idea/ *.tmproj + +# OWNERS file for Helm repository +OWNERS diff --git a/stable/hlf-couchdb/Chart.yaml b/stable/hlf-couchdb/Chart.yaml index 20c608da25..2fdabe95a5 100644 --- a/stable/hlf-couchdb/Chart.yaml +++ b/stable/hlf-couchdb/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v1 description: CouchDB instance for Hyperledger Fabric (these charts are created by AID:Tech and are currently not directly associated with the Hyperledger project) name: hlf-couchdb -version: 1.0.4 +version: 1.0.5 appVersion: 0.4.9 keywords: - blockchain @@ -16,5 +16,4 @@ maintainers: email: sasha@aid.technology - name: nicolapaoli email: nicola@aid.technology -## Icon not included while sorting out trademark question with Hyperledger project -# icon: https://www.hyperledger.org/wp-content/uploads/2018/04/fabric-logo.png +icon: https://www.hyperledger.org/wp-content/uploads/2018/04/fabric-logo.png diff --git a/stable/hlf-couchdb/OWNERS b/stable/hlf-couchdb/OWNERS new file mode 100644 index 0000000000..a25be9b46e --- /dev/null +++ b/stable/hlf-couchdb/OWNERS @@ -0,0 +1,6 @@ +approvers: +- alexvicegrab +- nicolapaoli +reviewers: +- alexvicegrab +- nicolapaoli diff --git a/stable/hlf-couchdb/README.md b/stable/hlf-couchdb/README.md index b1c7d0357d..ee8555d319 100644 --- a/stable/hlf-couchdb/README.md +++ b/stable/hlf-couchdb/README.md @@ -86,7 +86,7 @@ The following table lists the configurable parameters of the Hyperledger Fabric ## Persistence -The volume stores the Fabric CouchdDB data and configurations at the `/opt/couchdb/data` path of the container. +The volume stores the Fabric CouchDB data and configurations at the `/opt/couchdb/data` path of the container. The chart mounts a [Persistent Volume](http://kubernetes.io/docs/user-guide/persistent-volumes/) at this location. The volume is created using dynamic volume provisioning through a PersistentVolumeClaim managed by the chart. diff --git a/stable/hlf-couchdb/templates/pvc.yaml b/stable/hlf-couchdb/templates/pvc.yaml index d726ff68e0..d9a9ea53e0 100644 --- a/stable/hlf-couchdb/templates/pvc.yaml +++ b/stable/hlf-couchdb/templates/pvc.yaml @@ -16,6 +16,10 @@ spec: requests: storage: {{ .Values.persistence.size | quote }} {{- if .Values.persistence.storageClass }} - storageClassName: {{ .Values.persistence.storageClass | quote }} + {{- if (eq "-" .Values.persistence.storageClass) }} + storageClassName: "" + {{- else }} + storageClassName: "{{ .Values.persistence.storageClass }}" + {{- end }} {{- end }} {{- end }} diff --git a/stable/hlf-couchdb/values.yaml b/stable/hlf-couchdb/values.yaml index fb8a8489b3..992db7de18 100644 --- a/stable/hlf-couchdb/values.yaml +++ b/stable/hlf-couchdb/values.yaml @@ -29,7 +29,12 @@ ingress: persistence: enabled: true annotations: {} - ## If unset or "", use "default" storage class. + ## If defined, storageClassName: + ## If set to "-", storageClassName: "", which disables dynamic provisioning + ## If undefined (the default) or set to null, no storageClassName spec is + ## set, choosing the default provisioner. (gp2 on AWS, standard on + ## GKE, AWS & OpenStack) + ## storageClass: "" accessMode: ReadWriteOnce size: 1Gi