mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
bitnami/wildfly: Add support for sidecars (#3312)
* bitnami/wildfly: Add support for sidecars * Bump minor version after rebase Co-authored-by: Ian Bone <ian.bone@external.milliporesigma.com> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
@@ -95,6 +95,7 @@ The following tables lists the configurable parameters of the WildFly chart and
|
||||
| `extraEnvVars` | Extra Environment Variables | `nil` |
|
||||
| `extraEnvVarsCM` | Extra Environment Variables ConfigMap | `nil` |
|
||||
| `extraEnvVarsSecret` | Extra Environment Variables Secret | `nil` |
|
||||
| `sidecars` | Sidecar images to add to the pod. Evaluated as a template. | `[]` |
|
||||
|
||||
The above parameters map to the env variables defined in [bitnami/wildfly](http://github.com/bitnami/bitnami-docker-wildfly). For more information please refer to the [bitnami/wildfly](http://github.com/bitnami/bitnami-docker-wildfly) image documentation.
|
||||
|
||||
@@ -124,6 +125,19 @@ It is strongly recommended to use immutable tags in a production environment. Th
|
||||
|
||||
Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.
|
||||
|
||||
### Sidecars
|
||||
If you have a need for additional containers to run within the same pod as Wildfly (e.g. an additional metrics or logging exporter), you can do so via the sidecars config parameter. Simply define your container according to the Kubernetes container spec.
|
||||
|
||||
```
|
||||
sidecars:
|
||||
- name: your-image-name
|
||||
image: your-image
|
||||
imagePullPolicy: Always
|
||||
ports:
|
||||
- name: portname
|
||||
containerPort: 1234
|
||||
```
|
||||
|
||||
## Persistence
|
||||
|
||||
The [Bitnami WildFly](https://github.com/bitnami/bitnami-docker-wildfly) image stores the WildFly data and configurations at the `/bitnami/wildfly` path of the container.
|
||||
|
||||
Reference in New Issue
Block a user