-
Notifications
You must be signed in to change notification settings - Fork 84
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
Do not use FromContextOrDefaults()
in translateIngress()
#968
Comments
@nak3 do you know why we generate an initial envoy snapshot when the controller is constructed, instead just doing that on the first reconcile event? Is that so envoy can start? |
Sorry, I am not familiar with it but I think it was implemented as there is an issue that controller sends an incomplete configuration to an already running gateway container as per the following PRs. |
This issue is stale because it has been open for 90 days with no |
/remove-lifecycle stale |
Currently, there are some places use
FromContextOrDefaults()
intranslateIngress()
function such as:https://github.com/knative-sandbox/net-kourier/blob/649db2781d60dd6a5580806194b3df5378118ed9/pkg/generator/ingress_translator.go#L195
https://github.com/knative-sandbox/net-kourier/blob/649db2781d60dd6a5580806194b3df5378118ed9/pkg/generator/ingress_translator.go#L268
FromContextOrDefaults()
returns the default value inconfig-network
so controller temporarily creates a envoy configuration with unexpected configuration.For example,
internal-encryption
is disabled by default so it creates envoy configuration withoutinternal-encryption
even if users enabled.The text was updated successfully, but these errors were encountered: