Skip to content

GCS Enabled: Project.YAML over ENV correct?

I'm getting an error for GCS despite disabling GCS in the ENV vars. In my opinion ENV Vars take precedence over project.yaml settings.

The code below shows how project.yaml gets precedence over the env var, so env var is useless? Is this intentional?

https://ci.tno.nl/gitlab/T4SMM/T4SMM/-/blame/feature/784-add-helm-chart/backend/src/bootstrap/googleCloudStorage.php?ref_type=heads#L29

If not intentional, let's switch the order, first check project settings then env var.