mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[bitnami/phpmyadmin] Add support for overriding service.targetPort in phpMyAdmin chart (#34508)
* Add support for overriding service.targetPort in phpMyAdmin chart Signed-off-by: teanth98 <teanth98@gmail.com> * update readme target port description Signed-off-by: teanth98 <teanth98@gmail.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> * Update CHANGELOG.md Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> --------- Signed-off-by: teanth98 <teanth98@gmail.com> Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com> Signed-off-by: Gonzalo Gómez Gracia <gongomgra@users.noreply.github.com> Co-authored-by: Bitnami Bot <bitnami.bot@broadcom.com> Co-authored-by: Gonzalo Gómez Gracia <gongomgra@users.noreply.github.com>
This commit is contained in:
co-authored by
Bitnami Bot
Gonzalo Gómez Gracia
parent
9d2bf91457
commit
a898cf9611
@@ -1,8 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 18.1.12 (2025-06-19)
|
||||
## 18.1.13 (2025-06-23)
|
||||
|
||||
* [bitnami/phpmyadmin] :zap: :arrow_up: Update dependency references ([#34558](https://github.com/bitnami/charts/pull/34558))
|
||||
* [bitnami/phpmyadmin] Add support for overriding service.targetPort in phpMyAdmin chart ([#34508](https://github.com/bitnami/charts/pull/34508))
|
||||
|
||||
## <small>18.1.12 (2025-06-19)</small>
|
||||
|
||||
* [bitnami/phpmyadmin] :zap: :arrow_up: Update dependency references (#34558) ([23f28cf](https://github.com/bitnami/charts/commit/23f28cfe23f6feedee3bb7edb8dd5505b3b3bfe8)), closes [#34558](https://github.com/bitnami/charts/issues/34558)
|
||||
|
||||
## <small>18.1.11 (2025-06-13)</small>
|
||||
|
||||
|
||||
@@ -39,4 +39,4 @@ maintainers:
|
||||
name: phpmyadmin
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/phpmyadmin
|
||||
version: 18.1.12
|
||||
version: 18.1.13
|
||||
|
||||
@@ -299,6 +299,8 @@ As an alternative, you can use of the preset configurations for pod affinity, po
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.ports.http` | Service HTTP port | `80` |
|
||||
| `service.ports.https` | Service HTTPS port | `443` |
|
||||
| `service.targetPorts.http` | Service HTTP port | `8080` |
|
||||
| `service.targetPorts.https` | Service HTTPS port | `8443` |
|
||||
| `service.nodePorts.http` | Kubernetes http node port | `""` |
|
||||
| `service.nodePorts.https` | Kubernetes https node port | `""` |
|
||||
| `service.clusterIP` | PhpMyAdmin service clusterIP IP | `""` |
|
||||
|
||||
@@ -37,7 +37,7 @@ spec:
|
||||
- name: http
|
||||
port: {{ coalesce .Values.service.ports.http .Values.service.port }}
|
||||
protocol: TCP
|
||||
targetPort: http
|
||||
targetPort: {{ .Values.service.targetPorts.http | default "http" }}
|
||||
{{- if (and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.http))) }}
|
||||
nodePort: {{ .Values.service.nodePorts.http }}
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
@@ -46,7 +46,7 @@ spec:
|
||||
- name: https
|
||||
port: {{ coalesce .Values.service.ports.https .Values.service.httpsPort }}
|
||||
protocol: TCP
|
||||
targetPort: https
|
||||
targetPort: {{ .Values.service.targetPorts.https | default "https" }}
|
||||
{{- if (and (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) (not (empty .Values.service.nodePorts.https))) }}
|
||||
nodePort: {{ .Values.service.nodePorts.https }}
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
|
||||
@@ -389,6 +389,12 @@ service:
|
||||
ports:
|
||||
http: 80
|
||||
https: 443
|
||||
## @param service.targetPorts.http Service HTTP port
|
||||
## @param service.targetPorts.https Service HTTPS port
|
||||
##
|
||||
targetPorts:
|
||||
http: 8080
|
||||
https: 8443
|
||||
## Specify the nodePort values for the LoadBalancer and NodePort service types
|
||||
## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
|
||||
## @param service.nodePorts.http Kubernetes http node port
|
||||
|
||||
Reference in New Issue
Block a user