Skip to content

Commit

Permalink
Document rebind behavior
Browse files Browse the repository at this point in the history
Fixes #1187

Signed-off-by: Baiju Muthukadan <baiju.m.mail@gmail.com>
  • Loading branch information
baijum committed Aug 11, 2022
1 parent c233e02 commit 73c0ff4
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -142,3 +142,7 @@ Depending on your workload requirements and environment, you can choose to proje
====
By default, the projected files get their permissions set to 0644. {servicebinding-title} cannot set specific permissions due to https://github.com/kubernetes/kubernetes/issues/57923[a bug in Kubernetes] that causes issues if the service expects specific permissions such as, `0600`. As a workaround, you can modify the code of the program or the application that is running inside a workload resource to copy the file to the `/tmp` directory and set the appropriate permissions.
====

[#understanding-the-rebinding-behavior]
== Understanding the rebinding behavior
Consider a case where after a successful binding, you are using the `name` field to identify a workload. In such a case, if you delete an existing workload and recreate it, the projected binding data are lost. The `ServiceBinding` reconciler does not rebind the workload. However, if you use the label selector field to identify a workload, the `ServiceBinding` reconciler rebinds the workload, and the Operator projects the binding data.

0 comments on commit 73c0ff4

Please sign in to comment.