feat!(config): update env vars being passed in - #24
Conversation
…ks/curator-helm into curator-config-overhaul
Fixes several bugs that would break existing sites or the migration target: FILESYSTEM_DRIVER/FILESYSTEM_DISK/MEMCACHED_HOST/PORT renamed to match what config/*.php actually reads on InterWorks/Curator#1098, CACHE_HOST/CACHE_PORT restored as always-emitted so zero-touch upgrades keep working, database.php DB_CONNECTION/DB_USERNAME key mismatches, mail/powerbi secretKeyRef double-nesting and copy-paste bugs (POWER_BI_TENANT was emitting MAIL_FROM_NAME), and a template parse error from unbalanced and(...) calls. Adds AWS_ACCESS_KEY_ID/ AWS_SECRET_ACCESS_KEY support to persistence.s3 for sites that need explicit credentials rather than IRSA/instance-role auth. Adds a helm-unittest suite (tests/env.yaml) asserting the zero-touch upgrade contract, the S3-enabled path, and explicit overrides.
# Conflicts: # charts/curator/README.md # charts/curator/templates/_env.tpl # charts/curator/values.yaml
Adds Helm values/env vars for app.php, cache.php, cms.php, database.php, filesystems.php, logging.php, mail.php, powerbi.php, and session.php, matching the env var names and defaults on InterWorks/Curator#1098 so existing sites upgrade with no values.yaml changes required. Existing hardcoded defaults (memcached host/port, local vs s3 disk) are preserved via Helm defaults rather than PHP-side fallbacks, since the prefix/cache defaults changed between the two PRs. Adds optional AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY secretKeyRef support to persistence.s3 for sites that need explicit credentials rather than IRSA/instance-role auth, and a curator.database.host override wired into curatorDbEndpoint and the two job templates that hardcode the -primary suffix. Adds a helm-unittest suite (tests/env_test.yaml) covering the zero-touch upgrade contract, the S3-enabled path, and explicit per-config overrides.
7d23f66 to
17c125c
Compare
…ks/curator-helm into curator-config-overhaul
|
I rendered this branch against the chart's own What
|
This majorly overhauls what environment variables are being passed in so that we can better align with the default config files that are present in the curator codebase