[bitnami/nginx] Change in the nginx deployment template for containerPort as variable (#2456)

* Change in the nginx deployment template

* Changed the readme file and changed the chart version

* Update Chart.yaml

Updated the chart version.

* [bitnami/nginx] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

Co-authored-by: Shankar Mohan <Shankar.Mohan@mrisoftware.com>
Co-authored-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
shankarmohannamakkal
2020-05-11 10:43:16 -04:00
committed by GitHub
parent 6b59bd8ca6
commit 1663984bdb
4 changed files with 9 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: nginx
version: 5.3.0
version: 5.3.1
appVersion: 1.17.10
description: Chart for the nginx server
keywords:

View File

@@ -74,6 +74,7 @@ The following tables lists the configurable parameters of the NGINX Open Source
| `serverBlock` | Custom NGINX server block | `nil` |
| `existingServerBlockConfigmap` | Name of existing PVC with custom NGINX server block | `nil` |
| `replicaCount` | Number of replicas to deploy | `1` |
| `containerPort` | Deployment Container Port | `8080` |
| `podAnnotations` | Pod annotations | `{}` |
| `affinity` | Map of node/pod affinities | `{}` (The value is evaluated as a template) |
| `nodeSelector` | Node labels for pod assignment | `{}` (The value is evaluated as a template) |

View File

@@ -69,7 +69,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy | quote }}
ports:
- name: http
containerPort: 8080
containerPort: {{ .Values.containerPort }}
{{- if .Values.livenessProbe }}
livenessProbe: {{- toYaml .Values.livenessProbe | nindent 12 }}
{{- end }}

View File

@@ -13,7 +13,7 @@
image:
registry: docker.io
repository: bitnami/nginx
tag: 1.17.10-debian-10-r28
tag: 1.17.10-debian-10-r33
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -103,6 +103,10 @@ cloneStaticSiteFromGit:
##
replicaCount: 1
## Deployment Container Port
##
containerPort: 8080
## Pod annotations
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/
##
@@ -294,7 +298,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/nginx-exporter
tag: 0.7.0-debian-10-r17
tag: 0.7.0-debian-10-r21
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.