add middleware

This commit is contained in:
ducoterra
2020-05-10 10:07:28 -04:00
parent 525bd04e72
commit 728bc4baaa
3 changed files with 19 additions and 1 deletions

View File

@@ -33,4 +33,6 @@ spec:
## Create a name.com secret for traefik to use:
kubectl create secret generic namedotcom -n kube-system --from-literal=NAMECOM_USERNAME= --from-literal-NAMECOM_API_TOKEN= --from-literal=NAMECOM_SERVER=api.name.com
export USERNAME=
export TOKEN=
kubectl create secret generic namedotcom -n kube-system --from-literal=NAMECOM_USERNAME=$USERNAME --from-literal=NAMECOM_API_TOKEN=$TOKEN --from-literal=NAMECOM_SERVER=api.name.com