feat: add Redpanda and wp-deploy-coordinator to Legion

- Redpanda single-node StatefulSet in platform namespace
- wp-coordinator deployment consuming wp.deploy topic
- RBAC for coordinator to exec into harmonic-wordpress pods
- R2 credentials via ExternalSecret (no SSH key needed on coordinator)
- Sites config as ConfigMap — add new WP sites without code changes
This commit is contained in:
Will Anderson
2026-04-04 10:18:09 -05:00
parent 6a9db2094e
commit 82ed0eb10b
9 changed files with 309 additions and 0 deletions
@@ -0,0 +1,28 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: wp-coordinator-sites
namespace: platform
data:
sites.yaml: |
sites:
harmonic-wordpress:
namespace: harmonic-wordpress
wordpress_selector: app=wordpress
mysql_selector: app=mysql
mysql_db: wordpress
git_repo: https://git.neuralplatform.ai/harmonic-framework/harmonic-framework.com.git
themes_src_path: wp-content/themes
themes_dst_path: /var/www/html/wp-content/themes
dev_url: https://dev.harmonic-framework.com
smoke_test_url: https://dev.harmonic-framework.com
db_sources:
staging:
host: "159.65.222.142"
db_name: wordpress_hf_hf_staging
production:
host: "159.65.222.142"
db_name: wordpress_hf
url_map:
staging: https://staging.harmonic-framework.com
production: https://harmonic-framework.com