mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/traefik] Add ability to enable hostPort setup (#3129)
* Add ability to enable hostPort setup * Bump chart version to 1.15.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: traefik
|
||||
version: 1.14.5
|
||||
version: 1.15.0
|
||||
appVersion: 1.4.5
|
||||
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
|
||||
keywords:
|
||||
|
||||
@@ -134,6 +134,9 @@ The following tables lists the configurable parameters of the Traefik chart and
|
||||
| `metrics.statsd.enabled` | Whether to enable pushing metrics to Statsd. | `false` |
|
||||
| `metrics.statsd.address` | Statsd host in the format <hostname>:<port> | `localhost:8125` |
|
||||
| `metrics.statsd.pushInterval` | How often to push metrics to Statsd. | `10s` |
|
||||
| `deployment.hostPort.httpEnabled` | Whether to enable hostPort binding to host for http. | `false` |
|
||||
| `deployment.hostPort.httpsEnabled` | Whether to enable hostPort binding to host for https. | `false` |
|
||||
| `deployment.hostPort.dashboardEnabled` | Whether to enable hostPort binding to host for dashboard. | `false` |
|
||||
|
||||
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example:
|
||||
|
||||
|
||||
@@ -74,16 +74,25 @@ spec:
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
||||
{{- if .Values.deployment.hostPort.httpEnabled }}
|
||||
hostPort: 80
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
- name: httpn
|
||||
containerPort: 8880
|
||||
protocol: TCP
|
||||
- name: https
|
||||
containerPort: 443
|
||||
{{- if .Values.deployment.hostPort.httpsEnabled }}
|
||||
hostPort: 443
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
{{- if .Values.dashboard.enabled }}
|
||||
- name: dash
|
||||
containerPort: 8080
|
||||
{{- if .Values.deployment.hostPort.dashboardEnabled }}
|
||||
hostPort: 8080
|
||||
{{- end }}
|
||||
protocol: TCP
|
||||
{{- end }}
|
||||
args:
|
||||
|
||||
@@ -100,3 +100,8 @@ metrics:
|
||||
enabled: false
|
||||
# address: "localhost:8125"
|
||||
# pushInterval: 30s
|
||||
deployment:
|
||||
hostPort:
|
||||
httpEnabled: false
|
||||
httpsEnabled: false
|
||||
dashboardEnabled: false
|
||||
|
||||
Reference in New Issue
Block a user