From aa9bf58d63c26ee3511b573501e49113170eeff1 Mon Sep 17 00:00:00 2001
From: groundhog2k <10630407+groundhog2k@users.noreply.github.com>
Date: Mon, 14 Dec 2020 17:26:45 +0100
Subject: [PATCH] Fixed nullable strings (#144)

---
 README.md                   |  2 +-
 charts/mariadb/Chart.yaml   |  2 +-
 charts/mariadb/README.md    |  2 +-
 charts/mariadb/values.yaml  | 10 +++++-----
 charts/mongodb/Chart.yaml   |  2 +-
 charts/mongodb/README.md    |  2 +-
 charts/mongodb/values.yaml  | 21 +++++++++++++--------
 charts/postgres/Chart.yaml  |  2 +-
 charts/postgres/README.md   |  8 ++++----
 charts/postgres/values.yaml | 10 +++++-----
 charts/rabbitmq/Chart.yaml  |  2 +-
 charts/rabbitmq/README.md   |  2 +-
 charts/rabbitmq/values.yaml | 12 ++++++------
 charts/redis/Chart.yaml     |  2 +-
 charts/redis/README.md      |  2 +-
 charts/redis/values.yaml    | 10 +++++-----
 16 files changed, 48 insertions(+), 43 deletions(-)

diff --git a/README.md b/README.md
index fcf6a415..4b1b04b6 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ $ helm repo update
 This repository contains various helm charts for some famous open source projects.
 Goal was to create some universal charts that use the original docker images from [Docker Hub](https://hub.docker.com) instead of the modified version which Bitnami offers.
 
-The advantage is that most of these charts are platform independent and will run on x64/amd64 and arm64v8 (Raspberry Pi 3/4) Kubernetes clusters just by changing the image tag.
+The advantage is that most of these charts are platform independent and will run on x64/amd64 and arm64v8 (Raspberry Pi 3/4) Kubernetes clusters.
 
 ## Prerequisites
 
diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml
index fcf442bc..808d7898 100644
--- a/charts/mariadb/Chart.yaml
+++ b/charts/mariadb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.2
+version: 0.2.3
 
 appVersion: "10.5.8"
diff --git a/charts/mariadb/README.md b/charts/mariadb/README.md
index bc1fd24d..684e7c99 100644
--- a/charts/mariadb/README.md
+++ b/charts/mariadb/README.md
@@ -1,6 +1,6 @@
 # MariaDB
 
-![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.5.8](https://img.shields.io/badge/AppVersion-10.5.8-informational?style=flat-square)
+![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 10.5.8](https://img.shields.io/badge/AppVersion-10.5.8-informational?style=flat-square)
 
 A Helm chart for MariaDB on Kubernetes
 
diff --git a/charts/mariadb/values.yaml b/charts/mariadb/values.yaml
index 6ebffc2f..5efe3033 100644
--- a/charts/mariadb/values.yaml
+++ b/charts/mariadb/values.yaml
@@ -45,9 +45,9 @@ service:
   type: ClusterIP
   port: 3306
   ## The node port (only relevant for type NodePort)
-  nodePort: {}
+  nodePort:
   ## The cluster ip address (only relevant for type LoadBalancer)
-  clusterIP: {}
+  clusterIP:
 
 # Resource limits and requests
 resources: {}
@@ -110,13 +110,13 @@ customConfig: |-
 ## Storage parameters
 storage:
   ##  Set persistentVolumenClaimName to reference an existing PVC
-  persistentVolumeClaimName: {}
+  persistentVolumeClaimName:
 
   ## Alternative set requestedSize to define a size for a dynmaically created PVC
-  requestedSize: {}
+  requestedSize:
 
   ## the storage class name
-  className: {}
+  className:
 
   ## Default access mode (ReadWriteOnce)
   accessModes:
diff --git a/charts/mongodb/Chart.yaml b/charts/mongodb/Chart.yaml
index 5b55f12c..b3a41908 100644
--- a/charts/mongodb/Chart.yaml
+++ b/charts/mongodb/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.3
+version: 0.2.4
 
 appVersion: 4.2.11
diff --git a/charts/mongodb/README.md b/charts/mongodb/README.md
index 94b67247..21464270 100644
--- a/charts/mongodb/README.md
+++ b/charts/mongodb/README.md
@@ -1,6 +1,6 @@
 # MongoDB
 
-![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.2.11](https://img.shields.io/badge/AppVersion-4.2.11-informational?style=flat-square)
+![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 4.2.11](https://img.shields.io/badge/AppVersion-4.2.11-informational?style=flat-square)
 
 A Helm chart for MongoDB on Kubernetes
 
diff --git a/charts/mongodb/values.yaml b/charts/mongodb/values.yaml
index e01c6d48..ba7a455f 100644
--- a/charts/mongodb/values.yaml
+++ b/charts/mongodb/values.yaml
@@ -46,9 +46,9 @@ service:
   type: ClusterIP
   port: 27017
   ## The node port (only relevant for type NodePort)
-  nodePort: {}
+  nodePort:
   ## The cluster ip address (only relevant for type LoadBalancer)
-  clusterIP: {}
+  clusterIP:
 
 ## Resource limits and requests
 resources: {}
@@ -103,7 +103,7 @@ settings:
 ## Initializes a user database with name from dbName (default connected to test database if no dbName is specified)
 initUserDatabase:
   ## Database name for init
-  dbName: {}
+  dbName:
   ## JavaScript for initialization of new database
   script: |
 
@@ -112,10 +112,15 @@ initUserDatabase:
 # otherwise a dynamic persistent volume will be created with PVC name of this chart and the configured requestedSize and accessModes
 # If both parameters are missing a volatile emtpyDir volume will be used as RabbitMQ storage
 storage:
-  # Set persistentVolumenClaimName to reference an existing PVC
-  persistentVolumeClaimName: {}
-  # Alternative set requestedSize to define a size for a dynamically created PVC
-  requestedSize: {}
+  ## Set persistentVolumenClaimName to reference an existing PVC
+  persistentVolumeClaimName:
+
+  ## Alternative set requestedSize to define a size for a dynamically created PVC
+  requestedSize:
+
+  ## the storage class name
+  className:
+
+  ## Default access mode (ReadWriteOnce)
   accessModes:
     - ReadWriteOnce
-  className: {}
diff --git a/charts/postgres/Chart.yaml b/charts/postgres/Chart.yaml
index 800efe1f..dd92248f 100644
--- a/charts/postgres/Chart.yaml
+++ b/charts/postgres/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.3
+version: 0.2.4
 
 appVersion: "13.1"
diff --git a/charts/postgres/README.md b/charts/postgres/README.md
index be24ec3a..3cd9d916 100644
--- a/charts/postgres/README.md
+++ b/charts/postgres/README.md
@@ -1,6 +1,6 @@
 # PostgreSQL
 
-![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 13.1](https://img.shields.io/badge/AppVersion-13.1-informational?style=flat-square)
+![Version: 0.2.4](https://img.shields.io/badge/Version-0.2.4-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 13.1](https://img.shields.io/badge/AppVersion-13.1-informational?style=flat-square)
 
 A Helm chart for PostgreSQL on Kubernetes
 
@@ -97,6 +97,6 @@ $ helm uninstall my-release
 | settings.initDbArgs | string | `nil` | Optional init database arguments |
 | settings.superuserPassword | string | `nil` | Password of superuser (Random value if not specified) |
 | userDatabase | object | `{}` | Optional PostgreSQL user database |
-| userDatabase.name | string | `""` | Name of the user database |
-| userDatabase.user | string | `""` | User name with full access to user database|
-| userDatabase.password | string | `""` | Password of created user (Random value if not specified) |
+| userDatabase.name | string | `nil` | Name of the user database |
+| userDatabase.user | string | `nil` | User name with full access to user database|
+| userDatabase.password | string | `nil` | Password of created user (Random value if not specified) |
diff --git a/charts/postgres/values.yaml b/charts/postgres/values.yaml
index ca05d316..c5edb4a0 100644
--- a/charts/postgres/values.yaml
+++ b/charts/postgres/values.yaml
@@ -43,9 +43,9 @@ service:
   type: ClusterIP
   port: 5432
   ## The node port (only relevant for type NodePort)
-  nodePort: {}
+  nodePort:
   ## The cluster ip address (only relevant for type LoadBalancer)
-  clusterIP: {}
+  clusterIP:
 
 resources: {}
   # limits:
@@ -114,13 +114,13 @@ customConfig: |-
 ## Storage parameters
 storage:
   ##  Set persistentVolumenClaimName to reference an existing PVC
-  persistentVolumeClaimName: {}
+  persistentVolumeClaimName:
 
   ## Alternative set requestedSize to define a size for a dynmaically created PVC
-  requestedSize: {}
+  requestedSize:
 
   ## the storage class name
-  className: {}
+  className:
 
   ## Default access mode (ReadWriteOnce)
   accessModes:
diff --git a/charts/rabbitmq/Chart.yaml b/charts/rabbitmq/Chart.yaml
index 7ecd3c32..b5fcd811 100644
--- a/charts/rabbitmq/Chart.yaml
+++ b/charts/rabbitmq/Chart.yaml
@@ -7,6 +7,6 @@ type: application
 maintainers:
   - name: groundhog2k
 
-version: 0.2.1
+version: 0.2.2
 
 appVersion: 3.8.9
diff --git a/charts/rabbitmq/README.md b/charts/rabbitmq/README.md
index 70453544..8918719f 100644
--- a/charts/rabbitmq/README.md
+++ b/charts/rabbitmq/README.md
@@ -1,6 +1,6 @@
 # RabbitMQ
 
-![Version: 0.2.1](https://img.shields.io/badge/Version-0.2.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.9](https://img.shields.io/badge/AppVersion-3.8.9-informational?style=flat-square)
+![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 3.8.9](https://img.shields.io/badge/AppVersion-3.8.9-informational?style=flat-square)
 
 A Helm chart for a RabbitMQ cluster on Kubernetes
 
diff --git a/charts/rabbitmq/values.yaml b/charts/rabbitmq/values.yaml
index d706904e..fa3e239a 100644
--- a/charts/rabbitmq/values.yaml
+++ b/charts/rabbitmq/values.yaml
@@ -40,13 +40,13 @@ service:
   amqp:
     port: 5672
     ## The node port (only relevant for type NodePort)
-    nodePort: {}
+    nodePort:
   mgmt:
     port: 15672
     ## The node port (only relevant for type NodePort)
-    nodePort: {}
+    nodePort:
   ## The cluster ip address (only relevant for type LoadBalancer)
-  clusterIP: {}
+  clusterIP:
 
 ## Ingress configuration
 ingress:
@@ -152,13 +152,13 @@ clustering:
 ## Storage parameters
 storage:
   ## Set persistentVolumenClaimName to reference an existing PVC
-  persistentVolumeClaimName: {}
+  persistentVolumeClaimName:
 
   ## Alternative set requestedSize to define a size for a dynamically created PVC
-  requestedSize: {}
+  requestedSize:
 
   ## the storage class name
-  className: {}
+  className:
 
   ## Default access mode (ReadWriteOnce)
   accessModes:
diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml
index b86f8c1a..b9c821b0 100644
--- a/charts/redis/Chart.yaml
+++ b/charts/redis/Chart.yaml
@@ -8,7 +8,7 @@ maintainers:
   - name: groundhog2k
 
 # This is the chart version
-version: 0.2.2
+version: 0.2.3
 
 # This is the version number of the application being deployed.
 appVersion: "6.0.9"
diff --git a/charts/redis/README.md b/charts/redis/README.md
index 17db6617..d6cf86bf 100644
--- a/charts/redis/README.md
+++ b/charts/redis/README.md
@@ -1,6 +1,6 @@
 # Redis
 
-![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.9](https://img.shields.io/badge/AppVersion-6.0.9-informational?style=flat-square)
+![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 6.0.9](https://img.shields.io/badge/AppVersion-6.0.9-informational?style=flat-square)
 
 A Helm chart for Redis on Kubernetes
 
diff --git a/charts/redis/values.yaml b/charts/redis/values.yaml
index dc796e57..a5f700d4 100644
--- a/charts/redis/values.yaml
+++ b/charts/redis/values.yaml
@@ -45,9 +45,9 @@ service:
   type: ClusterIP
   port: 6379
   ## The node port (only relevant for type NodePort)
-  nodePort: {}
+  nodePort:
   ## The cluster ip address (only relevant for type LoadBalancer)
-  clusterIP: {}
+  clusterIP:
 
 ## Resource limits and requests
 resources: {}
@@ -92,13 +92,13 @@ redisConfig: |
 ## Storage parameters
 storage:
   ##  Set persistentVolumenClaimName to reference an existing PVC
-  persistentVolumeClaimName: {}
+  persistentVolumeClaimName:
 
   ## Alternative set requestedSize to define a size for a dynmaically created PVC
-  requestedSize: {}
+  requestedSize:
 
   ## the storage class name
-  className: {}
+  className:
 
   ## Default access mode (ReadWriteOnce)
   accessModes:
-- 
GitLab