mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/ambassador] Support additional TCP ports in Ambassador (#15028)
* [stable/ambassador] Adding in additional TCP Port support for use with TCPMappings Signed-off-by: Matt Christiansen <mchristiansen@exabeam.com> * Changing version to minor version Signed-off-by: Matt Christiansen <mchristiansen@exabeam.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
47633a3d47
commit
c19be0a780
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 0.72.0
|
||||
description: A Helm chart for Datawire Ambassador
|
||||
name: ambassador
|
||||
version: 2.9.0
|
||||
version: 2.10.0
|
||||
icon: https://www.getambassador.io/images/logo.png
|
||||
home: https://www.getambassador.io/
|
||||
sources:
|
||||
|
||||
@@ -103,6 +103,7 @@ The following tables lists the configurable parameters of the Ambassador chart a
|
||||
| `autoscaling.minReplica` | If autoscaling enabled, this field sets minimum replica count | `2` |
|
||||
| `autoscaling.maxReplica` | If autoscaling enabled, this field sets maximum replica count | `5` |
|
||||
| `autoscaling.metrics` | If autoscaling enabled, configure hpa metrics | |
|
||||
| `additionalTCPPorts` | List of additional TCP ports to be exposed by the container and service | `[]` |
|
||||
|
||||
**NOTE:** Make sure the configured `service.http.targetPort` and `service.https.targetPort` ports match your [Ambassador Module's](https://www.getambassador.io/reference/modules/#the-ambassador-module) `service_port` and `redirect_cleartext_from` configurations.
|
||||
|
||||
|
||||
@@ -100,6 +100,11 @@ spec:
|
||||
{{- end }}
|
||||
- name: admin
|
||||
containerPort: 8877
|
||||
{{- range $key := .Values.additionalTCPPorts }}
|
||||
- name: "{{ $key }}-tcp"
|
||||
containerPort: {{ $key }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
env:
|
||||
- name: HOST_IP
|
||||
valueFrom:
|
||||
@@ -201,4 +206,3 @@ spec:
|
||||
{{- toYaml .Values.imagePullSecrets | nindent 8 }}
|
||||
dnsPolicy: {{ .Values.dnsPolicy }}
|
||||
hostNetwork: {{ .Values.hostNetwork }}
|
||||
|
||||
|
||||
@@ -38,6 +38,12 @@ spec:
|
||||
nodePort: {{ toYaml . }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- range $key := .Values.additionalTCPPorts }}
|
||||
- name: "{{ $key }}-tcp"
|
||||
port: {{ $key }}
|
||||
protocol: TCP
|
||||
targetPort: "{{ $key }}-tcp"
|
||||
{{- end }}
|
||||
selector:
|
||||
app.kubernetes.io/name: {{ include "ambassador.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
|
||||
@@ -109,6 +109,8 @@ serviceAccount:
|
||||
# If not set and create is true, a name is generated using the fullname template
|
||||
name:
|
||||
|
||||
additionalTCPPorts: []
|
||||
|
||||
initContainers: []
|
||||
|
||||
volumes: []
|
||||
|
||||
Reference in New Issue
Block a user