[bitnami/nginx] Add support for image digest apart from tag (#11931)

* [bitnami/nginx] Add support for image digest apart from tag

Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>

* Update README.md with readme-generator-for-helm

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

Signed-off-by: Carlos Rodriguez Hernandez <carlosrh@vmware.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Carlos Rodríguez Hernández
2022-08-22 13:10:47 +00:00
committed by GitHub
co-authored by Bitnami Containers
parent 2c50c5d750
commit e77f051af1
4 changed files with 49 additions and 40 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
version: 1.16.1
digest: sha256:bcc717c6a14262fac51e6434020ee5dd6148b864fe6cff6266c1d481df4a0c91
generated: "2022-07-20T00:49:50.602664934Z"
version: 2.0.0
digest: sha256:c66468d294c878acfb7cc6c082bc08d7105d139098bd42f88e6fe26903506c8f
generated: "2022-08-20T10:59:50.394581581Z"
+2 -2
View File
@@ -7,7 +7,7 @@ dependencies:
repository: https://charts.bitnami.com/bitnami
tags:
- bitnami-common
version: 1.x.x
version: 2.x.x
description: NGINX Open Source is a web server that can be also used as a reverse proxy, load balancer, and HTTP cache. Recommended for high-demanding sites due to its ability to provide faster content.
engine: gotpl
home: https://github.com/bitnami/charts/tree/master/bitnami/nginx
@@ -25,4 +25,4 @@ name: nginx
sources:
- https://github.com/bitnami/containers/tree/main/bitnami/nginx
- https://www.nginx.org
version: 13.1.8
version: 13.2.0
+38 -35
View File
@@ -80,20 +80,21 @@ The command removes all the Kubernetes components associated with the chart and
### NGINX parameters
| Name | Description | Value |
| -------------------- | -------------------------------------------------------------------- | --------------------- |
| `image.registry` | NGINX image registry | `docker.io` |
| `image.repository` | NGINX image repository | `bitnami/nginx` |
| `image.tag` | NGINX image tag (immutable tags are recommended) | `1.23.1-debian-11-r8` |
| `image.pullPolicy` | NGINX image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `image.debug` | Set to true if you would like to see extra information on logs | `false` |
| `hostAliases` | Deployment pod host aliases | `[]` |
| `command` | Override default container command (useful when using custom images) | `[]` |
| `args` | Override default container args (useful when using custom images) | `[]` |
| `extraEnvVars` | Extra environment variables to be set on NGINX containers | `[]` |
| `extraEnvVarsCM` | ConfigMap with extra environment variables | `""` |
| `extraEnvVarsSecret` | Secret with extra environment variables | `""` |
| Name | Description | Value |
| -------------------- | ----------------------------------------------------------------------------------------------------- | --------------------- |
| `image.registry` | NGINX image registry | `docker.io` |
| `image.repository` | NGINX image repository | `bitnami/nginx` |
| `image.tag` | NGINX image tag (immutable tags are recommended) | `1.23.1-debian-11-r8` |
| `image.digest` | NGINX image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
| `image.pullPolicy` | NGINX image pull policy | `IfNotPresent` |
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `image.debug` | Set to true if you would like to see extra information on logs | `false` |
| `hostAliases` | Deployment pod host aliases | `[]` |
| `command` | Override default container command (useful when using custom images) | `[]` |
| `args` | Override default container args (useful when using custom images) | `[]` |
| `extraEnvVars` | Extra environment variables to be set on NGINX containers | `[]` |
| `extraEnvVarsCM` | ConfigMap with extra environment variables | `""` |
| `extraEnvVarsSecret` | Secret with extra environment variables | `""` |
### NGINX deployment parameters
@@ -173,27 +174,28 @@ The command removes all the Kubernetes components associated with the chart and
### Custom NGINX application parameters
| Name | Description | Value |
| ------------------------------------------ | ------------------------------------------------------------------------------------------------- | ---------------------- |
| `cloneStaticSiteFromGit.enabled` | Get the server static content from a Git repository | `false` |
| `cloneStaticSiteFromGit.image.registry` | Git image registry | `docker.io` |
| `cloneStaticSiteFromGit.image.repository` | Git image repository | `bitnami/git` |
| `cloneStaticSiteFromGit.image.tag` | Git image tag (immutable tags are recommended) | `2.37.1-debian-11-r10` |
| `cloneStaticSiteFromGit.image.pullPolicy` | Git image pull policy | `IfNotPresent` |
| `cloneStaticSiteFromGit.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `cloneStaticSiteFromGit.repository` | Git Repository to clone static content from | `""` |
| `cloneStaticSiteFromGit.branch` | Git branch to checkout | `""` |
| `cloneStaticSiteFromGit.interval` | Interval for sidecar container pull from the Git repository | `60` |
| `cloneStaticSiteFromGit.gitClone.command` | Override default container command for git-clone-repository | `[]` |
| `cloneStaticSiteFromGit.gitClone.args` | Override default container args for git-clone-repository | `[]` |
| `cloneStaticSiteFromGit.gitSync.command` | Override default container command for git-repo-syncer | `[]` |
| `cloneStaticSiteFromGit.gitSync.args` | Override default container args for git-repo-syncer | `[]` |
| `cloneStaticSiteFromGit.extraEnvVars` | Additional environment variables to set for the in the containers that clone static site from git | `[]` |
| `cloneStaticSiteFromGit.extraVolumeMounts` | Add extra volume mounts for the Git containers | `[]` |
| `serverBlock` | Custom server block to be added to NGINX configuration | `""` |
| `existingServerBlockConfigmap` | ConfigMap with custom server block to be added to NGINX configuration | `""` |
| `staticSiteConfigmap` | Name of existing ConfigMap with the server static site content | `""` |
| `staticSitePVC` | Name of existing PVC with the server static site content | `""` |
| Name | Description | Value |
| ------------------------------------------ | --------------------------------------------------------------------------------------------------- | ---------------------- |
| `cloneStaticSiteFromGit.enabled` | Get the server static content from a Git repository | `false` |
| `cloneStaticSiteFromGit.image.registry` | Git image registry | `docker.io` |
| `cloneStaticSiteFromGit.image.repository` | Git image repository | `bitnami/git` |
| `cloneStaticSiteFromGit.image.tag` | Git image tag (immutable tags are recommended) | `2.37.1-debian-11-r10` |
| `cloneStaticSiteFromGit.image.digest` | Git image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
| `cloneStaticSiteFromGit.image.pullPolicy` | Git image pull policy | `IfNotPresent` |
| `cloneStaticSiteFromGit.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `cloneStaticSiteFromGit.repository` | Git Repository to clone static content from | `""` |
| `cloneStaticSiteFromGit.branch` | Git branch to checkout | `""` |
| `cloneStaticSiteFromGit.interval` | Interval for sidecar container pull from the Git repository | `60` |
| `cloneStaticSiteFromGit.gitClone.command` | Override default container command for git-clone-repository | `[]` |
| `cloneStaticSiteFromGit.gitClone.args` | Override default container args for git-clone-repository | `[]` |
| `cloneStaticSiteFromGit.gitSync.command` | Override default container command for git-repo-syncer | `[]` |
| `cloneStaticSiteFromGit.gitSync.args` | Override default container args for git-repo-syncer | `[]` |
| `cloneStaticSiteFromGit.extraEnvVars` | Additional environment variables to set for the in the containers that clone static site from git | `[]` |
| `cloneStaticSiteFromGit.extraVolumeMounts` | Add extra volume mounts for the Git containers | `[]` |
| `serverBlock` | Custom server block to be added to NGINX configuration | `""` |
| `existingServerBlockConfigmap` | ConfigMap with custom server block to be added to NGINX configuration | `""` |
| `staticSiteConfigmap` | Name of existing ConfigMap with the server static site content | `""` |
| `staticSitePVC` | Name of existing PVC with the server static site content | `""` |
### Traffic Exposure parameters
@@ -251,6 +253,7 @@ The command removes all the Kubernetes components associated with the chart and
| `metrics.image.registry` | NGINX Prometheus exporter image registry | `docker.io` |
| `metrics.image.repository` | NGINX Prometheus exporter image repository | `bitnami/nginx-exporter` |
| `metrics.image.tag` | NGINX Prometheus exporter image tag (immutable tags are recommended) | `0.10.0-debian-11-r24` |
| `metrics.image.digest` | NGINX Prometheus exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | `""` |
| `metrics.image.pullPolicy` | NGINX Prometheus exporter image pull policy | `IfNotPresent` |
| `metrics.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
| `metrics.podAnnotations` | Additional annotations for NGINX Prometheus exporter pod(s) | `{}` |
+6
View File
@@ -63,6 +63,7 @@ diagnosticMode:
## @param image.registry NGINX image registry
## @param image.repository NGINX image repository
## @param image.tag NGINX image tag (immutable tags are recommended)
## @param image.digest NGINX image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param image.pullPolicy NGINX image pull policy
## @param image.pullSecrets Specify docker-registry secret names as an array
## @param image.debug Set to true if you would like to see extra information on logs
@@ -71,6 +72,7 @@ image:
registry: docker.io
repository: bitnami/nginx
tag: 1.23.1-debian-11-r8
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -412,6 +414,7 @@ cloneStaticSiteFromGit:
## @param cloneStaticSiteFromGit.image.registry Git image registry
## @param cloneStaticSiteFromGit.image.repository Git image repository
## @param cloneStaticSiteFromGit.image.tag Git image tag (immutable tags are recommended)
## @param cloneStaticSiteFromGit.image.digest Git image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param cloneStaticSiteFromGit.image.pullPolicy Git image pull policy
## @param cloneStaticSiteFromGit.image.pullSecrets Specify docker-registry secret names as an array
##
@@ -419,6 +422,7 @@ cloneStaticSiteFromGit:
registry: docker.io
repository: bitnami/git
tag: 2.37.1-debian-11-r10
digest: ""
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -762,6 +766,7 @@ metrics:
## @param metrics.image.registry NGINX Prometheus exporter image registry
## @param metrics.image.repository NGINX Prometheus exporter image repository
## @param metrics.image.tag NGINX Prometheus exporter image tag (immutable tags are recommended)
## @param metrics.image.digest NGINX Prometheus exporter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag
## @param metrics.image.pullPolicy NGINX Prometheus exporter image pull policy
## @param metrics.image.pullSecrets Specify docker-registry secret names as an array
##
@@ -769,6 +774,7 @@ metrics:
registry: docker.io
repository: bitnami/nginx-exporter
tag: 0.10.0-debian-11-r24
digest: ""
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.