move toml to configmap
This commit is contained in:
@@ -19,13 +19,16 @@ spec:
|
||||
serviceAccountName: traefik-external
|
||||
terminationGracePeriodSeconds: 60
|
||||
containers:
|
||||
- image: hub.ducoterra.net/ducoterra/traefik:v1.7_2
|
||||
- image: traefik:v1.7
|
||||
name: traefik-external
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 9080
|
||||
- name: https
|
||||
containerPort: 9443
|
||||
volumeMounts:
|
||||
- mountPath: /config-files
|
||||
name: traefik-config
|
||||
resources:
|
||||
limits:
|
||||
memory: "2Gi"
|
||||
@@ -37,6 +40,8 @@ spec:
|
||||
- --api
|
||||
- --kubernetes
|
||||
- --logLevel=INFO
|
||||
- --defaultentrypoints=http,https
|
||||
- --entrypoints=Name:https Address::9443 TLS
|
||||
- --entrypoints=Name:http Address::9080
|
||||
- --configFile=/config-files/traefik.toml
|
||||
volumes:
|
||||
- name: traefik-config
|
||||
configMap:
|
||||
name: traefik-external
|
||||
Reference in New Issue
Block a user