-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Allow custom handling of config-default. #8683
Comments
The simplest fix for this is just to make these flags. Any objections? |
I didn't quite follow why such an operator wouldn't want to apply those customisations to their config-defaults configmap directly? |
Ah, there's a quirk in our current platform where we don't have the ability to set a value and allow it to be trivially user controlled in a configmap. Thus, we need the 'value not present' default to match our desired system default. |
That seems to be counter-intuitive regarding the reason to have config-default in the first place IMO. We'd have a hard time explaining why we have both flags AND a config map expressing essentially the very same thing. |
I think what Jon's driving at is that there's a nuanced distinction between the cluster operator and the platform provider, and the configmap is generally targeting the former, but the latter may want to adjust things themselves. Flags is one way of doing this, another would be to change these to |
Have to admit, I'm struggling to see the use case where you're willing to pass different flags (so modify images/yaml), but can't use |
This issue is stale because it has been open for 90 days with no |
Describe the feature
As a platform operator, I would like to change the behavior of my flavor of Knative such that the 'default default' (or the behavior of config-default when a key is not present, defined here:
serving/pkg/apis/config/defaults.go
Line 46 in ac91f26
This would be useful for platform operators which are specializing, and may want to as an example enforce very short or very long deadlines by default.
The text was updated successfully, but these errors were encountered: