-
Story
-
Resolution: Obsolete
-
Undefined
-
None
-
None
Based on discussion in the bug triage on May 19, `bindAsFiles` will not be removed for now. Spec doesn't provide a way to inject all service credentials as env vars.
By default, all secret data should be injected as files.
In the current implementation`bindAsFiles: true` is set by default by the operator or explicitly by the user to inject data as files.
This story expects removal of `bindAsFiles` field.
Are dependencies identified?
No dependencies.
Are blockers noted?
1. [TODO] Discussion - On removing `bindAsFiles` flag, all the secret data will be injected as files. To inject the data as environment variables, user will have to set `spec.env` field. This story is captured here.
What is the expected delivery timeline?
GA
Is design implementable?
1. Remove `bindAsFiles` from the `ServiceBindingSpec` field.
2. Remove relevant code related to `bindAsFiles`.
3. Update User doc and examples.
What is the acceptance criteria?
- The existing scenarios in this feature will test the scenario.
- Remove `bindAsFiles` field from existing acceptance tests.
Is the story (roughly) estimated?
5