Update the monkeybox IP in aws

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

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