Commit Graph

19 Commits

Author SHA1 Message Date
KevinMidboe 11ceb88f1b Make sure that what we are comparing is acutal IP structure 2024-02-11 23:49:27 +01:00
KevinMidboe 776881775b Only update when changed is True 2024-02-11 15:56:48 +01:00
KevinMidboe cdfb4aef5f Send SMS to notify when IP cycles 2024-02-11 12:46:59 +01:00
KevinMidboe fde88fd655 Updated CI kubernetes deploy environment perperation 2024-02-11 11:18:13 +01:00
KevinMidboe a9957a43b8 Feat: Hydrate application environment variables from local vault (#3)
* Hydrate kubernetes secret w/ secrets from local vault

* Fix CI sourcing of env var file

* Compact and reduce output

* Make sure secret is defined before cronjob

* Create ghcr-login-secret from env variable injected from vault

* Import ghcr-login-secret namespace from NAMESPACE

* Export env variables for debugging

* Prepend export keyword to variables file

* Remove debug output
2024-02-10 14:33:45 +01:00
KevinMidboe c67f9b3079 Run cronjob every 10th minute & succesful job history set to 10 2024-01-13 23:06:24 +01:00
KevinMidboe ba0882518e Renamed cronjob config file 2024-01-13 22:54:52 +01:00
KevinMidboe 24446a26fd Hydrate pod virtual env from secret-env-values 2024-01-13 22:48:52 +01:00
KevinMidboe 07ddf43bae Cronjob should live in cloudflare-ddns namespace 2024-01-13 02:25:07 +01:00
KevinMidboe 46c6acc0ce Define cronjob 2024-01-13 02:04:25 +01:00
KevinMidboe a39a63d1d2 Don't copy .env file into docker container 2024-01-13 02:02:35 +01:00
KevinMidboe 95b04ccd72 Updated Dockerfile COPY statements 2024-01-13 01:58:16 +01:00
KevinMidboe 87e067c853 Kubernetes namespace & cronjob 2024-01-13 01:56:01 +01:00
KevinMidboe e1489deef8 Added logger and replaced print statements 2024-01-13 01:55:24 +01:00
KevinMidboe e6cfbc6783 Drone CI configuration file 2024-01-13 01:53:39 +01:00
KevinMidboe b90e663ff9 Update README.md 2024-01-12 23:30:53 +01:00
KevinMidboe d4a57e3385 Dockerfile to install dependencies & execute check & action 2024-01-12 16:53:55 +01:00
KevinMidboe ffa4ab949b WIP for checking public ip against known CF A record value 2024-01-12 16:53:33 +01:00
KevinMidboe 50220f83a6 Ignore .env file & python cache dir 2024-01-12 16:52:51 +01:00