README.md 665 B

update_route53

Update the monkeybox IP in aws

Mount a volume to /scratch

This is used to store the last IP and the log

Create a set of environment variable secrets

kubectl create secret generic aws-creds \
  --from-literal=AWS_ACCESS_KEY_ID=BLAH \
  --from-literal=AWS_SECRET_ACCESS_KEY=BLAH
kubectl create secret generic update-route53 \
  --from-literal=ZONEID=A1B2C3D4 \
  --from-literal=RECORDSET=host.example.com

you must set the following env variables

ZONEID - Hosted Zone ID e.g. BJBK35SKMM9OE

RECORDSET - The CNAME you want to update e.g. hello.example.com

AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY AWS_DEFAULT_REGION