10 lines
295 B
Markdown
10 lines
295 B
Markdown
# Start Go Script to create new Config
|
|
|
|
```
|
|
export KUBERNETES_HOST="https://10.0.20.7:6443"
|
|
export KUBERNETES_TOKEN="eyJhbGciOi..."
|
|
export KUBERNETES_VERIFYSSL="false"
|
|
export HAPROXY_TEMPLATE="./haproxy.tmpl"
|
|
|
|
./haproxy-generator > /etc/haproxy/haproxy.cfg && sudo systemctl restart haproxy
|
|
```
|