mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 14:57:08 +08:00
[bitnami/*] add ingress extraRules feature (#10253)
* Add extraRules to ingress objects Signed-off-by: Fran Mulero <fmulero@vmware.com> * Execute readme generator Signed-off-by: Fran Mulero <fmulero@vmware.com> * Version bump Signed-off-by: Fran Mulero <fmulero@vmware.com>
This commit is contained in:
@@ -29,4 +29,4 @@ name: opencart
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-opencart
|
||||
- https://opencart.com/
|
||||
version: 12.1.1
|
||||
version: 12.2.0
|
||||
|
||||
@@ -82,7 +82,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| --------------------------------------- | ----------------------------------------------------------------------------------------- | ------------------------ |
|
||||
| `image.registry` | OpenCart image registry | `docker.io` |
|
||||
| `image.repository` | OpenCart image repository | `bitnami/opencart` |
|
||||
| `image.tag` | OpenCart image tag (immutable tags are recommended) | `3.0.3-8-debian-10-r224` |
|
||||
| `image.tag` | OpenCart image tag (immutable tags are recommended) | `3.0.3-8-debian-10-r246` |
|
||||
| `image.pullPolicy` | OpenCart image pull policy | `IfNotPresent` |
|
||||
| `image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `image.debug` | Specify if debug logs should be enabled | `false` |
|
||||
@@ -194,6 +194,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `ingress.extraTls` | The tls configuration for additional hostnames to be covered with this ingress record. | `[]` |
|
||||
| `ingress.secrets` | If you're providing your own certificates, please use this to add the certificates as secrets | `[]` |
|
||||
| `ingress.ingressClassName` | IngressClass that will be be used to implement the Ingress (Kubernetes 1.18+) | `""` |
|
||||
| `ingress.extraRules` | Additional rules to be covered with this ingress record | `[]` |
|
||||
|
||||
|
||||
### Database parameters
|
||||
@@ -227,7 +228,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `volumePermissions.enabled` | Enable init container that changes volume permissions in the data directory (for cases where the default k8s `runAsUser` and `fsUser` values do not work) | `false` |
|
||||
| `volumePermissions.image.registry` | Init container volume-permissions image registry | `docker.io` |
|
||||
| `volumePermissions.image.repository` | Init container volume-permissions image repository | `bitnami/bitnami-shell` |
|
||||
| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `10-debian-10-r403` |
|
||||
| `volumePermissions.image.tag` | Init container volume-permissions image tag (immutable tags are recommended) | `10-debian-10-r425` |
|
||||
| `volumePermissions.image.pullPolicy` | Init container volume-permissions image pull policy | `IfNotPresent` |
|
||||
| `volumePermissions.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `volumePermissions.resources.limits` | The resources limits for the container | `{}` |
|
||||
@@ -241,7 +242,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `metrics.enabled` | Start a side-car prometheus exporter | `false` |
|
||||
| `metrics.image.registry` | Apache exporter image registry | `docker.io` |
|
||||
| `metrics.image.repository` | Apache exporter image repository | `bitnami/apache-exporter` |
|
||||
| `metrics.image.tag` | Apache exporter image tag (immutable tags are recommended) | `0.11.0-debian-10-r122` |
|
||||
| `metrics.image.tag` | Apache exporter image tag (immutable tags are recommended) | `0.11.0-debian-10-r144` |
|
||||
| `metrics.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `metrics.image.pullSecrets` | Specify docker-registry secret names as an array | `[]` |
|
||||
| `metrics.resources` | Metrics exporter resource requests and limits | `{}` |
|
||||
@@ -266,7 +267,7 @@ The command removes all the Kubernetes components associated with the chart and
|
||||
| `certificates.extraEnvVarsSecret` | Secret with extra environment variables | `""` |
|
||||
| `certificates.image.registry` | Container sidecar registry | `docker.io` |
|
||||
| `certificates.image.repository` | Container sidecar image repository | `bitnami/bitnami-shell` |
|
||||
| `certificates.image.tag` | Container sidecar image tag (immutable tags are recommended) | `10-debian-10-r403` |
|
||||
| `certificates.image.tag` | Container sidecar image tag (immutable tags are recommended) | `10-debian-10-r425` |
|
||||
| `certificates.image.pullPolicy` | Container sidecar image pull policy | `IfNotPresent` |
|
||||
| `certificates.image.pullSecrets` | Container sidecar image pull secrets | `[]` |
|
||||
|
||||
|
||||
@@ -46,6 +46,9 @@ spec:
|
||||
{{- end }}
|
||||
backend: {{- include "common.ingress.backend" (dict "serviceName" (include "common.names.fullname" $) "servicePort" "http" "context" $) | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingress.extraRules }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.ingress.extraRules "context" $) | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- if or .Values.ingress.tls .Values.ingress.extraTls }}
|
||||
tls:
|
||||
{{- if .Values.ingress.tls }}
|
||||
|
||||
@@ -510,6 +510,20 @@ ingress:
|
||||
## ref: https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/
|
||||
##
|
||||
ingressClassName: ""
|
||||
## @param ingress.extraRules Additional rules to be covered with this ingress record
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/ingress/#ingress-rules
|
||||
## e.g:
|
||||
## extraRules:
|
||||
## - host: opencart.local
|
||||
## http:
|
||||
## path: /
|
||||
## backend:
|
||||
## service:
|
||||
## name: opencart-svc
|
||||
## port:
|
||||
## name: http
|
||||
##
|
||||
extraRules: []
|
||||
|
||||
## @section Database parameters
|
||||
|
||||
|
||||
Reference in New Issue
Block a user