Update the monkeybox IP in aws

Fred Damstra (Macbook 2015) a36dda9a27 Updated notes on creating kaniko-secrtet пре 2 година
.gitignore 0a6654fef2 Getting rid of password leak after changing password пре 2 година
Dockerfile 63eb48c937 Update to 0.2 for x64 build пре 2 година
Jenkinsfile 0a6654fef2 Getting rid of password leak after changing password пре 2 година
Jenkinsfile.withyaml.notworking 96abea5e00 Reverting jenkinsfile пре 2 година
LICENSE 163ed904b8 Initial commit пре 2 година
README.md 63eb48c937 Update to 0.2 for x64 build пре 2 година
k8s.update-route53.yaml 7ccecb3a6d Cron Enabled пре 2 година
kaniko-update-route53.yaml a36dda9a27 Updated notes on creating kaniko-secrtet пре 2 година
update-route53.sh 0d0728dd36 Fixed maybe пре 2 година

README.md

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