move toml to configmap
This commit is contained in:
20
k8s/configmap.yaml
Normal file
20
k8s/configmap.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: traefik-external
|
||||
namespace: kube-system
|
||||
data:
|
||||
traefik.toml: |
|
||||
# traefik.toml
|
||||
[kubernetes]
|
||||
labelselector = "external"
|
||||
ingressClass = "traefik-external"
|
||||
defaultEntryPoints = ["http","https"]
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":9080"
|
||||
[entryPoints.http.redirect]
|
||||
entryPoint = "https"
|
||||
[entryPoints.https]
|
||||
address = ":9443"
|
||||
[entryPoints.https.tls]
|
||||
Reference in New Issue
Block a user