Update the monkeybox IP in aws
|
2 years ago | |
---|---|---|
.gitignore | 2 years ago | |
Dockerfile | 2 years ago | |
Jenkinsfile | 2 years ago | |
Jenkinsfile.withyaml.notworking | 2 years ago | |
LICENSE | 2 years ago | |
README.md | 2 years ago | |
k8s.update-route53.yaml | 2 years ago | |
kaniko-update-route53.yaml | 2 years ago | |
update-route53.sh | 2 years ago |
Update the monkeybox IP in aws
This is used to store the last IP and the log
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
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