diff --git a/charts/mariadb/Chart.yaml b/charts/mariadb/Chart.yaml index 808d789800198881e0ebe5ca59aa9561cce8f6aa..346befe9312d924cb1b03152b7d4efbf122b187e 100644 --- a/charts/mariadb/Chart.yaml +++ b/charts/mariadb/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.2.3 +version: 0.2.4 appVersion: "10.5.8" diff --git a/charts/mariadb/README.md b/charts/mariadb/README.md index 684e7c999cf7cce39abadf730ed13a0c9aee24d3..958bc46e317417afcc9b6deb4d3e8b2a3fd3ed5b 100644 --- a/charts/mariadb/README.md +++ b/charts/mariadb/README.md @@ -1,6 +1,6 @@ # MariaDB -   +   A Helm chart for MariaDB on Kubernetes @@ -74,8 +74,9 @@ $ helm uninstall my-release |-----|------|---------|-------------| | service.type | string | `"ClusterIP"` | Service type | | service.port | int | `3306` | MariaDB service port | -| service.nodePort | int | `nil` | Service node port (only relevant for type NodePort) | -| service.clusterIP | string | `nil` | Service cluster IP (only relevant for type LoadBalancer) | +| service.nodePort | int | `nil` | The node port (only relevant for type LoadBalancer or NodePort) | +| service.clusterIP | string | `nil` | The cluster ip address (only relevant for type LoadBalancer or NodePort) | +| service.loadBalancerIP | string | `nil` | The load balancer ip address (only relevant for type LoadBalancer) | ## Storage parameters diff --git a/charts/mariadb/templates/service.yaml b/charts/mariadb/templates/service.yaml index 3e1e564f9a970498b09bf3a0a858ab94aee655f2..69af1321f10f3de2eb84919623320449ce0ae87a 100644 --- a/charts/mariadb/templates/service.yaml +++ b/charts/mariadb/templates/service.yaml @@ -11,10 +11,13 @@ spec: targetPort: sql protocol: TCP name: sql - {{- if and (eq .Values.service.type "NodePort") (.Values.service.nodePort) }} + {{- if and ( or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") ) (.Values.service.nodePort) }} nodePort: {{ .Values.service.nodePort }} {{- end }} - {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.clusterIP) }} + {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} + {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} {{- end }} selector: diff --git a/charts/mariadb/values.yaml b/charts/mariadb/values.yaml index 5efe3033e67167e5c630e8033b3c981188954f21..72a4c78fd65bb1cb44a14e6b3a00f573da2d6dec 100644 --- a/charts/mariadb/values.yaml +++ b/charts/mariadb/values.yaml @@ -44,10 +44,12 @@ securityContext: service: type: ClusterIP port: 3306 - ## The node port (only relevant for type NodePort) + ## The node port (only relevant for type LoadBalancer or NodePort) nodePort: - ## The cluster ip address (only relevant for type LoadBalancer) + ## The cluster ip address (only relevant for type LoadBalancer or NodePort) clusterIP: + ## The loadbalancer ip address (only relevant for type LoadBalancer) + loadBalancerIP: # Resource limits and requests resources: {} diff --git a/charts/mongodb/Chart.yaml b/charts/mongodb/Chart.yaml index b3a41908834899a248f511784c06f93f9e653429..6cd9a58233ebef6bf87330121ad9d3f77ed6856a 100644 --- a/charts/mongodb/Chart.yaml +++ b/charts/mongodb/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.2.4 +version: 0.2.5 appVersion: 4.2.11 diff --git a/charts/mongodb/README.md b/charts/mongodb/README.md index 21464270d6e7830233907e666ef48f9786ac3712..e4a8ced8ad0f4687f5049e5104404e8aba9a016a 100644 --- a/charts/mongodb/README.md +++ b/charts/mongodb/README.md @@ -1,6 +1,6 @@ # MongoDB -   +   A Helm chart for MongoDB on Kubernetes @@ -78,8 +78,9 @@ $ helm uninstall my-release |-----|------|---------|-------------| | service.type | string | `"ClusterIP"` | Service type | | service.port | int | `27017` | MongoDB service port | -| service.nodePort | int | `nil` | Service node port (only relevant for type NodePort) | -| service.clusterIP | string | `nil` | Service cluster IP (only relevant for type LoadBalancer) | +| service.nodePort | int | `nil` | The node port (only relevant for type LoadBalancer or NodePort) | +| service.clusterIP | string | `nil` | The cluster ip address (only relevant for type LoadBalancer or NodePort) | +| service.loadBalancerIP | string | `nil` | The load balancer ip address (only relevant for type LoadBalancer) | ## Storage parameters diff --git a/charts/mongodb/templates/service.yaml b/charts/mongodb/templates/service.yaml index 45328e1b09091f7953680722fc8f7e85e0a73be1..31357c0cba33fbecdd42ce634cd023ca4d4401b2 100644 --- a/charts/mongodb/templates/service.yaml +++ b/charts/mongodb/templates/service.yaml @@ -11,10 +11,13 @@ spec: targetPort: mongodb protocol: TCP name: mongodb - {{- if and (eq .Values.service.type "NodePort") (.Values.service.nodePort) }} + {{- if and ( or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") ) (.Values.service.nodePort) }} nodePort: {{ .Values.service.nodePort }} {{- end }} - {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.clusterIP) }} + {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} + {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} {{- end }} selector: diff --git a/charts/mongodb/values.yaml b/charts/mongodb/values.yaml index ba7a455f0d391e8ad8a8010d888399d4e7588bfd..d6abe71246cca54b5b3bb1fd80613185fefb794d 100644 --- a/charts/mongodb/values.yaml +++ b/charts/mongodb/values.yaml @@ -45,10 +45,12 @@ securityContext: service: type: ClusterIP port: 27017 - ## The node port (only relevant for type NodePort) + ## The node port (only relevant for type LoadBalancer or NodePort) nodePort: - ## The cluster ip address (only relevant for type LoadBalancer) + ## The cluster ip address (only relevant for type LoadBalancer or NodePort) clusterIP: + ## The loadbalancer ip address (only relevant for type LoadBalancer) + loadBalancerIP: ## Resource limits and requests resources: {} diff --git a/charts/postgres/Chart.yaml b/charts/postgres/Chart.yaml index dd92248ff697728dda5fdc0dc406fb45d5f0ada3..6647b6a229bc12f3ea29209fc9e6b900335b12af 100644 --- a/charts/postgres/Chart.yaml +++ b/charts/postgres/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.2.4 +version: 0.2.5 appVersion: "13.1" diff --git a/charts/postgres/README.md b/charts/postgres/README.md index 3cd9d916d1b4ba16f9d325b3bd20080f6c449947..d5e99e834fb0283e6acff81be24e992ec36a7c72 100644 --- a/charts/postgres/README.md +++ b/charts/postgres/README.md @@ -1,6 +1,6 @@ # PostgreSQL -   +   A Helm chart for PostgreSQL on Kubernetes @@ -76,8 +76,9 @@ $ helm uninstall my-release |-----|------|---------|-------------| | service.type | string | `"ClusterIP"` | Service type | | service.port | int | `5432` | PostreSQL service port | -| service.nodePort | int | `nil` | Service node port (only relevant for type NodePort) | -| service.clusterIP | string | `nil` | Service cluster IP (only relevant for type LoadBalancer) | +| service.nodePort | int | `nil` | The node port (only relevant for type LoadBalancer or NodePort) | +| service.clusterIP | string | `nil` | The cluster ip address (only relevant for type LoadBalancer or NodePort) | +| service.loadBalancerIP | string | `nil` | The load balancer ip address (only relevant for type LoadBalancer) | ## Storage parameters diff --git a/charts/postgres/templates/service.yaml b/charts/postgres/templates/service.yaml index 8548ec64f3c9187a0040955462d4f9ae8d8b7251..d13b907fc15e799ac7ee60ad43c6ac60855010fc 100644 --- a/charts/postgres/templates/service.yaml +++ b/charts/postgres/templates/service.yaml @@ -11,10 +11,13 @@ spec: targetPort: postgres protocol: TCP name: postgres - {{- if and (eq .Values.service.type "NodePort") (.Values.service.nodePort) }} + {{- if and ( or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") ) (.Values.service.nodePort) }} nodePort: {{ .Values.service.nodePort }} {{- end }} - {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.clusterIP) }} + {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} + {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} {{- end }} selector: diff --git a/charts/postgres/values.yaml b/charts/postgres/values.yaml index c5edb4a0401bbf861bfa39846846355ab18ddafe..654bba752b1d1e3eacdc40a845db971786480fad 100644 --- a/charts/postgres/values.yaml +++ b/charts/postgres/values.yaml @@ -42,10 +42,12 @@ securityContext: service: type: ClusterIP port: 5432 - ## The node port (only relevant for type NodePort) + ## The node port (only relevant for type LoadBalancer or NodePort) nodePort: - ## The cluster ip address (only relevant for type LoadBalancer) + ## The cluster ip address (only relevant for type LoadBalancer or NodePort) clusterIP: + ## The loadbalancer ip address (only relevant for type LoadBalancer) + loadBalancerIP: resources: {} # limits: diff --git a/charts/rabbitmq/Chart.yaml b/charts/rabbitmq/Chart.yaml index b5fcd811d8b9db2d30d5a28f5e449164b4cc85ef..fb930cc45c34f23558382fde51631ede29f96be6 100644 --- a/charts/rabbitmq/Chart.yaml +++ b/charts/rabbitmq/Chart.yaml @@ -7,6 +7,6 @@ type: application maintainers: - name: groundhog2k -version: 0.2.2 +version: 0.2.3 appVersion: 3.8.9 diff --git a/charts/rabbitmq/README.md b/charts/rabbitmq/README.md index 8918719f16b83d501ad8193d72f13754c9273104..9069351545d30a13fbf0643dabc583df0a5969a8 100644 --- a/charts/rabbitmq/README.md +++ b/charts/rabbitmq/README.md @@ -1,6 +1,6 @@ # RabbitMQ -   +   A Helm chart for a RabbitMQ cluster on Kubernetes @@ -77,11 +77,12 @@ $ helm uninstall my-release | Key | Type | Default | Description | |-----|------|---------|-------------| | service.type | string | `"ClusterIP"` | Service type | -| service.clusterIP | string | `nil` | Service cluster IP (only relevant for type LoadBalancer) | +| service.clusterIP | string | `nil` | The cluster ip address (only relevant for type LoadBalancer or NodePort) | +| service.loadBalancerIP | string | `nil` | The load balancer ip address (only relevant for type LoadBalancer) | | service.amqp.port | int | `5672` | AMQP port | -| service.amqp.nodePort | int | `nil` | Service node port (only relevant for type NodePort) | +| service.amqp.nodePort | int | `nil` | Service node port (only relevant for type LoadBalancer or NodePort)| | service.mgmt.port | int | `15672` | Management UI port | -| service.mgmt.nodePort | int | `nil` | Service node port (only relevant for type NodePort) | +| service.mgmt.nodePort | int | `nil` | Service node port (only relevant for type LoadBalancer or NodePort) | ## Storage parameters diff --git a/charts/rabbitmq/templates/service.yaml b/charts/rabbitmq/templates/service.yaml index e3fc63b2ed3d038d4378b0eeb5365bfb6b80c935..59a2dc0759adf9af8ed010435b2c82f5f95ccb88 100644 --- a/charts/rabbitmq/templates/service.yaml +++ b/charts/rabbitmq/templates/service.yaml @@ -10,17 +10,20 @@ spec: - port: {{ .Values.service.amqp.port }} targetPort: amqp name: amqp - {{- if and (eq .Values.service.type "NodePort") (.Values.service.amqp.nodePort) }} + {{- if and ( or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") ) (.Values.service.amqp.nodePort) }} nodePort: {{ .Values.service.amqp.nodePort }} {{- end }} - port: {{ .Values.service.mgmt.port }} targetPort: mgmt name: mgmt - {{- if and (eq .Values.service.type "NodePort") (.Values.service.mgmt.nodePort) }} + {{- if and ( or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") ) (.Values.service.mgmt.nodePort) }} nodePort: {{ .Values.service.mgmt.nodePort }} {{- end }} - {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.clusterIP) }} + {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} + {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} - {{- end }} + {{- end }} selector: {{- include "rabbitmq.selectorLabels" . | nindent 4 }} diff --git a/charts/rabbitmq/values.yaml b/charts/rabbitmq/values.yaml index fa3e239a364f67d49125a8e8586e3dee21501eb6..8cbfb5b3955c640452d4ea35be513064588d7656 100644 --- a/charts/rabbitmq/values.yaml +++ b/charts/rabbitmq/values.yaml @@ -39,14 +39,16 @@ service: type: ClusterIP amqp: port: 5672 - ## The node port (only relevant for type NodePort) + ## The node port (only relevant for type LoadBalancer or NodePort) nodePort: mgmt: port: 15672 - ## The node port (only relevant for type NodePort) + ## The node port (only relevant for type LoadBalancer or NodePort) nodePort: - ## The cluster ip address (only relevant for type LoadBalancer) + ## The cluster ip address (only relevant for type LoadBalancer or NodePort) clusterIP: + ## The loadbalancer ip address (only relevant for type LoadBalancer) + loadBalancerIP: ## Ingress configuration ingress: diff --git a/charts/redis/Chart.yaml b/charts/redis/Chart.yaml index b9c821b089afb43759b7b9e40dfbd82a1200403a..db5f0197eaf8954429f6153e288e7d0c4845f104 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.3 +version: 0.2.4 # 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 d6cf86bf51051ce900405f1eab7cdbd5c0af74ac..f5a83eb771586af7d13a73b74002134e7b3286a7 100644 --- a/charts/redis/README.md +++ b/charts/redis/README.md @@ -1,6 +1,6 @@ # Redis -   +   A Helm chart for Redis on Kubernetes @@ -75,8 +75,9 @@ $ helm uninstall my-release |-----|------|---------|-------------| | service.type | string | `"ClusterIP"` | Service type | | service.port | int | `6379` | Redis service port | -| service.nodePort | int | `nil` | Service node port (only relevant for type NodePort) | -| service.clusterIP | string | `nil` | Service cluster IP (only relevant for type LoadBalancer) | +| service.nodePort | int | `nil` | The node port (only relevant for type LoadBalancer or NodePort) | +| service.clusterIP | string | `nil` | The cluster ip address (only relevant for type LoadBalancer or NodePort) | +| service.loadBalancerIP | string | `nil` | The load balancer ip address (only relevant for type LoadBalancer) | ## Storage parameters diff --git a/charts/redis/templates/service.yaml b/charts/redis/templates/service.yaml index f22994cfc2bd4303e91983882ed9dd18575b8d37..f6e607dcbade04c182d9006697f78eb8cff19fe5 100644 --- a/charts/redis/templates/service.yaml +++ b/charts/redis/templates/service.yaml @@ -11,10 +11,13 @@ spec: targetPort: redis protocol: TCP name: redis - {{- if and (eq .Values.service.type "NodePort") (.Values.service.nodePort) }} + {{- if and ( or (eq .Values.service.type "LoadBalancer") (eq .Values.service.type "NodePort") ) (.Values.service.nodePort) }} nodePort: {{ .Values.service.nodePort }} {{- end }} - {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.clusterIP) }} + {{- if and (eq .Values.service.type "LoadBalancer") (.Values.service.loadBalancerIP) }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} + {{- if .Values.service.clusterIP }} clusterIP: {{ .Values.service.clusterIP }} {{- end }} selector: diff --git a/charts/redis/values.yaml b/charts/redis/values.yaml index a5f700d44885a747595fef93442b4dd191f3576a..b243195bc24828f3088202744181e602415cf405 100644 --- a/charts/redis/values.yaml +++ b/charts/redis/values.yaml @@ -44,10 +44,12 @@ securityContext: service: type: ClusterIP port: 6379 - ## The node port (only relevant for type NodePort) + ## The node port (only relevant for type LoadBalancer or NodePort) nodePort: - ## The cluster ip address (only relevant for type LoadBalancer) + ## The cluster ip address (only relevant for type LoadBalancer or NodePort) clusterIP: + ## The loadbalancer ip address (only relevant for type LoadBalancer) + loadBalancerIP: ## Resource limits and requests resources: {}