Skip to content

Commit

Permalink
update version and remove unused manual helm index cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
yekibud committed Jan 15, 2023
1 parent a893ca7 commit 81f4ef7
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion couchdb/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v1
name: couchdb
version: 3.6.3
version: 4.1.0
appVersion: 3.2.1
description: A database featuring seamless multi-master sync, that scales from
big data to mobile, with an intuitive HTTP/JSON API and designed for
Expand Down
5 changes: 3 additions & 2 deletions couchdb/templates/persistentvolume.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.persistentVolume.enabled and .Values.persistentVolume.existing -}}
{{- if and .Values.persistentVolume.enabled .Values.persistentVolume.existing -}}
apiVersion: v1
kind: PersistentVolume
metadata:
Expand All @@ -9,12 +9,13 @@ spec:
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistentVolume.storageClass }}"
{{- end }}
{{- end }}
accessModes:
{{- range .Values.persistentVolume.accessModes }}
- {{ . | quote }}
{{- end }}
capacity:
storage: {{ .Values.persistentVolume.size }}
{{ toYaml .Values.persistentVolume.volumeSource | indent 2 }}
{{ toYaml .Values.persistentVolume.volumeSource | indent 2 }}
{{- end }}
16 changes: 8 additions & 8 deletions couchdb/templates/persistentvolumeclaim.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.persistentVolume.enabled and .Values.persistentVolume.existing -}}
{{- if and .Values.persistentVolume.enabled .Values.persistentVolume.existing -}}
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
Expand All @@ -18,12 +18,12 @@ spec:
resources:
requests:
storage: {{ .Values.persistentVolume.size | quote }}
{{- if .Values.persistentVolume.storageClass }}
{{- if (eq "-" .Values.persistentVolume.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistentVolume.storageClass }}"
{{- end }}
{{- end }}
{{- if .Values.persistentVolume.storageClass }}
{{- if (eq "-" .Values.persistentVolume.storageClass) }}
storageClassName: ""
{{- else }}
storageClassName: "{{ .Values.persistentVolume.storageClass }}"
{{- end }}
{{- end }}
volumeName: {{ .Values.persistentVolume.volumeName }}
{{- end }}
4 changes: 2 additions & 2 deletions couchdb/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,10 +202,10 @@ spec:
{{- if not .Values.persistentVolume.enabled }}
- name: database-storage
emptyDir: {}
{{- else if .Values.persistentVolume.enabled and .Values.persistentVolume.existing }}
{{- else if and .Values.persistentVolume.enabled .Values.persistentVolume.existing }}
- name: database-storage
persistentVolumeClaim:
claimName: {{ .Values.persistentVolume.ClaimName }}
claimName: {{ .Values.persistentVolume.claimName }}
{{- else }}
volumeClaimTemplates:
- metadata:
Expand Down

0 comments on commit 81f4ef7

Please sign in to comment.