[bitnami/wildfly] fix: 🐛 🔒 Expose missing ports in deployment spec (#25140)

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-04-15 15:02:09 +02:00
committed by GitHub
parent b7c0bba2d5
commit 35897ea371
4 changed files with 10 additions and 3 deletions

View File

@@ -33,4 +33,4 @@ maintainers:
name: wildfly
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/wildfly
version: 19.0.0
version: 19.1.0

View File

@@ -213,7 +213,8 @@ As an alternative, use one of the preset configurations for pod affinity, pod an
| `resourcesPreset` | Set container resources according to one common preset (allowed values: none, nano, micro, small, medium, large, xlarge, 2xlarge). This is ignored if resources is set (resources is recommended for production). | `small` |
| `resources` | Set container requests and limits for different resources like CPU or memory (essential for production workloads) | `{}` |
| `containerPorts.http` | WildFly HTTP container port | `8080` |
| `containerPorts.mgmt` | WildFly HTTPS container port | `9990` |
| `containerPorts.https` | WildFly HTTPS container port | `8443` |
| `containerPorts.mgmt` | WildFly Management container port | `9990` |
| `extraContainerPorts` | Array with extra container ports to add to the WildFly container | `[]` |
| `podSecurityContext.enabled` | Enabled WildFly pods' Security Context | `true` |
| `podSecurityContext.fsGroupChangePolicy` | Set filesystem group change policy | `Always` |

View File

@@ -133,6 +133,8 @@ spec:
key: wildfly-password
- name: WILDFLY_HTTP_PORT_NUMBER
value: {{ .Values.containerPorts.http | quote }}
- name: WILDFLY_HTTPS_PORT_NUMBER
value: {{ .Values.containerPorts.https | quote }}
- name: WILDFLY_MANAGEMENT_PORT_NUMBER
value: {{ .Values.containerPorts.mgmt | quote }}
- name: WILDFLY_SERVER_LISTEN_ADDRESS
@@ -156,6 +158,8 @@ spec:
ports:
- name: http
containerPort: {{ .Values.containerPorts.http }}
- name: https
containerPort: {{ .Values.containerPorts.https }}
- name: mgmt
containerPort: {{ .Values.containerPorts.mgmt }}
{{- if .Values.extraContainerPorts }}

View File

@@ -265,10 +265,12 @@ resourcesPreset: "small"
resources: {}
## Container ports
## @param containerPorts.http WildFly HTTP container port
## @param containerPorts.mgmt WildFly HTTPS container port
## @param containerPorts.https WildFly HTTPS container port
## @param containerPorts.mgmt WildFly Management container port
##
containerPorts:
http: 8080
https: 8443
mgmt: 9990
## @param extraContainerPorts [array] Array with extra container ports to add to the WildFly container
## e.g: