move resources inside template

This commit is contained in:
ducoterra
2021-01-26 09:01:20 -05:00
parent 09c05c356e
commit a61b4933a9
3 changed files with 14 additions and 4 deletions

View File

@@ -2,6 +2,16 @@
## Holy crap this is hard ## Holy crap this is hard
## Installing
```bash
export SERVER=
helm template traefik ./helm --values values.yaml | cat - > ~/Infrastructure/$SERVER-traefik.yaml
cat ~/Infrastructure/$SERVER-traefik.yaml | ssh $SERVER "kubectl apply -f -"
```
## Docs ## Docs
Configuration Examples: <https://docs.traefik.io/routing/providers/kubernetes-ingress/> Configuration Examples: <https://docs.traefik.io/routing/providers/kubernetes-ingress/>

View File

@@ -13,11 +13,11 @@ middleware:
config: config:
ingressclass: traefik ingressclass: traefik
http_port: 9080 http_port: 80
https_port: 9443 https_port: 443
admin_port: 8080 admin_port: 8080
# statsd reporting # statsd reporting
statsd_endpoint: graphite.ducoterra.net:8125 # statsd_endpoint: graphite.ducoterra.net:8125
acme_email: ducoterra@icloud.com acme_email: ducoterra@icloud.com
# zipkin tracing # zipkin tracing
tracing_endpoint: http://zipkin:9411/api/v2/spans # tracing_endpoint: http://zipkin:9411/api/v2/spans