mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/traefik] dashboard serviceType (#10788)
* added dashboard.serviceType value to be able to deploy to GKE Signed-off-by: Ole Rößner <o.roessner@neusta.de> * added dashboard.serviceType value to be able to deploy to GKE Signed-off-by: Ole Rößner <o.roessner@neusta.de> * added dashboard.serviceType value to be able to deploy to GKE Signed-off-by: Ole Rößner <o.roessner@neusta.de> * removed executable flag from yaml files Signed-off-by: Matyas Somfai <somfai.matyas@gmail.com> * added a default value for dashboard.serviceType; modified the service to use a named port; fixed a link in the readme Signed-off-by: Matyas Somfai <somfai.matyas@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
10ddb0c607
commit
0488c623ee
Executable → Regular
+1
-1
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: traefik
|
||||
version: 1.59.1
|
||||
version: 1.59.2
|
||||
appVersion: 1.7.7
|
||||
description: A Traefik based Kubernetes ingress controller with Let's Encrypt support
|
||||
keywords:
|
||||
|
||||
@@ -161,6 +161,7 @@ The following table lists the configurable parameters of the Traefik chart and t
|
||||
| `kvprovider.etcd.useAPIV3` | Use V3 or use V2 API of ETCD | `false` |
|
||||
| `dashboard.enabled` | Whether to enable the Traefik dashboard | `false` |
|
||||
| `dashboard.domain` | Domain for the Traefik dashboard | `traefik.example.com` |
|
||||
| `dashboard.serviceType` | ServiceType for the Traefik dashboard Service | `ClusterIP` |
|
||||
| `dashboard.service.annotations` | Annotations for the Traefik dashboard Service definition, specified as a map | None |
|
||||
| `dashboard.ingress.annotations` | Annotations for the Traefik dashboard Ingress definition, specified as a map | None |
|
||||
| `dashboard.ingress.labels` | Labels for the Traefik dashboard Ingress definition, specified as a map | None |
|
||||
@@ -287,7 +288,7 @@ Then you are good to migrate your old certs into the kvprovider and run traefik
|
||||
|
||||
### Dashboard Basic Auth
|
||||
|
||||
[Basic auth](https://docs.traefik.io/toml/#api-backend) can be specified via `dashboard.auth.basic` as a map of usernames to passwords as below.
|
||||
[Basic auth](https://docs.traefik.io/configuration/entrypoints/#authentication) can be specified via `dashboard.auth.basic` as a map of usernames to passwords as below.
|
||||
See the linked Traefik documentation for accepted passwords encodings.
|
||||
It is advised to single quote passwords to avoid issues with special characters:
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ spec:
|
||||
paths:
|
||||
- backend:
|
||||
serviceName: {{ template "traefik.fullname" . }}-dashboard
|
||||
servicePort: 80
|
||||
servicePort: dashboard-http
|
||||
{{- if .Values.dashboard.ingress.tls }}
|
||||
tls:
|
||||
{{ toYaml .Values.dashboard.ingress.tls | indent 4 }}
|
||||
|
||||
@@ -15,10 +15,12 @@ metadata:
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
spec:
|
||||
type: {{ .Values.dashboard.serviceType | default ("ClusterIP") }}
|
||||
selector:
|
||||
app: {{ template "traefik.name" . }}
|
||||
release: {{ .Release.Name }}
|
||||
ports:
|
||||
- port: 80
|
||||
- name: dashboard-http
|
||||
port: 80
|
||||
targetPort: 8080
|
||||
{{- end }}
|
||||
|
||||
Executable → Regular
+1
@@ -271,6 +271,7 @@ acme:
|
||||
dashboard:
|
||||
enabled: false
|
||||
domain: traefik.example.com
|
||||
# serviceType: ClusterIP
|
||||
service: {}
|
||||
# annotations:
|
||||
# key: value
|
||||
|
||||
Reference in New Issue
Block a user