mirror of
https://github.com/helm/charts.git
synced 2026-08-29 12:17:47 +00:00
[stable/kong] Integrated optional support for hostPort on admin, proxy and tls. (#11301)
* Integrated optional support for hostPort on admin, proxy and tls. Signed-off-by: Patrick Hütter <p.huetter@encircle360.com> * Chart version bump Signed-off-by: Patrick Hütter <p.huetter@encircle360.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
3b9ed5ea20
commit
02a24bb816
@@ -10,5 +10,5 @@ maintainers:
|
||||
name: kong
|
||||
sources:
|
||||
- https://github.com/Kong/kong
|
||||
version: 0.9.2
|
||||
version: 0.9.3
|
||||
appVersion: 1.0.2
|
||||
|
||||
@@ -51,7 +51,7 @@ and their default values.
|
||||
| Parameter | Description | Default |
|
||||
| ------------------------------ | -------------------------------------------------------------------------------- | ------------------- |
|
||||
| image.repository | Kong image | `kong` |
|
||||
| image.tag | Kong image version | `1.0.2` |
|
||||
| image.tag | Kong image version | `1.0.2` |
|
||||
| image.pullPolicy | Image pull policy | `IfNotPresent` |
|
||||
| image.pullSecrets | Image pull secrets | `null` |
|
||||
| replicaCount | Kong instance count | `1` |
|
||||
@@ -59,6 +59,7 @@ and their default values.
|
||||
| admin.servicePort | TCP port on which the Kong admin service is exposed | `8444` |
|
||||
| admin.containerPort | TCP port on which Kong app listens for admin traffic | `8444` |
|
||||
| admin.nodePort | Node port when service type is `NodePort` | |
|
||||
| admin.hostPort | Host port to use for admin traffic | |
|
||||
| admin.type | k8s service type, Options: NodePort, ClusterIP, LoadBalancer | `NodePort` |
|
||||
| admin.loadBalancerIP | Will reuse an existing ingress static IP for the admin service | `null` |
|
||||
| admin.loadBalancerSourceRanges | Limit admin access to CIDRs if set and service type is `LoadBalancer` | `[]` |
|
||||
@@ -67,14 +68,16 @@ and their default values.
|
||||
| admin.ingress.hosts | List of ingress hosts. | `[]` |
|
||||
| admin.ingress.path | Ingress path. | `/` |
|
||||
| admin.ingress.annotations | Ingress annotations. See documentation for your ingress controller for details | `{}` |
|
||||
| proxy.http.enabled | Enables http on the proxy | true |
|
||||
| proxy.http.enabled | Enables http on the proxy | true |
|
||||
| proxy.http.servicePort | Service port to use for http | 80 |
|
||||
| proxy.http.containerPort | Container port to use for http | 8000 |
|
||||
| proxy.http.nodePort | Node port to use for http | 32080 |
|
||||
| proxy.http.hostPort | Host port to use for http | |
|
||||
| proxy.tls.enabled | Enables TLS on the proxy | true |
|
||||
| proxy.tls.containerPort | Container port to use for TLS | 8443 |
|
||||
| proxy.tls.servicePort | Service port to use for TLS | 8443 |
|
||||
| proxy.tls.nodePort | Node port to use for TLS | 32443 |
|
||||
| proxy.tls.hostPort | Host port to use for TLS | |
|
||||
| proxy.type | k8s service type. Options: NodePort, ClusterIP, LoadBalancer | `NodePort` |
|
||||
| proxy.loadBalancerSourceRanges | Limit proxy access to CIDRs if set and service type is `LoadBalancer` | `[]` |
|
||||
| proxy.loadBalancerIP | To reuse an existing ingress static IP for the admin service | |
|
||||
|
||||
@@ -110,15 +110,24 @@ spec:
|
||||
ports:
|
||||
- name: admin
|
||||
containerPort: {{ .Values.admin.containerPort }}
|
||||
{{- if .Values.admin.hostPort }}
|
||||
hostPort: {{ .Values.admin.hostPort }}
|
||||
{{- end}}
|
||||
protocol: TCP
|
||||
{{- if .Values.proxy.http.enabled }}
|
||||
- name: proxy
|
||||
containerPort: {{ .Values.proxy.http.containerPort }}
|
||||
{{- if .Values.proxy.http.hostPort }}
|
||||
hostPort: {{ .Values.proxy.http.hostPort }}
|
||||
{{- end}}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
{{- if .Values.proxy.tls.enabled }}
|
||||
- name: proxy-tls
|
||||
containerPort: {{ .Values.proxy.tls.containerPort }}
|
||||
{{- if .Values.proxy.tls.hostPort }}
|
||||
hostPort: {{ .Values.proxy.tls.hostPort }}
|
||||
{{- end}}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
readinessProbe:
|
||||
|
||||
Reference in New Issue
Block a user