File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ helm repo add appcat https://charts.appcat.ch
2020| [ ![ chart downloads] ( https://img.shields.io/github/downloads/vshn/appcat-charts/vshngaragebucket-0.0.1/total )] ( https://github.com/vshn/appcat-charts/releases/tag/vshngaragebucket-0.0.1 ) | [ vshngaragebucket] ( charts/vshngaragebucket/README.md ) |
2121| [ ![ chart downloads] ( https://img.shields.io/github/downloads/vshn/appcat-charts/vshngaragecluster-0.0.1/total )] ( https://github.com/vshn/appcat-charts/releases/tag/vshngaragecluster-0.0.1 ) | [ vshngaragecluster] ( charts/vshngaragecluster/README.md ) |
2222| [ ![ chart downloads] ( https://img.shields.io/github/downloads/vshn/appcat-charts/vshnmariadb-0.0.12/total )] ( https://github.com/vshn/appcat-charts/releases/tag/vshnmariadb-0.0.12 ) | [ vshnmariadb] ( charts/vshnmariadb/README.md ) |
23- | [ ![ chart downloads] ( https://img.shields.io/github/downloads/vshn/appcat-charts/vshnpostgresql-0.8.0 /total )] ( https://github.com/vshn/appcat-charts/releases/tag/vshnpostgresql-0.8.0 ) | [ vshnpostgresql] ( charts/vshnpostgresql/README.md ) |
23+ | [ ![ chart downloads] ( https://img.shields.io/github/downloads/vshn/appcat-charts/vshnpostgresql-0.8.1 /total )] ( https://github.com/vshn/appcat-charts/releases/tag/vshnpostgresql-0.8.1 ) | [ vshnpostgresql] ( charts/vshnpostgresql/README.md ) |
2424
2525## Add / Update Charts
2626
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ apiVersion: v2
2020name : vshnpostgresql
2121description : A Helm chart for PostgreSQL clusters using the CloudNativePG operator
2222type : application
23- version : 0.8.0
24- appVersion : 0.8.0
23+ version : 0.8.1
24+ appVersion : 0.8.1
2525maintainers :
2626 - name : Schedar Team
2727 email : info@vshn.ch
Original file line number Diff line number Diff line change 11# vshnpostgresql
22
3- ![ Version: 0.8.0 ] ( https://img.shields.io/badge/Version-0.8.0 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.8.0 ] ( https://img.shields.io/badge/AppVersion-0.8.0 -informational?style=flat-square )
3+ ![ Version: 0.8.1 ] ( https://img.shields.io/badge/Version-0.8.1 -informational?style=flat-square ) ![ Type: application] ( https://img.shields.io/badge/Type-application-informational?style=flat-square ) ![ AppVersion: 0.8.1 ] ( https://img.shields.io/badge/AppVersion-0.8.1 -informational?style=flat-square )
44
55A Helm chart for PostgreSQL clusters using the CloudNativePG operator
66
Original file line number Diff line number Diff line change 1+ {{- $name := include "cluster.fullname" . -}}
2+ {{- $namespace := include "cluster.namespace" . -}}
3+ {{- $existingCluster := lookup "postgresql.cnpg.io/v1" "Cluster" $namespace $name -}}
4+ {{- $walStorage := false -}}
5+ {{- if $existingCluster -}}
6+ {{- $walStorage = not (empty $existingCluster.spec.walStorage ) -}}
7+ {{- end -}}
18apiVersion : postgresql.cnpg.io/v1
29kind : Cluster
310metadata :
2734 {{- if not (empty .Values.cluster.storage.storageClass) }}
2835 storageClass : {{ .Values.cluster.storage.storageClass }}
2936 {{- end }}
30- {{- if .Values.cluster. walStorage.enabled }}
37+ {{- if $ walStorage }}
3138 walStorage :
3239 size : {{ .Values.cluster.walStorage.size }}
3340 {{- if not (empty .Values.cluster.walStorage.storageClass) }}
You can’t perform that action at this time.
0 commit comments