mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/postgresql] Fix loadBalancerSourceRanges in svc-read (#2117)
* [bitnami/postgresql] Fix loadBalancerSourceRanges in svc-read Signed-off-by: juan131 <juan@bitnami.com> * [bitnami/postgresql] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
committed by
GitHub
parent
5befc5ae9d
commit
429df27997
@@ -1,6 +1,6 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
name: postgresql
|
name: postgresql
|
||||||
version: 8.6.8
|
version: 8.6.9
|
||||||
appVersion: 11.7.0
|
appVersion: 11.7.0
|
||||||
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
|
description: Chart for PostgreSQL, an object-relational database management system (ORDBMS) with an emphasis on extensibility and on standards-compliance.
|
||||||
keywords:
|
keywords:
|
||||||
|
|||||||
@@ -118,9 +118,9 @@ The following tables lists the configurable parameters of the PostgreSQL chart a
|
|||||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||||
| `service.port` | PostgreSQL port | `5432` |
|
| `service.port` | PostgreSQL port | `5432` |
|
||||||
| `service.nodePort` | Kubernetes Service nodePort | `nil` |
|
| `service.nodePort` | Kubernetes Service nodePort | `nil` |
|
||||||
| `service.annotations` | Annotations for PostgreSQL service, the value is evaluated as a template. | {} |
|
| `service.annotations` | Annotations for PostgreSQL service | `{}` (evaluated as a template) |
|
||||||
| `service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
|
| `service.loadBalancerIP` | loadBalancerIP if service type is `LoadBalancer` | `nil` |
|
||||||
| `service.loadBalancerSourceRanges` | Address that are allowed when svc is LoadBalancer | [] |
|
| `service.loadBalancerSourceRanges` | Address that are allowed when svc is LoadBalancer | `[]` (evaluated as a template) |
|
||||||
| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
| `schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||||
| `shmVolume.enabled` | Enable emptyDir volume for /dev/shm for master and slave(s) Pod(s) | `true` |
|
| `shmVolume.enabled` | Enable emptyDir volume for /dev/shm for master and slave(s) Pod(s) | `true` |
|
||||||
| `shmVolume.chmod.enabled` | Run at init chmod 777 of the /dev/shm (ignored if `volumePermissions.enabled` is `false`) | `true` |
|
| `shmVolume.chmod.enabled` | Run at init chmod 777 of the /dev/shm (ignored if `volumePermissions.enabled` is `false`) | `true` |
|
||||||
|
|||||||
@@ -8,15 +8,17 @@ metadata:
|
|||||||
chart: {{ template "postgresql.chart" . }}
|
chart: {{ template "postgresql.chart" . }}
|
||||||
release: {{ .Release.Name | quote }}
|
release: {{ .Release.Name | quote }}
|
||||||
heritage: {{ .Release.Service | quote }}
|
heritage: {{ .Release.Service | quote }}
|
||||||
{{- with .Values.service.annotations }}
|
{{- if .Values.service.annotations }}
|
||||||
annotations:
|
annotations: {{- include "postgresql.tplValue" (dict "value" .Values.service.annotations "context" $) | nindent 4 }}
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
{{- if and .Values.service.loadBalancerIP (eq .Values.service.type "LoadBalancer") }}
|
{{- if and .Values.service.loadBalancerIP (eq .Values.service.type "LoadBalancer") }}
|
||||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerSourceRanges }}
|
||||||
|
loadBalancerSourceRanges: {{- include "postgresql.tplValue" (dict "value" .Values.service.loadBalancerSourceRanges "context" $) | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
ports:
|
ports:
|
||||||
- name: tcp-postgresql
|
- name: tcp-postgresql
|
||||||
port: {{ template "postgresql.port" . }}
|
port: {{ template "postgresql.port" . }}
|
||||||
|
|||||||
@@ -7,9 +7,8 @@ metadata:
|
|||||||
chart: {{ template "postgresql.chart" . }}
|
chart: {{ template "postgresql.chart" . }}
|
||||||
release: {{ .Release.Name | quote }}
|
release: {{ .Release.Name | quote }}
|
||||||
heritage: {{ .Release.Service | quote }}
|
heritage: {{ .Release.Service | quote }}
|
||||||
{{- with .Values.service.annotations }}
|
{{- if .Values.service.annotations }}
|
||||||
annotations:
|
annotations: {{- include "postgresql.tplValue" (dict "value" .Values.service.annotations "context" $) | nindent 4 }}
|
||||||
{{ tpl (toYaml .) $ | indent 4 }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.service.type }}
|
type: {{ .Values.service.type }}
|
||||||
@@ -17,10 +16,7 @@ spec:
|
|||||||
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
loadBalancerIP: {{ .Values.service.loadBalancerIP }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerSourceRanges }}
|
{{- if and (eq .Values.service.type "LoadBalancer") .Values.service.loadBalancerSourceRanges }}
|
||||||
loadBalancerSourceRanges:
|
loadBalancerSourceRanges: {{- include "postgresql.tplValue" (dict "value" .Values.service.loadBalancerSourceRanges "context" $) | nindent 4 }}
|
||||||
{{ with .Values.service.loadBalancerSourceRanges }}
|
|
||||||
{{ toYaml . | indent 4 }}
|
|
||||||
{{- end }}
|
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
|
{{- if and (eq .Values.service.type "ClusterIP") .Values.service.clusterIP }}
|
||||||
clusterIP: {{ .Values.service.clusterIP }}
|
clusterIP: {{ .Values.service.clusterIP }}
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ global:
|
|||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/postgresql
|
repository: bitnami/postgresql
|
||||||
tag: 11.7.0-debian-10-r37
|
tag: 11.7.0-debian-10-r40
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||||
@@ -246,15 +246,15 @@ service:
|
|||||||
##
|
##
|
||||||
# nodePort:
|
# nodePort:
|
||||||
|
|
||||||
## Provide any additional annotations which may be required.
|
## Provide any additional annotations which may be required. Evaluated as a template.
|
||||||
## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
|
##
|
||||||
annotations: {}
|
annotations: {}
|
||||||
## Set the LoadBalancer service type to internal only.
|
## Set the LoadBalancer service type to internal only.
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||||
##
|
##
|
||||||
# loadBalancerIP:
|
# loadBalancerIP:
|
||||||
|
|
||||||
## Load Balancer sources
|
## Load Balancer sources. Evaluated as a template.
|
||||||
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
||||||
##
|
##
|
||||||
# loadBalancerSourceRanges:
|
# loadBalancerSourceRanges:
|
||||||
@@ -483,7 +483,7 @@ metrics:
|
|||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/postgres-exporter
|
repository: bitnami/postgres-exporter
|
||||||
tag: 0.8.0-debian-10-r52
|
tag: 0.8.0-debian-10-r55
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ global:
|
|||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/postgresql
|
repository: bitnami/postgresql
|
||||||
tag: 11.7.0-debian-10-r37
|
tag: 11.7.0-debian-10-r40
|
||||||
## Specify a imagePullPolicy
|
## Specify a imagePullPolicy
|
||||||
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
|
||||||
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
|
||||||
@@ -247,15 +247,15 @@ service:
|
|||||||
##
|
##
|
||||||
# nodePort:
|
# nodePort:
|
||||||
|
|
||||||
## Provide any additional annotations which may be required.
|
## Provide any additional annotations which may be required. Evaluated as a template.
|
||||||
## The value is evaluated as a template, so, for example, the value can depend on .Release or .Chart
|
##
|
||||||
annotations: {}
|
annotations: {}
|
||||||
## Set the LoadBalancer service type to internal only.
|
## Set the LoadBalancer service type to internal only.
|
||||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
|
||||||
##
|
##
|
||||||
# loadBalancerIP:
|
# loadBalancerIP:
|
||||||
|
|
||||||
## Load Balancer sources
|
## Load Balancer sources. Evaluated as a template.
|
||||||
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
## https://kubernetes.io/docs/tasks/access-application-cluster/configure-cloud-provider-firewall/#restrict-access-for-loadbalancer-service
|
||||||
##
|
##
|
||||||
# loadBalancerSourceRanges:
|
# loadBalancerSourceRanges:
|
||||||
@@ -489,7 +489,7 @@ metrics:
|
|||||||
image:
|
image:
|
||||||
registry: docker.io
|
registry: docker.io
|
||||||
repository: bitnami/postgres-exporter
|
repository: bitnami/postgres-exporter
|
||||||
tag: 0.8.0-debian-10-r52
|
tag: 0.8.0-debian-10-r55
|
||||||
pullPolicy: IfNotPresent
|
pullPolicy: IfNotPresent
|
||||||
## Optionally specify an array of imagePullSecrets.
|
## Optionally specify an array of imagePullSecrets.
|
||||||
## Secrets must be manually created in the namespace.
|
## Secrets must be manually created in the namespace.
|
||||||
|
|||||||
Reference in New Issue
Block a user