Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Secure Traefik Dashboard #42

Open
aklinker1 opened this issue Jul 4, 2022 · 0 comments
Open

Secure Traefik Dashboard #42

aklinker1 opened this issue Jul 4, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@aklinker1
Copy link
Owner

aklinker1 commented Jul 4, 2022

Right now, we're passing --api.insecure=true to allow access to the traefik dashboard on port 8080, but that allows everyone access to the dashboard. Lets add additional configuration to the Traefik Plugin's config, so that we can enable the secure dashboard with basic auth:

type TraefikConfig struct {
	EnableHttps       bool   `mapstructure:"enableHttps"`
	CertEmail         string `mapstructure:"certEmail"`
	CertsDir          string `mapstructure:"dataDir"`
+	SecureDashboard   bool   `mapstructure:"secureDashboard"`
+	DashboardRoute    string `mapstructure:"dashboardRoute"`
+	DashboardUsername string `mapstructure:"dashboardUsername"`
+	DashboardHtPasswd string `mapstructure:"dashboardHtPasswd"`
}
@aklinker1 aklinker1 added the enhancement New feature or request label Jul 4, 2022
@aklinker1 aklinker1 assigned aklinker1 and unassigned aklinker1 Jul 4, 2022
@aklinker1 aklinker1 added this to the Cloud Support milestone Sep 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant