Commit Graph

2192 Commits

Author SHA1 Message Date
Joey Hafner
492fa394d6
Rename filter scripts 2024-08-15 15:46:57 -07:00
Joey Hafner
75b065de25
#3 Debug: Remove checking for count of arguments 2024-08-15 15:17:31 -07:00
Joey Hafner
601a9706f6
Delete unused dungeon-master files 2024-08-15 15:14:07 -07:00
Joey Hafner
205ab38149
#3 Set up scripts to encrypt/decrypt in place 2024-08-15 15:13:41 -07:00
Joey Hafner
c5231f1311
#5 Init Terraform Cloudflare DNS IaC
- Import existing records via cf-terraforming utility
- Rename resources to human-readable names
- Move aws and cloudflare terraform roots to their own directories
2024-08-15 15:04:13 -07:00
Joey Hafner
f99e1266ba
Move gitignore to homelab directory 2024-08-15 11:57:13 -07:00
Joey Hafner
172fab21f0
#4 Disable traefik debug logging 2024-08-15 11:56:19 -07:00
Joey Hafner
1b00de1c9d
#4 Remove quotes from token value 2024-08-15 11:47:31 -07:00
Joey Hafner
5aabb51cb5
#4 Add debug logging
Switch back to just one token with both Zone/DNS/Edit and Zone/Zone/Read permissions for 'All zones from account'
2024-08-15 11:34:15 -07:00
Joey Hafner
a21aedd233
#4 Enable debug logs for traefik to better diagnose issue getting certs via dnsChallenge 2024-08-15 11:25:31 -07:00
Joey Hafner
03878b77ef
#4 Add cloudflare zone read token 2024-08-15 11:03:59 -07:00
Joey Hafner
ec6f552a53
#4 Add nginx container at test.nginx.jafner.net to test DNS challenge 2024-08-15 10:24:17 -07:00
Joey Hafner
322a79c2f5
#2 Remove unused lines 2024-08-14 14:30:09 -07:00
Joey Hafner
676da8dca3
#2 Move age files to homelab/.sops/
Separate "authors" keys and "deploy" keys.
Add features to setup, encrypt, and decrypt scripts:
- Validate input arguments
- Set age keyfile and recipients dynamically at runtime
2024-08-14 14:26:52 -07:00
Joey Hafner
383b8b3351
#3 Switch send to dns01 challenge certresolver 2024-08-14 14:10:49 -07:00
Joey Hafner
1bcc37f70d
#3 Configure lets-encrypt-dns01 certresolver with its own acme.json storage 2024-08-14 14:10:17 -07:00
Joey Hafner
756225c680
#2 Switch postgress back to password from password file 2024-08-14 00:15:41 -07:00
Joey Hafner
228b3768cd
#2 Fix typo: extra underscore 2024-08-14 00:10:32 -07:00
Joey Hafner
b2028a5ad0
#2 Re-encrypt keycloak secrets with fighter's pubkey added to map 2024-08-14 00:05:58 -07:00
Joey Hafner
9ca38bd52c
#2 Replace Docker secrets with encrypted secrets.env file
Add encrypt and decrypt scripts
Add pubkeys file with desktop and fighter pubkeys
2024-08-13 23:34:15 -07:00
Joey Hafner
8729e02a23
Switch postgres to native password file, remove entrypoint injection 2024-08-13 15:52:02 -07:00
Joey Hafner
c4cc18835f
Resolve "/bin/sh: 1: source: not found" 2024-08-13 15:39:52 -07:00
Joey Hafner
8efd7c42a8
Simplify entrypoint 2024-08-13 15:38:57 -07:00
Joey Hafner
1f5801d31f
Correct entrypoint script name (this is going to be a pain) 2024-08-13 15:32:17 -07:00
Joey Hafner
aa0fe3365d
Experimental implementation of entrypoint injection to export secrets to env vars 2024-08-13 15:29:04 -07:00
Joey Hafner
f838aa199f
Remove deprecated HOSTNAME_URL option 2024-08-13 11:37:33 -07:00
Joey Hafner
d6682073d8
Update keycloak proxy configuration per upgrading guide.
https://www.keycloak.org/server/reverseproxy
https://www.keycloak.org/docs/latest/upgrading/index.html#deprecated-proxy-option
2024-08-13 11:27:01 -07:00
Joey Hafner
037ce905d0
#2 Fix typo in secret filename 2024-08-13 11:15:13 -07:00
Joey Hafner
e6158be743
#2 Remove leftover env_file block for forwardauth 2024-08-13 11:12:38 -07:00
Joey Hafner
623470803b
Move manifests to old/ and init Terraform configuration for silver-hand 2024-08-12 16:41:28 -07:00
Joey Hafner
b01948219f
Init Traefik certresolver for dns01 challenges 2024-08-12 16:40:17 -07:00
Joey Hafner
3b2c9039c5
#2 Refactor Keycloak secret configuration 2024-08-12 16:39:28 -07:00
Joey Hafner
526fee4792
Init dungeon-master traefik instance for testing nested Traefik reverse proxies. 2024-08-12 16:38:24 -07:00
Joey Hafner
33f3aae920
Remove error-inducing map argument 2024-08-12 16:37:08 -07:00
Joey Hafner
10e1fb2d74
Init passthrough router from fighter to dungeon-master 2024-08-12 13:08:28 -07:00
Joey Hafner
184013dde1
Fix accidental quotes 2024-08-09 16:28:11 -07:00
Joey Hafner
34fdb75fb7
Fix regexps for router rules 2024-08-09 16:27:25 -07:00
Joey Hafner
180a4bd14a
Add additional router for silver-hand
Per: https://community.traefik.io/t/run-traefik-behind-traefik-reverse-proxy/4044/6
2024-08-09 16:22:19 -07:00
Joey Hafner
e45dfd64e8
Switch TCP router to point to TLS port 2024-08-09 15:57:08 -07:00
Joey Hafner
e1f79bcaa8
Configure fighter traefik instance to pass through requests for *.jafner.dev to the k3s cluster 2024-08-09 15:55:24 -07:00
Joey Hafner
557be69e3f
Fix erroneous protocol prefix 2024-08-08 12:25:36 -07:00
Joey Hafner
c13727ce56
Init Traefik TCP router for passing *.k3s.jafner.net and k3s.jafner.net through to cluster ingress controller 2024-08-08 12:24:28 -07:00
Joey Hafner
40073ff951
Set artifact download path explicitly
Throw in a diagnostic `ls -R`
2024-08-08 10:38:21 -07:00
Joey Hafner
39976b58b5
Add generated files to artifact for use between jobs 2024-08-08 10:31:36 -07:00
Joey Hafner
a18cfab6ce
Add Action to push Jafner.dev generated files to S3 bucket 2024-08-08 10:17:11 -07:00
Joey Hafner
cfbb22bed0
Document update process for Wizard 2024-08-07 16:23:47 -07:00
Joey Hafner
4a6f6c3d79
Init k3s cluster with Terraform-provisioned AWS S3 bucket for Jafner.dev
- Add Terraform statefiles to gitignore
    - Add *.secret.yml to gitignore for k8s secrets manifests
- Init the "sellswords" directory for Terraform code interacting with public cloud providers.
    - Provision S3 bucket "Jafner-dev" to store static site files.
    - Describe CORS and access policies to apply to the bucket.
    - Throw in a budget to prevent nasty surprises.
- Init "silver-hand" directory for Kubernetes manifests to be used with the local K3s cluster.
    - Datashim manifest to facilitate abstracted interaction with S3 bucket.
    - Kubernetes-dashboard to visualize cluster state.
    - Jafner-dev to serve contents of S3 bucket.
2024-08-07 16:23:20 -07:00
Joey Hafner
1cd03c6320
Remove 'version' top-level compose element 2024-07-22 10:36:52 -07:00
Joey Hafner
b28498c945
Archive nginx, unused 2024-07-22 10:36:12 -07:00
Joey Hafner
5c6abd693a
Archive megan-portfolio, unused 2024-07-22 10:35:51 -07:00