Update the monkeybox IP in aws

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

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