Uh oh!
There was an error while loading. Please reload this page.
Add minimal config & content - #1
Conversation
baijum
commented
Sep 10, 2021
The content is adopted from servicebinding/spec#175 |
960f6ca to
846f3c6Comparearthurdm
commented
Sep 20, 2021
thanks @baijum - could we replace the |
Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
a70d267 to
a4d6a27Comparebaijum
commented
Sep 20, 2021
Done. |
| You can install the latest version of Service Binding Controller with this command: | ||
| ``` | ||
| kubectl apply -f https://github.com/k8s-service-bindings/service-binding-controller/releases/latest/download/release.yaml | ||
| ``` | ||
| If you need a particular version, replace `<version>` in this command: | ||
| ``` | ||
| kubectl apply -f https://github.com/k8s-service-bindings/service-binding-controller/releases/download/<version>/release.yaml | ||
| ``` | ||
| These are the major resources that is getting created during the installation: | ||
| 1. A namespace with name as `service-binding-controller-system`. All the namespace scoped resources are created in this namespace. | ||
| 2. Two CRDs: `ClusterWorkloadResourceMapping` (cluster scoped), `ServiceBinding` (namespace scoped) | ||
| 3. ClusterRole: `service-binding-controller-manager-role-with-aggregation-rule` |
There was a problem hiding this comment.
let's remove this until these commands actually work
| ## Creating Provisioned Services | ||
| Coming soon. | ||
| ## Binding Workloads with Services | ||
| Coming soon. |
There was a problem hiding this comment.
remove. We can add these sections once we have content. Worth tracking in new issues.
Uh oh!
There was an error while loading. Please reload this page.
| For languages such as Go without operator overloading, separate functions can be used to retrieve bindings: | ||
| ``` | ||
| Bindings(_type string) []Binding | ||
| BindingsWithProvider(_type, provider string) []Binding | ||
| ``` | ||
| For languages such as Java with operator overloading, the same method name with different argument lists can be used to retrieve bindings: | ||
| ``` | ||
| public List<Binding> filterBindings(@Nullable String type) | ||
| public List<Binding> filterBindings(@Nullable String type, @Nullable String provider) | ||
| ``` | ||
| (Example taken from [Spring Cloud Bindings](https://github.com/spring-cloud/spring-cloud-bindings)) | ||
| The specification does not guarantee a single binding of a given type or type & provider tuple so the APIs return collections of bindings. Depending on your workload need, you can choose to connect to the first entry or all of them. |
There was a problem hiding this comment.
can we link out to specific libraries instead? The function signatures here don't help me know what I actually need to do as a workload developer.
There was a problem hiding this comment.
Now there are links to both Go and Java libraries.
Co-authored-by: Scott Andrews <scott@andrews.me> Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
ddb9d40 to
2af466cCompare
Signed-off-by: Baiju Muthukadan baiju.m.mail@gmail.com