Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make fastly and cloudflare clients lazy loaded to support symfony secrets #609

Merged
merged 1 commit into from Dec 19, 2023

Conversation

dbu
Copy link
Contributor

@dbu dbu commented Dec 19, 2023

author DemigodCode info@bl-websolutions.de 1702912036 +0100
committer David Buchmann david.buchmann@liip.ch 1702989567 +0100

If one wants to use secrets as parameters for fastly or cloudflare, the compiling of the container will fail. After compiling the container the termination event will cause this error cause it's not necessary to have the decrypt key available when compiling the container and the service can't be initialized.

This fix creates the services as lazy services which will not make the options necessary on compile time of the container.

…rets

author DemigodCode <info@bl-websolutions.de> 1702912036 +0100
committer David Buchmann <david.buchmann@liip.ch> 1702989567 +0100

If one wants to use secrets as parameters for fastly or cloudflare, the compiling of the container will fail.
After compiling the container the termination event will cause this error cause it's not necessary to have the decrypt key available when compiling the container and the service can't be initialized.

This fix creates the services as lazy services which will not make the options necessary on compile time of the container.
@dbu dbu merged commit 0deeee9 into 3.x Dec 19, 2023
13 checks passed
@dbu dbu deleted the fastly-cloudflare-lazy branch December 19, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants