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:
Ian Bone
2020-08-04 06:11:13 -04:00
committed by GitHub
parent 24374e1c29
commit 4b72f4dfba
4 changed files with 29 additions and 1 deletions

View File

@@ -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.